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 . --- math/udunits/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'math/udunits') diff --git a/math/udunits/Makefile b/math/udunits/Makefile index cb5d8d00388..7114d508e20 100644 --- a/math/udunits/Makefile +++ b/math/udunits/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.8 2002/12/24 18:56:08 jmmv Exp $ +# $NetBSD: Makefile,v 1.9 2003/01/28 22:03:43 jlam Exp $ DISTNAME= udunits PKGNAME= udunits-1.11.7 @@ -15,6 +15,7 @@ WRKSRC= ${WRKDIR}/${PKGNAME_NOREV}/src DIST_SUBDIR= ${PKGNAME_NOREV} USE_BUILDLINK2= yes +USE_PKGINSTALL= yes GNU_CONFIGURE= yes CPPFLAGS+= -Df2cFortran -Dunix PERL5_PACKLIST= ${PERL5_SITEARCH}/auto/UDUNITS/.packlist @@ -27,5 +28,4 @@ post-install: ${RM} -rf ${WRKSRC}/perl/blib/lib .include "../../lang/perl5/buildlink2.mk" -.include "../../mk/bsd.pkg.install.mk" .include "../../mk/bsd.pkg.mk" -- cgit v1.2.3