diff options
author | jlam <jlam> | 2003-01-28 22:03:00 +0000 |
---|---|---|
committer | jlam <jlam> | 2003-01-28 22:03:00 +0000 |
commit | 0888156f21e01be033066b564dc798018954d33c (patch) | |
tree | d3bbe0e3f34c0d0b96c3bf5abf2964293c181c7b /math/udunits | |
parent | 3782ed07f81d21f716d6f09001f4d66a5c4f8784 (diff) | |
download | pkgsrc-0888156f21e01be033066b564dc798018954d33c.tar.gz |
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 <jmmv at menta.net>.
Diffstat (limited to 'math/udunits')
-rw-r--r-- | math/udunits/Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
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" |