summaryrefslogtreecommitdiff
path: root/lang/php5/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'lang/php5/Makefile')
-rw-r--r--lang/php5/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/lang/php5/Makefile b/lang/php5/Makefile
index 200e554cf9e3..cfaf08447821 100644
--- a/lang/php5/Makefile
+++ b/lang/php5/Makefile
@@ -556,6 +556,9 @@ 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