ports/119900: [MAINTAINER] print/fontforge: Correct build problem with lack of -lpthread

Naram Qashat cyberbotx at cyberbotx.com
Tue Jan 22 15:20:03 UTC 2008


>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:



More information about the freebsd-ports-bugs mailing list