From 0888156f21e01be033066b564dc798018954d33c 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/postfix/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'mail/postfix') diff --git a/mail/postfix/Makefile b/mail/postfix/Makefile index 6839d10d0dc..f22a22507cf 100644 --- a/mail/postfix/Makefile +++ b/mail/postfix/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.77 2003/01/26 13:20:08 taca Exp $ +# $NetBSD: Makefile,v 1.78 2003/01/28 22:03:36 jlam Exp $ DISTNAME= postfix-2.0.3 CATEGORIES= mail @@ -13,6 +13,7 @@ DIST_SUBDIR= postfix POSTFIX_SPOOL= /var/spool/postfix USE_BUILDLINK2= yes +USE_PKGINSTALL= yes .include "../../mk/bsd.prefs.mk" @@ -171,5 +172,4 @@ post-install: ${TEST} -f /etc/postfix/master.cf || \ ${INSTALL_DATA} ${PREFIX}/share/postfix/master.cf /etc/postfix -.include "../../mk/bsd.pkg.install.mk" .include "../../mk/bsd.pkg.mk" -- cgit v1.2.3