summaryrefslogtreecommitdiff
path: root/shells/ast-ksh/Makefile
diff options
context:
space:
mode:
authorjlam <jlam>2003-01-28 22:03:00 +0000
committerjlam <jlam>2003-01-28 22:03:00 +0000
commit0888156f21e01be033066b564dc798018954d33c (patch)
treed3bbe0e3f34c0d0b96c3bf5abf2964293c181c7b /shells/ast-ksh/Makefile
parent3782ed07f81d21f716d6f09001f4d66a5c4f8784 (diff)
downloadpkgsrc-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 'shells/ast-ksh/Makefile')
-rw-r--r--shells/ast-ksh/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/shells/ast-ksh/Makefile b/shells/ast-ksh/Makefile
index c045487fc17..9dce1d62781 100644
--- a/shells/ast-ksh/Makefile
+++ b/shells/ast-ksh/Makefile
@@ -1,5 +1,5 @@
# $OpenBSD: Makefile,v 1.5 2001/11/21 01:17:43 naddy Exp $
-# $NetBSD: Makefile,v 1.5 2003/01/08 07:04:13 uebayasi Exp $
+# $NetBSD: Makefile,v 1.6 2003/01/28 22:04:10 jlam Exp $
DISTNAME= ast-ksh-${ASTKSH_VERSION}
PKGNAME= ast-ksh-${ASTKSH_VERSION:S/-//g}
@@ -23,6 +23,7 @@ ONLY_FOR_PLATFORM= NetBSD-*
ASTKSH_VERSION= 2002-12-21
USE_BUILDLINK2= YES
+USE_PKGINSTALL= YES
WRKSRC= ${WRKDIR}
MAKE_FLAGS= CC="${CC}" CCFLAGS="${CFLAGS}"
@@ -55,5 +56,4 @@ do-test:
# @cd ${WRKSRC}; \
# ${SETENV} SHELL=${PDKSH} ${PDKSH} ./bin/package test
-.include "../../mk/bsd.pkg.install.mk"
.include "../../mk/bsd.pkg.mk"