diff options
author | agc <agc> | 2000-10-02 13:28:45 +0000 |
---|---|---|
committer | agc <agc> | 2000-10-02 13:28:45 +0000 |
commit | 59262f97d1de45b03dc9a8fa5165b18da0c201e5 (patch) | |
tree | 6ea688e4a997a816ee23300355221d2a2f404dc3 /www | |
parent | 8051c250442e4a483be2c7e572851384545efaa8 (diff) | |
download | pkgsrc-59262f97d1de45b03dc9a8fa5165b18da0c201e5.tar.gz |
Include a sample MESSAGE file, as provided by Andrew Gillham
(gillham@vaultron.com), in <200010021201.e92C1Gp08569@flash.vaultron.com>
message to current-users.
Provide basic instructions relating to php3.ini
Diffstat (limited to 'www')
-rw-r--r-- | www/php3-mysql/Makefile | 6 | ||||
-rw-r--r-- | www/php3-mysql/pkg/MESSAGE | 12 |
2 files changed, 17 insertions, 1 deletions
diff --git a/www/php3-mysql/Makefile b/www/php3-mysql/Makefile index bf5859319a8..2cd683565d0 100644 --- a/www/php3-mysql/Makefile +++ b/www/php3-mysql/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.6 2000/05/25 08:15:28 rh Exp $ +# $NetBSD: Makefile,v 1.7 2000/10/02 13:28:45 agc Exp $ # PKGNAME= php-mysql-${PHP_VERSION} @@ -9,6 +9,8 @@ CONFIGURE_ARGS+=--with-mysql=${LOCALBASE} BUILDING_EXTENSION_MODULE=yes +MESSAGE_FILE= ${WRKDIR}/MESSAGE + do-build: cd ${WRKSRC}/functions && \ ${COMPILE.c} -I.. -I. -I${LOCALBASE}/include/mysql -fPIC -DPIC -DCOMPILE_DL mysql.c && \ @@ -16,5 +18,7 @@ do-build: do-install: ${INSTALL_DATA} ${WRKSRC}/functions/mysql.so ${PREFIX}/lib/php3/ + ${SED} -e 's|@PREFIX@|${PREFIX}|g' ${PKGDIR}/MESSAGE >${MESSAGE_FILE} + .include "../php3/Makefile" diff --git a/www/php3-mysql/pkg/MESSAGE b/www/php3-mysql/pkg/MESSAGE new file mode 100644 index 00000000000..a344b0671e0 --- /dev/null +++ b/www/php3-mysql/pkg/MESSAGE @@ -0,0 +1,12 @@ +$NetBSD: MESSAGE,v 1.1 2000/10/02 13:28:45 agc Exp $ + +To enable fully this package, you will need to ensure that the +following lines appear in php3.ini (which is normally +@PREFIX@/php3.ini) + + extension_dir=@PREFIX@/lib/php3 + extension=mysql.so + +If you are using the ap-php3 package (php3 as an apache module), +you will need to restart apache. The command "apachectl restart" +will do this. |