From 0888156f21e01be033066b564dc798018954d33c 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 . --- lang/gcc/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lang/gcc/Makefile') diff --git a/lang/gcc/Makefile b/lang/gcc/Makefile index 44fb64d0d66..c5438879138 100644 --- a/lang/gcc/Makefile +++ b/lang/gcc/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.52 2003/01/11 10:44:27 grant Exp $ +# $NetBSD: Makefile,v 1.53 2003/01/28 22:03:27 jlam Exp $ # Make sure that the version number in "Makefile.gcc" matches this. DISTNAME= gcc-2.95.3 @@ -19,6 +19,7 @@ PATCHFILES= gcc-2.95.3-diff-2002-08-29.gz BUILD_DEPENDS+= bison-[0-9]*:../../devel/bison USE_BUILDLINK2= YES +USE_PKGINSTALL= YES USE_GMAKE= YES HAS_CONFIGURE= YES @@ -104,7 +105,6 @@ post-install: .endif .include "../../mk/texinfo.mk" -.include "../../mk/bsd.pkg.install.mk" .include "../../mk/bsd.pkg.mk" # Make bootstrap with compiler != gcc possible. -- cgit v1.2.3