diff options
author | jlam <jlam@pkgsrc.org> | 2003-01-28 22:03:00 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2003-01-28 22:03:00 +0000 |
commit | d7f69e47ce32be7271733bcdf48d28468f400ab9 (patch) | |
tree | d3bbe0e3f34c0d0b96c3bf5abf2964293c181c7b /math | |
parent | 63fd8d49cc206089921ed7d972b87faff07efbe6 (diff) | |
download | pkgsrc-d7f69e47ce32be7271733bcdf48d28468f400ab9.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')
-rw-r--r-- | math/pspp/Makefile | 4 | ||||
-rw-r--r-- | math/udunits/Makefile | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/math/pspp/Makefile b/math/pspp/Makefile index c8a8bcdc4ed..5f23f1205c0 100644 --- a/math/pspp/Makefile +++ b/math/pspp/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.22 2002/12/24 17:50:23 jmmv Exp $ +# $NetBSD: Makefile,v 1.23 2003/01/28 22:03:43 jlam Exp $ # DISTNAME= pspp-0.3.0 @@ -20,6 +20,7 @@ COMMENT= Program for statistical analysis of sampled data BUILD_USES_MSGFMT= yes USE_BUILDLINK2= yes +USE_PKGINSTALL= yes GNU_CONFIGURE= yes CPPFLAGS+= -Dunix=1 CONFIGURE_ARGS= --sysconfdir="${PKG_SYSCONFDIR}" @@ -33,5 +34,4 @@ CONF_FILES+= ${EGDIR}/ps-prologue ${PKG_SYSCONFDIR}/ps-prologue .include "../../devel/gettext-lib/buildlink2.mk" .include "../../mk/texinfo.mk" -.include "../../mk/bsd.pkg.install.mk" .include "../../mk/bsd.pkg.mk" 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" |