summaryrefslogtreecommitdiff
path: root/www
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2001-01-22 05:49:14 +0000
committerjlam <jlam@pkgsrc.org>2001-01-22 05:49:14 +0000
commit6427f2fb5d5936ec17066b61f515d35bf12d2c14 (patch)
tree9ddcaeb80149cfda78c51d5679dc14df6a5b441a /www
parentdaf18d1a07c870d6226a2bdbd4b8d099e40fb6d9 (diff)
downloadpkgsrc-6427f2fb5d5936ec17066b61f515d35bf12d2c14.tar.gz
Fix problem with installation of libtool-built php CGI binary.
Diffstat (limited to 'www')
-rw-r--r--www/php4/Makefile10
-rw-r--r--www/php4/pkg/PLIST7
2 files changed, 12 insertions, 5 deletions
diff --git a/www/php4/Makefile b/www/php4/Makefile
index 3294bde7db8..b36b4270961 100644
--- a/www/php4/Makefile
+++ b/www/php4/Makefile
@@ -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
diff --git a/www/php4/pkg/PLIST b/www/php4/pkg/PLIST
index 51f3c71492e..5134ffb0517 100644
--- a/www/php4/pkg/PLIST
+++ b/www/php4/pkg/PLIST
@@ -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