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/php5/Makefile | |
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/php5/Makefile')
-rw-r--r-- | lang/php5/Makefile | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lang/php5/Makefile b/lang/php5/Makefile index c53f32b7a13b..2ebec85f8072 100644 --- a/lang/php5/Makefile +++ b/lang/php5/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: |