graphics/cairo libtool problem on 4.X
Joseph Koshy
joseph.koshy at gmail.com
Fri Jul 14 09:32:45 UTC 2006
The problem is that graphics/cairo installs a ".la" file
with the following dependency line:
$ uname -a
FreeBSD orthanc 4.11-STABLE FreeBSD 4.11-STABLE #2: Wed Oct \
5 06:05:52 IST 2005 \
root at orthanc:/home/obj-stable/usr/src/sys/ORTHANC i386
$ grep dependency ${PREFIX}/lib/libcairo.la
dependency_libs=' -pthread -L/usr/X11R6/lib -lXrender -lXext \
-lX11 -L/usr/local/lib -lpng /usr/X11R6/lib/libfontconfig.la \
/usr/local/lib/libexpat.la /usr/local/lib/libfreetype.la -lz \
-lm'
Note the '-pthread' right in front.
This causes the build of DrScheme to fail under 4.X. Drscheme
comes with its own libtool script.
$ ...
/home/ports/lang/drscheme/work/plt/src/lt/libtool --mode=link \
c++ -rpath /home/tmp/local/lib -L/usr/X11R6/lib -o mred \
mrmain.lo ../mzscheme/libmzscheme.la ../mzscheme/libmzgc.la \
libmred.la -lSM -lICE -lXaw -lXmu -lXt -lX11 -lXext -lGL \
-lXrender -Wl,--rpath -Wl,/usr/local/lib -L/usr/X11R6/lib \
-L/usr/local/lib -lXft -lfreetype -lz -lXrender -lXext -lX11 \
-lfontconfig -L/usr/local/lib -lcairo -lm -rdynamic
libtool: link: cannot find the library `'
Looking inside the script, it appears to be treating '-pthread'
to be a library name and failing.
Is there a work-around for this?
--
FreeBSD Volunteer, http://people.freebsd.org/~jkoshy/
More information about the freebsd-gnome
mailing list