diff options
author | ale <ale@FreeBSD.org> | 2004-12-03 21:19:31 +0800 |
---|---|---|
committer | ale <ale@FreeBSD.org> | 2004-12-03 21:19:31 +0800 |
commit | b3320548ddccc1be7a9d612b624a1b3734c3a5ea (patch) | |
tree | 8bfa36023703ab7c440dea80ce740292ba48fa7c /lang/php4 | |
parent | 2ac0f15d39c2d6bb0db810b0a59348adab53aac5 (diff) | |
download | freebsd-ports-gnome-b3320548ddccc1be7a9d612b624a1b3734c3a5ea.tar.gz freebsd-ports-gnome-b3320548ddccc1be7a9d612b624a1b3734c3a5ea.tar.zst freebsd-ports-gnome-b3320548ddccc1be7a9d612b624a1b3734c3a5ea.zip |
Definitely fix support for crypt-related functionalities on amd64.
PR: ports/74647
Submitted by: tobez
Diffstat (limited to 'lang/php4')
-rw-r--r-- | lang/php4/Makefile | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lang/php4/Makefile b/lang/php4/Makefile index 1e28534c5ad8..bfb40cfe900b 100644 --- a/lang/php4/Makefile +++ b/lang/php4/Makefile @@ -163,7 +163,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: |