gcalctool build fails (at least on -STABLE)

Sergey Akifyev asa at gascom.ru
Thu Sep 11 00:31:36 PDT 2003


Hello!

gcalctool fails on -STABLE, becaus of it's libtool trashes -pthread
flag. The included fix makes it use freebsd libtool. Please, review how
this works for -CURRENT.

[ Including attachment inline ]
diff -ruN gcalctool.orig/Makefile gcalctool/Makefile
--- gcalctool.orig/Makefile Thu Sep 11 09:34:12 2003
+++ gcalctool/Makefile  Thu Sep 11 11:23:57 2003
@@ -23,6 +23,7 @@
 USE_GNOME= gnomeprefix gnomehack libgnomeui
 CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
        LDFLAGS="-L${LOCALBASE}/lib"
+MAKE_ENV=  LIBTOOL_FREEBSD="${LIBTOOL}"
                                                                                                                             
 post-patch:
    @${FIND} ${WRKSRC} -name "*.[ch]" | ${XARGS} ${REINPLACE_CMD} -e \
diff -ruN gcalctool.orig/files/patch-configure
gcalctool/files/patch-configure
--- gcalctool.orig/files/patch-configure    Thu Jan  1 03:00:00 1970
+++ gcalctool/files/patch-configure Thu Sep 11 11:24:12 2003
@@ -0,0 +1,11 @@
+--- configure.orig Thu Sep 11 11:19:23 2003
++++ configure  Thu Sep 11 11:20:33 2003
+@@ -10127,7 +10127,7 @@
+ LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh"
+
+ # Always use our own libtool.
+-LIBTOOL='$(SHELL) $(top_builddir)/libtool'
++LIBTOOL='$(SHELL) $(LIBTOOL_FREEBSD)'
+
+ # Prevent multiple expansion
+

-- 
regards,
Sergey Akifyev <asa at gascom.ru>
JSC Gascom <http://www.gascom.ru>
PGP key available from:
ftp://ftp.gascom.ru/pub/PGP-keys/asa.txt
-------------- next part --------------
A non-text attachment was scrubbed...
Name: gcalctool.diff
Type: text/x-patch
Size: 980 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-gnome/attachments/20030911/3aa957fe/gcalctool.bin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: This is a digitally signed message part
Url : http://lists.freebsd.org/pipermail/freebsd-gnome/attachments/20030911/3aa957fe/attachment.bin


More information about the freebsd-gnome mailing list