summaryrefslogtreecommitdiff
path: root/net/netsaint-base
diff options
context:
space:
mode:
authorjlam <jlam>2002-01-31 17:24:38 +0000
committerjlam <jlam>2002-01-31 17:24:38 +0000
commit4ff69c8e814ee4a1d95eba2985e64eb683e7e8af (patch)
treefe5be4a9890b8eaec749bee53d93534f2091dfeb /net/netsaint-base
parent4cb331845a5b5107469a19d6df12650444cd0c1c (diff)
downloadpkgsrc-4ff69c8e814ee4a1d95eba2985e64eb683e7e8af.tar.gz
If one wants to make a target from some Makefile within ${WRKSRC}, then
the right way to call the target is: ${SETENV} ${MAKE_ENV} ${MAKE_PROGRAM} target The environment should be set explicitly, and one should _always_ call "${MAKE_PROGRAM}", and not "${MAKE}" since the former always refers to the name of the actual make program used, regardless of whether USE_GMAKE is defined or not.
Diffstat (limited to 'net/netsaint-base')
-rw-r--r--net/netsaint-base/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/net/netsaint-base/Makefile b/net/netsaint-base/Makefile
index 168ae426b76..5711b10257f 100644
--- a/net/netsaint-base/Makefile
+++ b/net/netsaint-base/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.5 2001/02/17 18:19:15 wiz Exp $
+# $NetBSD: Makefile,v 1.6 2002/01/31 17:24:38 jlam Exp $
#
DISTNAME= netsaint-0.0.6
@@ -22,7 +22,7 @@ post-configure:
-e 's:@@GROUP@@:${NETSAINT_GROUP}:g'
post-install:
- cd ${WRKSRC} && ${MAKE} install-config
+ cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE_PROGRAM} install-config
cd ${WRKDIR} && ${INSTALL_SCRIPT} netsaint-setup.sh ${PREFIX}/sbin
.include "../../mk/bsd.pkg.mk"