ports/117678: [MAINTAINER] print/fontforge: Mark as BROKEN on amd64 with Python enabled

Naram Qashat cyberbotx at cyberbotx.com
Tue Oct 30 14:00:03 UTC 2007


>Number:         117678
>Category:       ports
>Synopsis:       [MAINTAINER] print/fontforge: Mark as BROKEN on amd64 with Python enabled
>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 Oct 30 14:00:02 UTC 2007
>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 WITHOUT_PYTHON knob
- Mark port as BROKEN when Python is enabled on amd64 arch
- Slight cleanup in Makefile

Generated with FreeBSD Port Tools 0.77
>How-To-Repeat:
>Fix:

--- fontforge-20071002_1.patch begins here ---
diff -ruN --exclude=CVS /usr/ports/print/fontforge/Makefile /kirby/shared/ports/fontforge/Makefile
--- /usr/ports/print/fontforge/Makefile	Sun Oct 28 09:37:33 2007
+++ /kirby/shared/ports/fontforge/Makefile	Tue Oct 30 09:19:22 2007
@@ -7,6 +7,7 @@
 
 PORTNAME=	fontforge
 PORTVERSION=	20071002
+PORTREVISION=	1
 CATEGORIES=	print
 MASTER_SITES=	SF
 DISTFILES=	${EXTRACT_ONLY} ${DOCFILES}
@@ -41,14 +42,17 @@
 PATCH_STRIP=	-l
 
 CONFIGURE_TARGET=	--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
+
 .if !defined(FONTFORGE_NO_MULTILAYER)
 WITH_MULTILAYER=	--with-multilayer
 .endif
+
 .if !defined(WITHOUT_TTF_BYTECODE_ENABLED) && defined(FONTFORGE_WITH_TTF_DEBUGGER)
 WITH_FREETYPE_SRC=	--with-freetype-src=${WRKDIR}/freetype-${FREETYPE_VERSION}
 .else
 WITH_FREETYPE_SRC=	--without-freetype-src
 .endif
+
 CONFIGURE_ARGS=	${WITH_MULTILAYER} --with-devicetables ${WITH_FREETYPE_SRC}
 CONFIGURE_ENV=	LDFLAGS="-L${LOCALBASE}/lib" CFLAGS="${CFLAGS} \
 		-I${LOCALBASE}/include -I${LOCALBASE}/include/freetype2" \
@@ -67,6 +71,10 @@
 PLIST_SUB+=	NO_PLUGINS=""
 .endif
 
+.if defined(WITHOUT_PYTHON)
+CONFIGURE_ARGS+=	--without-python
+.endif
+
 pre-everything::
 .if !defined(WITHOUT_TTF_BYTECODE_ENABLED) && !defined(FONTFORGE_WITH_TTF_DEBUGGER)
 	@${ECHO_MSG} "If you have built freetype2 port with bytecode interpreter enabled,"
@@ -110,4 +118,10 @@
 	${INSTALL_DATA} ${WRKDIR}/html/flags/*.* ${DOCSDIR}/flags
 .endif
 
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${ARCH} == "amd64" && !defined(WITHOUT_PYTHON)
+BROKEN=	Does not link with Python on amd64
+.endif
+
+.include <bsd.port.post.mk>
--- fontforge-20071002_1.patch ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list