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 . --- news/inn/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'news/inn/Makefile') diff --git a/news/inn/Makefile b/news/inn/Makefile index 9b1ffdf135e..b8369564039 100644 --- a/news/inn/Makefile +++ b/news/inn/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.39 2002/10/13 07:57:43 tron Exp $ +# $NetBSD: Makefile,v 1.40 2003/01/28 22:03:58 jlam Exp $ DISTNAME= inn-2.3.3 CATEGORIES= news @@ -22,6 +22,7 @@ BUILD_DEFS+= INN_DATA_DIR FILES_SUBST+= INN_DATA_DIR=${INN_DATA_DIR} USE_BUILDLINK2= YES +USE_PKGINSTALL= YES GNU_CONFIGURE= YES GNU_CONFIGURE_PREFIX= ${PREFIX}/inn CONFIGURE_ARGS+= --enable-setgid-inews \ @@ -111,5 +112,4 @@ post-install: done .include "../../lang/perl5/buildlink2.mk" -.include "../../mk/bsd.pkg.install.mk" .include "../../mk/bsd.pkg.mk" -- cgit v1.2.3