ports/73758: logjam port does not link

Alfred Perlstein alfred at FreeBSD.org
Sun Mar 27 12:13:30 UTC 2005


Synopsis: logjam port does not link

State-Changed-From-To: closed->open
State-Changed-By: alfred
State-Changed-When: Sun Mar 27 12:12:06 GMT 2005
State-Changed-Why: 
This is still broken for me:

cc -DLOCALEDIR=\"/usr/X11R6/share/locale\" -DPIXMAPDIR=\"/usr/X11R6/share/gnome/
pixmaps\" -I/usr/X11R6/include -I/usr/X11R6/include/xmms -I/usr/X11R6/include/gt
k12 -I/usr/local/include/glib12 -I/usr/local/include -I/usr/X11R6/include -O2 -f
no-strict-aliasing -pipe -o logjam-xmms-client logjam-xmms-client.o -Wl,-E  -L/u
sr/X11R6/lib -lgtk12 -lgdk12 -L/usr/local/lib -lgmodule12 -lglib12 -lintl -lXi -
lXext -lX11 -lm -lxmms
/usr/local/lib/libgthread12.so.3: undefined reference to `pthread_cond_timedwait
'
collect2: ld returned 1 exit status
gmake[3]: *** [logjam-xmms-client] Error 1
gmake[3]: Leaving directory `/vol/share/ports/deskutils/logjam/work/logjam-4.4.0
/util/xmmsclient'
gmake[2]: *** [all-recursive] Error 1
gmake[2]: Leaving directory `/vol/share/ports/deskutils/logjam/work/logjam-4.4.0
/util'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/vol/share/ports/deskutils/logjam/work/logjam-4.4.0
'
gmake: *** [all] Error 2
*** Error code 2

Stop in /vol/share/ports/deskutils/logjam.
** Command failed [exit code 1]: /usr/bin/script -qa /tmp/portupgrade13601.8 mak
e
** Fix the problem and try again.

This seems to fix it:


Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/deskutils/logjam/Makefile,v
retrieving revision 1.14
diff -u -r1.14 Makefile
--- Makefile	12 Mar 2005 10:52:35 -0000	1.14
+++ Makefile	27 Mar 2005 12:07:01 -0000
@@ -33,7 +33,7 @@
 USE_GNOME=	gnomehack gnomeprefix gtk20 libxml2 intlhack
 CONFIGURE_ARGS=	--program-transform-name="s/$$//"
 CONFIGURE_ENV=	CPPFLAGS="-I${LOCALBASE}/include" \
-		LIBS="-L${LOCALBASE}/lib"
+		LIBS="-L${LOCALBASE}/lib ${PTHREAD_LIBS}"
 
 .ifndef(WITHOUT_GTKSPELL)
 LIB_DEPENDS+=		gtkspell.0:${PORTSDIR}/textproc/gtkspell2

http://www.freebsd.org/cgi/query-pr.cgi?pr=73758



More information about the freebsd-ports-bugs mailing list