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:
parent
3c8a130f53
commit
a762ff98ae
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=123039
@ -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:
|
||||
|
@ -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:
|
||||
|
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user