From toni@fluid.selfdestruct.net  Thu Feb 26 13:01:56 2004
Return-Path: <toni@fluid.selfdestruct.net>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP
	id 835AE16A4CE; Thu, 26 Feb 2004 13:01:56 -0800 (PST)
Received: from fluid.selfdestruct.net (cs78173006.pp.htv.fi [62.78.173.6])
	by mx1.FreeBSD.org (Postfix) with ESMTP
	id 6D2AD43D41; Thu, 26 Feb 2004 13:01:55 -0800 (PST)
	(envelope-from toni@fluid.selfdestruct.net)
Received: by fluid.selfdestruct.net (Postfix, from userid 1000)
	id E2E5F54B5; Thu, 26 Feb 2004 23:01:53 +0200 (EET)
Message-Id: <20040226210153.E2E5F54B5@fluid.selfdestruct.net>
Date: Thu, 26 Feb 2004 23:01:53 +0200 (EET)
From: Toni Viemero <toni.viemero@iki.fi>
Reply-To: Toni Viemero <toni.viemero@iki.fi>
To: FreeBSD-gnats-submit@freebsd.org
Cc: ale@freebsd.org
Subject: Add WITH_T1LIB to lang/php4 for PostScript Type-1 font support
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>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:    ale
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Thu Feb 26 13:10:19 PST 2004
>Closed-Date:    Thu Feb 26 23:52:04 PST 2004
>Last-Modified:  Thu Feb 26 23:52:04 PST 2004
>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:
Responsible-Changed-From-To: freebsd-ports-bugs->ale 
Responsible-Changed-By: clement 
Responsible-Changed-When: Thu Feb 26 13:49:50 PST 2004 
Responsible-Changed-Why:  
Over to maintainer. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=63410 
State-Changed-From-To: open->closed 
State-Changed-By: ale 
State-Changed-When: Thu Feb 26 23:51:49 PST 2004 
State-Changed-Why:  
Committed, thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=63410 
>Unformatted:
