summaryrefslogtreecommitdiff
path: root/www/squid
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/squid
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/squid')
-rw-r--r--www/squid/Makefile9
1 files changed, 4 insertions, 5 deletions
diff --git a/www/squid/Makefile b/www/squid/Makefile
index d1195e2f021..8150a2c4cb5 100644
--- a/www/squid/Makefile
+++ b/www/squid/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.74 2002/12/02 03:09:01 grant Exp $
+# $NetBSD: Makefile,v 1.75 2003/01/28 22:04:31 jlam Exp $
DISTNAME= squid-2.5.STABLE1
PKGNAME= squid-2.5.1
@@ -46,8 +46,9 @@ PKG_SYSCONFSUBDIR?= squid
.include "../../mk/bsd.prefs.mk"
-GNU_CONFIGURE= # defined
-USE_BUILDLINK2= # defined
+USE_BUILDLINK2= yes
+USE_PKGINSTALL= yes
+GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR} \
--localstatedir=/var/squid \
${SQUID_CONFIGURE_ARGS}
@@ -118,6 +119,4 @@ post-install:
) >>${PLIST_SRC}
.include "../../security/openssl/buildlink2.mk"
-
-.include "../../mk/bsd.pkg.install.mk"
.include "../../mk/bsd.pkg.mk"