Date: Sun, 16 Jan 2000 14:07:38 -0800 From: Jeremy Lea <reg@FreeBSD.ORG> To: OKAZAKI Tetsurou <okazaki@be.to> Cc: freebsd-ports@FreeBSD.ORG Subject: Re: ports/15936: new port: devel/libgii Message-ID: <20000116140737.B10368@shale.csir.co.za> In-Reply-To: <200001151540.HAA32907@freefall.freebsd.org>; from okazaki@be.to on Sat, Jan 15, 2000 at 07:40:02AM -0800 References: <200001151540.HAA32907@freefall.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
Hi, On Sat, Jan 15, 2000 at 07:40:02AM -0800, OKAZAKI Tetsurou wrote: > +# NOTE: We can not define USE_LIBTOOL for this port to build. > +#USE_LIBTOOL= yes Please try the following patch to /usr/ports/devel/libtool. The error message from libtool makes no sense, and things seem to work without this. I'll commit it if you give a thumbs up. Index: patches/patch-ad =================================================================== RCS file: /usr/home/ncvs/ports/devel/libtool/patches/patch-ad,v retrieving revision 1.6 diff -u -r1.6 patch-ad --- patches/patch-ad 1999/09/20 08:40:55 1.6 +++ patches/patch-ad 2000/01/16 01:16:10 @@ -50,6 +50,19 @@ ;; *.lo) +@@ -1597,12 +1606,6 @@ + exit 1 + fi + +- # How the heck are we supposed to write a wrapper for a shared library? +- if test -n "$link_against_libtool_libs"; then +- $echo "$modename: error: cannot link shared libraries into libtool libraries" 1>&2 +- exit 1 +- fi +- + if test -n "$dlfiles$dlprefiles" || test "$dlself" != no; then + $echo "$modename: warning: \`-dlopen' is ignored for libtool libraries" 1>&2 + fi @@ -1789,6 +1798,9 @@ *-*-cygwin* | *-*-mingw* | *-*-os2* | *-*-beos*) # these systems don't actually have a c library (as such)! > +CFLAGS+= -pthread Try these two patches to the distribution rather (and feed them back to the author): --- configure.orig Sat Jan 15 17:12:52 2000 +++ configure Sat Jan 15 17:13:25 2000 @@ -3062,7 +3062,7 @@ echo "$ac_t""no" 1>&6 echo $ac_n "checking for pthread_mutex_init in -lc_r""... $ac_c" 1>&6 echo "configure:3065: checking for pthread_mutex_init in -lc_r" >&5 - LIBS="$TMP_SAVE_LIBS -lc_r" + LIBS="$TMP_SAVE_LIBS -pthread" if test "$cross_compiling" = yes; then echo "$ac_t""no" 1>&6 mutextype=int @@ -3085,7 +3085,7 @@ echo "$ac_t""yes" 1>&6 if test "$mutextype" != "dynpthread"; then mutextype=pthread - GGDLLIBS="$GGDLLIBS -lc_r" + GGDLLIBS="$GGDLLIBS -pthread" fi else --- demos/Makefile.in.orig Sat Jan 15 17:22:05 2000 +++ demos/Makefile.in Sat Jan 15 17:22:27 2000 @@ -98,7 +98,7 @@ INCLUDES = -I${top_srcdir}/include -I${top_builddir}/include -I${top_builddir} ${extra_includes} ${X_CFLAGS} -LIBGII = -L${top_builddir}/gg/.libs ${top_builddir}/gii/libgii.la +LIBGII = ${GGDLLIBS} -L${top_builddir}/gg/.libs ${top_builddir}/gii/libgii.la demo_LDADD = ${LIBGII} filter_LDADD = ${LIBGII} mhub_LDADD = ${LIBGII} Regards, -Jeremy -- FreeBSD - Because the best things in life are free... http://www.freebsd.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000116140737.B10368>