ports/119612: [MAINTAINER] print/fontforge: Add libspiro support & correct configure args
Naram Qashat
cyberbotx at cyberbotx.com
Sun Jan 13 01:30:01 UTC 2008
>Number: 119612
>Category: ports
>Synopsis: [MAINTAINER] print/fontforge: Add libspiro support & correct configure args
>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: Sun Jan 13 01:30: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 support for libspiro (handles using clothoid splines as opposed to
bezier splines)
- Correct configure args to be correct, were using with/without instead of
enable/disable
Generated with FreeBSD Port Tools 0.77
>How-To-Repeat:
>Fix:
--- fontforge-20080109_1.patch begins here ---
diff -ruN --exclude=CVS /usr/ports/print/fontforge/Makefile /kirby/shared/ports/fontforge/Makefile
--- /usr/ports/print/fontforge/Makefile Fri Jan 11 01:32:39 2008
+++ /kirby/shared/ports/fontforge/Makefile Fri Jan 11 01:34:47 2008
@@ -7,6 +7,7 @@
PORTNAME= fontforge
PORTVERSION= 20080109
+PORTREVISION= 1
CATEGORIES= print
MASTER_SITES= SF
DISTFILES= ${EXTRACT_ONLY} ${DOCFILES}
@@ -21,7 +22,8 @@
png.5:${PORTSDIR}/graphics/png \
ungif.5:${PORTSDIR}/graphics/libungif \
freetype.9:${PORTSDIR}/print/freetype2 \
- xml2.5:${PORTSDIR}/textproc/libxml2
+ xml2.5:${PORTSDIR}/textproc/libxml2 \
+ spiro.0:${PORTSDIR}/graphics/libspiro
.if defined(FONTFORGE_WITH_TTF_DEBUGGER)
FREETYPE_VERSION= 2.3.5
@@ -41,16 +43,18 @@
PATCH_STRIP= -l
.if !defined(FONTFORGE_NO_MULTILAYER)
-WITH_MULTILAYER= --with-multilayer
+WITH_MULTILAYER= --enable-multilayer
+.else
+WITH_MULTILAYER= --disable-multilayer
.endif
.if !defined(WITHOUT_TTF_BYTECODE_ENABLED) && defined(FONTFORGE_WITH_TTF_DEBUGGER)
-WITH_FREETYPE_SRC= --with-freetype-src=${WRKDIR}/freetype-${FREETYPE_VERSION}
+WITH_FREETYPE_SRC= --with-freetype-bytecode --with-freetype-src=${WRKDIR}/freetype-${FREETYPE_VERSION}
.else
-WITH_FREETYPE_SRC= --without-freetype-src
+WITH_FREETYPE_SRC= --without-freetype-bytecode --without-freetype-src
.endif
-CONFIGURE_ARGS= ${WITH_MULTILAYER} --with-devicetables ${WITH_FREETYPE_SRC}
+CONFIGURE_ARGS= ${WITH_MULTILAYER} --enable-devicetables ${WITH_FREETYPE_SRC}
CONFIGURE_ENV= LDFLAGS="-L${LOCALBASE}/lib -lutil" CFLAGS="${CFLAGS} \
-I${LOCALBASE}/include -I${LOCALBASE}/include/freetype2" \
CPPFLAGS="-I${LOCALBASE}/include -I${LOCALBASE}/include/freetype2"
@@ -72,6 +76,7 @@
USE_PYTHON= yes
ONLY_FOR_ARCHS= i386
ONLY_FOR_ARCHS_REASON= Python on non-i386 systems doesn't link with Fontforge (issues with use of Python's .a file)
+CONFIGURE_ARGS+= --with-python
.else
CONFIGURE_ARGS+= --without-python
.endif
--- fontforge-20080109_1.patch ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list