aboutsummaryrefslogtreecommitdiff
path: root/lang/php53
diff options
context:
space:
mode:
authorAlex Dupre <ale@FreeBSD.org>2004-12-03 13:19:31 +0000
committerAlex Dupre <ale@FreeBSD.org>2004-12-03 13:19:31 +0000
commita762ff98aebe5614b872c43a1b253feff19d9093 (patch)
treeaf24ddc15ae973e063253f37e4690809ab44c562 /lang/php53
parent3c8a130f53956696f38bef4e38eb04a79e934504 (diff)
downloadports-a762ff98aebe5614b872c43a1b253feff19d9093.tar.gz
ports-a762ff98aebe5614b872c43a1b253feff19d9093.zip
Definitely fix support for crypt-related functionalities on amd64.
PR: ports/74647 Submitted by: tobez
Notes
Notes: svn path=/head/; revision=123039
Diffstat (limited to 'lang/php53')
-rw-r--r--lang/php53/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/lang/php53/Makefile b/lang/php53/Makefile
index c53f32b7a13b..2ebec85f8072 100644
--- a/lang/php53/Makefile
+++ b/lang/php53/Makefile
@@ -168,7 +168,8 @@ PHP_PORT= ${.CURDIR:S|^${_PORTSDIR}||:S|^/||}
post-patch:
@${TOUCH} ${WRKSRC}/ext/php_config.h
@${REINPLACE_CMD} "s|^\(extension_dir\)|; \1|" ${WRKSRC}/php.ini-*
- @${REINPLACE_CMD} "s|<crypt.h>|<unistd.h>|g" ${WRKSRC}/configure
+ @${REINPLACE_CMD} "s|<crypt.h>|<unistd.h>|g;s|HAVE_CRYPT_H|HAVE_UNISTD_H|g" \
+ ${WRKSRC}/configure
.if ${PHP_SAPI} == "full"
pre-configure: