diff options
author | Norikatsu Shigemura <nork@FreeBSD.org> | 2003-07-03 06:02:38 +0000 |
---|---|---|
committer | Norikatsu Shigemura <nork@FreeBSD.org> | 2003-07-03 06:02:38 +0000 |
commit | 2efdd507c9eb063194cd2e9adba98fa71072b291 (patch) | |
tree | dddb10e2aff4c0e828db0e8c4b9e167e76ecea83 /lang/php4/Makefile | |
parent | Goodbye PA, hello MA. (diff) |
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:" |