diff options
author | nork <nork@FreeBSD.org> | 2003-07-03 14:02:38 +0800 |
---|---|---|
committer | nork <nork@FreeBSD.org> | 2003-07-03 14:02:38 +0800 |
commit | c87a4d7550ad1677a951635fbbeaae6aef597cba (patch) | |
tree | 5d6c86ad69bc49424b9875f859014b413ec738c4 /lang/php4/Makefile | |
parent | 399443d374cfffee27f58fc06a2f30dba47c74fa (diff) | |
download | freebsd-ports-gnome-c87a4d7550ad1677a951635fbbeaae6aef597cba.tar.gz freebsd-ports-gnome-c87a4d7550ad1677a951635fbbeaae6aef597cba.tar.zst freebsd-ports-gnome-c87a4d7550ad1677a951635fbbeaae6aef597cba.zip |
o Switch to libtool 1.4.
o Add WITHOUT_IPV6 knob (Requested by Jens Rehsack <rehsack@liwing.de>
in ports/53754, implemented in a slightly different way).
o Add GIF and animated GIF write support by default in GD and add
WITH_LZW knob to enable the LZW compression algorithm (patented
in some countries).
o Removed gd_gif_out.diff patch and added many new patches.
PR: ports/53754, ports/53879
Requested by: Jens Rehsack <rehsack@liwing.de>
Submitted by: Alex Dupre <sysadmin@alexdupre.com> (maintainer)
Diffstat (limited to 'lang/php4/Makefile')
-rw-r--r-- | lang/php4/Makefile | 16 |
1 files changed, 10 insertions, 6 deletions
diff --git a/lang/php4/Makefile b/lang/php4/Makefile index 95d650c42340..ee2be246c65a 100644 --- a/lang/php4/Makefile +++ b/lang/php4/Makefile @@ -63,7 +63,7 @@ USE_BZIP2= yes USE_SUBMAKE= yes GNU_CONFIGURE= yes USE_BISON= yes -USE_LIBTOOL= yes +USE_LIBTOOL_VER=14 CONFIGURE_ARGS= --enable-versioning \ --enable-memory-limit \ @@ -126,7 +126,7 @@ PBDIR= ${PREFIX}/share/pear/boot .include <bsd.port.pre.mk> -.if ${OSVERSION} < 400014 +.if ${OSVERSION} < 400014 || defined(WITHOUT_IPV6) CONFIGURE_ARGS+=--disable-ipv6 .endif @@ -303,6 +303,9 @@ CONFIGURE_ARGS+=--with-gd \ LIB_DEPENDS+= Xpm.4:${PORTSDIR}/x11/XFree86-4-libraries CONFIGURE_ARGS+=--with-xpm-dir=${LOCALBASE} .endif +.if defined(WITH_LZW) +CONFIGURE_ARGS+=--enable-gd-lzw-gif +.endif .endif .if defined(WITH_GDBM) @@ -570,13 +573,11 @@ pre-patch: @${SETENV} ${SCRIPTS_ENV} ${SH} ${SCRIPTDIR}/configure.php post-patch: -.if defined(WITH_GD_GIF_OUT) - @${PATCH} -b .orig -d ${WRKSRC} -N -s -E -p1 -t < ${FILESDIR}/gd_gif_out.diff -.endif @${SED} "s|%%PREFIX%%|${PREFIX}|g" \ ${WRKSRC}/pear/scripts/pearcmd.php > ${WRKSRC}/pear/scripts/pear pre-configure: + @${ECHO_CMD} "" .if defined(WITH_IMAP) && defined(WITH_RECODE) @${ECHO_CMD} "You cannot define WITH_IMAP *and* WITH_RECODE!" @${FALSE} @@ -593,8 +594,11 @@ pre-configure: @${ECHO_CMD} "You cannot define WITH_SYBASEDB *and* WITH_SYBASECT!" @${FALSE} .endif -.if !defined(WITHOUT_APACHE) && !defined(WITHOUT_CLI) +.if defined(WITH_GD) && !defined(WITH_LZW) + @${ECHO_CMD} "To enable LZW-compressed GIF support in GD define the WITH_LZW knob." @${ECHO_CMD} "" +.endif +.if !defined(WITHOUT_APACHE) && !defined(WITHOUT_CLI) @${ECHO_CMD} "You are building the Apache Module and the Command Line Interpreter of PHP." @${ECHO_CMD} "" @${ECHO_CMD} "Use port:" |