From d7f69e47ce32be7271733bcdf48d28468f400ab9 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 . --- shells/scsh/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'shells/scsh') diff --git a/shells/scsh/Makefile b/shells/scsh/Makefile index 1b3c0b318ed..60261a6044a 100644 --- a/shells/scsh/Makefile +++ b/shells/scsh/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.19 2003/01/19 09:12:06 salo Exp $ +# $NetBSD: Makefile,v 1.20 2003/01/28 22:04:12 jlam Exp $ # FreeBSD Id: Makefile,v 1.4 1997/07/15 15:00:30 cracauer Exp # @@ -16,6 +16,7 @@ GNU_CONFIGURE= yes ALL_TARGET= enough +USE_PKGINSTALL= yes PKG_SHELL= ${PREFIX}/bin/scsh post-configure: @@ -28,5 +29,4 @@ post-install: ${RM} -f ${PREFIX}/share/doc/scsh ${LN} -fs ${PREFIX}/lib/scsh/doc ${PREFIX}/share/doc/scsh -.include "../../mk/bsd.pkg.install.mk" .include "../../mk/bsd.pkg.mk" -- cgit v1.2.3