gcalctool build fails (at least on -STABLE)

Joe Marcus Clarke marcus at marcuscom.com
Thu Sep 11 00:52:06 PDT 2003


On Thu, 2003-09-11 at 03:31, Sergey Akifyev wrote:
> 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.

Should be fixed, thanks!

Joe

> 
> [ 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
> +
-- 
PGP Key : http://www.marcuscom.com/pgp.asc


-------------- 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/7449a220/attachment.bin


More information about the freebsd-gnome mailing list