From d9bf9ebd1c4d0cf9334ca40c2f585d4d17f70bdf Mon Sep 17 00:00:00 2001 From: jlam Date: Tue, 28 Jan 2003 22:03:00 +0000 Subject: 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 . --- mail/squirrelmail/Makefile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'mail/squirrelmail/Makefile') diff --git a/mail/squirrelmail/Makefile b/mail/squirrelmail/Makefile index c57a179f694..81bb481b448 100644 --- a/mail/squirrelmail/Makefile +++ b/mail/squirrelmail/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.29 2002/12/03 06:37:15 martti Exp $ +# $NetBSD: Makefile,v 1.30 2003/01/28 22:03:40 jlam Exp $ DISTNAME= squirrelmail-1.2.10 CATEGORIES= mail www @@ -17,8 +17,9 @@ DEPENDS+= php-gettext>=4.0.6:../../devel/php4-gettext DEPENDS+= php-session>=4.0.6:../../devel/php4-session DEPENDS+= php-pcre>=4.0.6:../../devel/php4-pcre -USE_BUILDLINK2= # defined -NO_BUILD= # defined +USE_BUILDLINK2= yes +USE_PKGINSTALL= yes +NO_BUILD= yes REPLACE_PERL= config/conf.pl config/ri_once.pl .include "../../mk/bsd.prefs.mk" @@ -68,5 +69,4 @@ do-install: ${CHMOD} -R a-w ${SMDIR} .include "../../lang/perl5/buildlink2.mk" -.include "../../mk/bsd.pkg.install.mk" .include "../../mk/bsd.pkg.mk" -- cgit v1.2.3