1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-27 00:57:50 +00:00

Definitely fix support for crypt-related functionalities on amd64.

PR:		ports/74647
Submitted by:	tobez
This commit is contained in:
Alex Dupre 2004-12-03 13:19:31 +00:00
parent 3c8a130f53
commit a762ff98ae
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=123039
3 changed files with 6 additions and 3 deletions

View File

@ -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:

View File

@ -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:

View File

@ -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: