On Sat, 26 Mar 2011, Martin Dietze wrote:

Hi guys,

admitting that I have not tracked success of my auto builds
too much recently I just took a look at yesterday's build log
and found the following:

=====================================================================

libtool: link: (cd ".libs" && rm -f "libwraster.so.3" && ln -s "libwraster.so.3.1.0" 
"libwraster.so.3")
libtool: link: (cd ".libs" && rm -f "libwraster.so" && ln -s "libwraster.so.3.1.0" 
"libwraster.so")
libtool: link: ar cru .libs/libwraster.a  raster.o draw.o color.o load.o save.o 
gradient.o xpixmap.o convert.o context.o misc.o scale.o rotate.o convolve.o 
nxpm.o xpm.o xutil.o ppm.o png.o jpeg.o tiff.o gif.o
libtool: link: ranlib .libs/libwraster.a
libtool: link: ( cd ".libs" && rm -f "libwraster.la" && ln -s "../libwraster.la" 
"libwraster.la" )
Generating get-wraster-flags
/bin/bash: get-wraster-flags.in: No such file or directory

=====================================================================

Sorry I can't be of much more help now, has anyone got an
idea or even better a fix for this?


Hello,

Sorry, it was my fault.


From 38299d4e1a54094ecf4b8789be790264f4546e78 Mon Sep 17 00:00:00 2001
From: Ambrus Szabo <[email protected]>
Date: Sat, 26 Mar 2011 22:02:06 +0100
Subject: [PATCH] Fix makefiles bug.

FreeBSD make vs gmake
in FreeBSD: $(dir $<@) => ''
in gmake: $(dir $<@) => './'
---
 WINGs/Makefile.am |    4 ++--
 wrlib/Makefile.am |    2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/WINGs/Makefile.am b/WINGs/Makefile.am
index 9d6fa91..f04bac0 100644
--- a/WINGs/Makefile.am
+++ b/WINGs/Makefile.am
@@ -108,13 +108,13 @@ get-wings-flags: get-wings-flags.in Makefile
                -e 's#$${GFXLIBS}#$(GFXLIBS)#;' \
                -e 's#$${XFTLIBS}#$(XFTLIBS)#;' \
                -e 's#$${INTLIBS}#$(INTLIBS)#;' \
-               -e 's#$${XLIBS}#$(XLIBS)#;' < get-wings-flags.in > $@
+               -e 's#$${XLIBS}#$(XLIBS)#;' < $(dir $<@)get-wings-flags.in > $@
        @chmod 755 $@
 
 get-wutil-flags: get-wutil-flags.in Makefile
        @echo "Generating $@"
        @$(SED) -e 's#$${includedir}#$(includedir)#;' \
                -e 's#$${libdir}#$(libdir)#;' \
-               -e 's#$${INTLIBS}#$(INTLIBS)#;' < get-wutil-flags.in > $@
+               -e 's#$${INTLIBS}#$(INTLIBS)#;' < $(dir $<@)get-wutil-flags.in 
> $@
        @chmod 755 $@
 
diff --git a/wrlib/Makefile.am b/wrlib/Makefile.am
index 659a9f2..6c6de3d 100644
--- a/wrlib/Makefile.am
+++ b/wrlib/Makefile.am
@@ -68,6 +68,6 @@ get-wraster-flags: get-wraster-flags.in Makefile
        @$(SED) -e 's#$${inc_search_path}#$(inc_search_path)#;' \
                -e 's#$${lib_search_path}#$(lib_search_path)#;' \
                -e 's#$${GFXLIBS}#$(GFXLIBS)#;' \
-               -e 's#$${XLIBS}#$(XLIBS)#;' < get-wraster-flags.in > $@
+               -e 's#$${XLIBS}#$(XLIBS)#;' < $(dir $<@)get-wraster-flags.in > 
$@
        @chmod 755 $@
 
-- 
1.7.2.5

Reply via email to