Fix problem with installation of libtool-built php CGI binary.
This commit is contained in:
parent
daf18d1a07
commit
6427f2fb5d
2 changed files with 12 additions and 5 deletions
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: Makefile,v 1.5 2001/01/15 16:51:58 jlam Exp $
|
||||
# $NetBSD: Makefile,v 1.6 2001/01/22 05:49:14 jlam Exp $
|
||||
|
||||
.include "../../www/php4/Makefile.common"
|
||||
|
||||
|
@ -17,10 +17,12 @@ pre-install:
|
|||
< ${PKGDIR}/MESSAGE > ${MESSAGE_FILE}
|
||||
|
||||
post-install:
|
||||
${TOUCH} ${PREFIX}/${PHP_EXTENSION_DIR}/.directory
|
||||
${INSTALL_DATA_DIR} ${PREFIX}/libexec/cgi-bin
|
||||
${RM} -f ${PREFIX}/libexec/cgi-bin/php
|
||||
${LN} -sf ../../bin/php ${PREFIX}/libexec/cgi-bin/php
|
||||
${LIBTOOL} ${INSTALL_DATA} ${WRKSRC}/libphp4.la ${PREFIX}/lib
|
||||
${LIBTOOL} ${INSTALL_PROGRAM} ${WRKSRC}/php ${PREFIX}/libexec/cgi-bin
|
||||
${RM} -f ${PREFIX}/bin/php
|
||||
${LN} -sf ../libexec/cgi-bin/php ${PREFIX}/bin/php
|
||||
${TOUCH} ${PREFIX}/${PHP_EXTENSION_DIR}/.directory
|
||||
${INSTALL_DATA} ${WRKSRC}/php.ini-dist ${PREFIX}/etc
|
||||
${INSTALL_DATA} ${WRKSRC}/php.ini-optimized ${PREFIX}/etc
|
||||
${INSTALL_DATA_DIR} ${PREFIX}/share/php4
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
@comment $NetBSD: PLIST,v 1.4 2001/01/15 16:32:29 jlam Exp $
|
||||
@comment $NetBSD: PLIST,v 1.5 2001/01/22 05:49:14 jlam Exp $
|
||||
bin/pear
|
||||
bin/php
|
||||
bin/php-config
|
||||
|
@ -147,6 +147,11 @@ include/php/regex/regex.h
|
|||
include/php/regex/regex2.h
|
||||
include/php/regex/regex_extra.h
|
||||
include/php/regex/utils.h
|
||||
lib/libphp4.a
|
||||
lib/libphp4.la
|
||||
lib/libphp4.so
|
||||
lib/libphp4.so.0
|
||||
lib/libphp4.so.0.0
|
||||
lib/php/Benchmark/Iterate.php
|
||||
lib/php/Benchmark/Timer.php
|
||||
lib/php/Crypt/HCEMD5.php
|
||||
|
|
Loading…
Reference in a new issue