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 . --- cad/pcb/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'cad/pcb') diff --git a/cad/pcb/Makefile b/cad/pcb/Makefile index ffea4a564a7..a302fa9c91c 100644 --- a/cad/pcb/Makefile +++ b/cad/pcb/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.17 2002/12/23 19:57:51 wiz Exp $ +# $NetBSD: Makefile,v 1.18 2003/01/28 22:03:05 jlam Exp $ # FreeBSD Id: Makefile,v 1.19 1998/10/31 18:05:31 jseger Exp # @@ -18,6 +18,7 @@ COMMENT= X11 interactive printed circuit board layout system DEPENDS+= m4>=1.4:../../devel/m4 USE_BUILDLINK2= yes +USE_PKGINSTALL= yes USE_IMAKE= yes PKG_SYSCONFSUBDIR= pcb @@ -65,5 +66,4 @@ post-install: ${ECHO} "# list your local includes here" > ${EGDIR}/local.inc .include "../../mk/texinfo.mk" -.include "../../mk/bsd.pkg.install.mk" .include "../../mk/bsd.pkg.mk" -- cgit v1.2.3