summaryrefslogtreecommitdiff
path: root/net/netsaint-base
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2002-01-31 17:24:38 +0000
committerjlam <jlam@pkgsrc.org>2002-01-31 17:24:38 +0000
commit7088448272339ae67c552f3bec46be77914206de (patch)
treefe5be4a9890b8eaec749bee53d93534f2091dfeb /net/netsaint-base
parentd68caac05d85aa0f8ea6a0fceac535d1219d08bc (diff)
downloadpkgsrc-7088448272339ae67c552f3bec46be77914206de.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"