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} \