Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 26 Feb 2004 23:01:53 +0200 (EET)
From:      Toni Viemero <toni.viemero@iki.fi>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        ale@FreeBSD.org
Subject:   ports/63410: Add WITH_T1LIB to lang/php4 for PostScript Type-1 font support
Message-ID:  <20040226210153.E2E5F54B5@fluid.selfdestruct.net>
Resent-Message-ID: <200402262110.i1QLAJ92019925@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         63410
>Category:       ports
>Synopsis:       Add WITH_T1LIB to lang/php4 for PostScript Type-1 font support
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Thu Feb 26 13:10:19 PST 2004
>Closed-Date:
>Last-Modified:
>Originator:     Toni Viemerö
>Release:        FreeBSD 4.9-RELEASE-p2 i386
>Organization:
>Environment:
System: FreeBSD fluid.selfdestruct.net 4.9-RELEASE-p2 FreeBSD 4.9-RELEASE-p2 #0: Thu Feb 26 00:29:19 EET 2004 root@fluid.selfdestruct.net:/usr/obj/usr/src/sys/FLUID i386


	
>Description:
	Add WITH_T1LIB to lang/php4 for PostScript Type-1 font support.
	Tested and works for me (tm) :)

>How-To-Repeat:
	
>Fix:

diff -ruN php4.org/Makefile php4/Makefile
--- php4.org/Makefile	Mon Feb 23 06:41:01 2004
+++ php4/Makefile	Thu Feb 26 22:49:22 2004
@@ -135,8 +135,8 @@
 		MCRYPT MHASH MIME MING MNOGOSEARCH MSSQL MYSQL NCURSES \
 		OPENLDAP OPENSSL ORACLE OVERLOAD PCNTL PCRE PDFLIB POSIX \
 		POSTGRESQL PSPELL READLINE RECODE SESSION SHMOP SNMP SOCKETS \
-		SYBASEDB SYBASECT SYSVSEM SYSVSHM TOKENIZER UNIXODBC WDDX XML \
-		XMLRPC XSLT YAZ YP ZIP ZLIB
+		SYBASEDB SYBASECT SYSVSEM SYSVSHM T1LIB TOKENIZER UNIXODBC \
+		WDDX XML XMLRPC XSLT YAZ YP ZIP ZLIB
 
 .for opt in ${ALL_OPTIONS}
 .if defined(WITH_${opt}) || defined(WITHOUT_${opt})
@@ -208,6 +208,10 @@
 WITH_XML=	yes
 .endif
 
+.if defined(WITH_T1LIB)
+WITH_GD=	yes
+.endif
+
 .if defined(WITH_BCMATH)
 CONFIGURE_ARGS+=--enable-bcmath
 .endif
@@ -314,6 +318,10 @@
 .endif
 .if defined(WITH_LZW)
 CONFIGURE_ARGS+=--enable-gd-lzw-gif
+.endif
+.if defined(WITH_T1LIB)
+LIB_DEPENDS+=	t1.5:${PORTSDIR}/devel/t1lib
+CONFIGURE_ARGS+=--with-t1lib=${LOCALBASE}
 .endif
 .endif
 
diff -ruN php4.org/scripts/configure.php php4/scripts/configure.php
--- php4.org/scripts/configure.php	Sat Jan 24 15:15:54 2004
+++ php4/scripts/configure.php	Thu Feb 26 22:49:36 2004
@@ -75,6 +75,7 @@
 SYBASECT	"Sybase database support (CT-lib)" ${WITH_SYBASECT:-OFF} \
 SYSVSEM		"System V semaphore support" ${WITH_SYSVSEM:-OFF} \
 SYSVSHM		"System V shared memory support" ${WITH_SYSVSHM:-OFF} \
+T1LIB		"PostScript Type-1 font support (implies GD)" ${WITH_T1LIB:-OFF} \
 TOKENIZER	"tokenizer support" ${WITH_TOKENIZER:-OFF} \
 UNIXODBC	"unixODBC support" ${WITH_UNIXODBC:-OFF} \
 WDDX		"WDDX support (implies XML)" ${WITH_WDDX:-OFF} \
>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040226210153.E2E5F54B5>