summaryrefslogtreecommitdiff
path: root/www/php4
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2003-01-28 22:03:00 +0000
committerjlam <jlam@pkgsrc.org>2003-01-28 22:03:00 +0000
commitd7f69e47ce32be7271733bcdf48d28468f400ab9 (patch)
treed3bbe0e3f34c0d0b96c3bf5abf2964293c181c7b /www/php4
parent63fd8d49cc206089921ed7d972b87faff07efbe6 (diff)
downloadpkgsrc-d7f69e47ce32be7271733bcdf48d28468f400ab9.tar.gz
Instead of including bsd.pkg.install.mk directly in a package Makefile,
have it be automatically included by bsd.pkg.mk if USE_PKGINSTALL is set to "YES". This enforces the requirement that bsd.pkg.install.mk be included at the end of a package Makefile. Idea suggested by Julio M. Merino Vidal <jmmv at menta.net>.
Diffstat (limited to 'www/php4')
-rw-r--r--www/php4/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/www/php4/Makefile b/www/php4/Makefile
index 3c7da7cdb70..6ab60f41be9 100644
--- a/www/php4/Makefile
+++ b/www/php4/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.29 2003/01/08 01:52:43 jlam Exp $
+# $NetBSD: Makefile,v 1.30 2003/01/28 22:04:31 jlam Exp $
PKGNAME= php-${PHP_BASE_VERS}
CATEGORIES+= lang
@@ -7,6 +7,7 @@ COMMENT= HTML-embedded scripting language
CONFLICTS+= ap-php-4.0.3pl1
USE_BUILDLINK2= YES
+USE_PKGINSTALL= YES
LIBTOOL_OVERRIDE= ${WRKSRC}/libtool
.include "Makefile.php"
@@ -41,5 +42,4 @@ post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/php
${INSTALL_DATA} ${WRKSRC}/php.gif ${PREFIX}/share/php
-.include "../../mk/bsd.pkg.install.mk"
.include "../../mk/bsd.pkg.mk"