Date: Tue, 22 Jan 2008 10:11:58 -0500 (EST) From: Naram Qashat <cyberbotx@cyberbotx.com> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/119900: [MAINTAINER] print/fontforge: Correct build problem with lack of -lpthread Message-ID: <20080122151158.D7347C145@kirby.cyberbotx.com> Resent-Message-ID: <200801221520.m0MFK1Kd004947@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 119900 >Category: ports >Synopsis: [MAINTAINER] print/fontforge: Correct build problem with lack of -lpthread >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: maintainer-update >Submitter-Id: current-users >Arrival-Date: Tue Jan 22 15:20:01 UTC 2008 >Closed-Date: >Last-Modified: >Originator: Naram Qashat >Release: FreeBSD 6.2-RELEASE-p8 i386 >Organization: >Environment: System: FreeBSD kirby.cyberbotx.com 6.2-RELEASE-p8 FreeBSD 6.2-RELEASE-p8 #12: Sun Oct 14 16:14:35 EDT 2007 >Description: - Add -lpthread to LDFLAGS in CONFIGURE_ENV. This was reported to me by a user, I found the problem only came up when Python was enabled, but looking at fontforge's configure script, it seems it only checked for pthread if you tell it to build with the freetype2 bytecode interpreter, so I decided it would be better to just force -lpthread to be used by the linker instead. Generated with FreeBSD Port Tools 0.77 >How-To-Repeat: >Fix: --- fontforge-20080109_2.patch begins here --- diff -ruN --exclude=CVS /usr/ports/print/fontforge/Makefile /kirby/shared/ports/fontforge/Makefile --- /usr/ports/print/fontforge/Makefile Sun Jan 13 17:27:34 2008 +++ /kirby/shared/ports/fontforge/Makefile Tue Jan 22 09:58:13 2008 @@ -7,7 +7,7 @@ PORTNAME= fontforge PORTVERSION= 20080109 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= print MASTER_SITES= SF DISTFILES= ${EXTRACT_ONLY} ${DOCFILES} @@ -55,7 +55,7 @@ .endif CONFIGURE_ARGS= ${WITH_MULTILAYER} --enable-devicetables ${WITH_FREETYPE_SRC} -CONFIGURE_ENV= LDFLAGS="-L${LOCALBASE}/lib -lutil" CFLAGS="${CFLAGS} \ +CONFIGURE_ENV= LDFLAGS="-L${LOCALBASE}/lib -lutil -lpthread" CFLAGS="${CFLAGS} \ -I${LOCALBASE}/include -I${LOCALBASE}/include/freetype2" \ CPPFLAGS="-I${LOCALBASE}/include -I${LOCALBASE}/include/freetype2" --- fontforge-20080109_2.patch ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080122151158.D7347C145>