summaryrefslogtreecommitdiff
path: root/Mk/bsd.port.mk
diff options
context:
space:
mode:
authorJordan K. Hubbard <jkh@FreeBSD.org>1995-01-23 18:22:36 +0000
committerJordan K. Hubbard <jkh@FreeBSD.org>1995-01-23 18:22:36 +0000
commit872e63e12731bc295a853a70443bb14287826368 (patch)
tree669281fa50a05fa36c2563e9ba3056c4ed958bfd /Mk/bsd.port.mk
parentFix the index rule. From Richard Wackerbarth. (diff)
Set PREFIX in the build target. Suggested by John Fieber.
Notes
Notes: svn path=/head/; revision=805
Diffstat (limited to 'Mk/bsd.port.mk')
-rw-r--r--Mk/bsd.port.mk10
1 files changed, 5 insertions, 5 deletions
diff --git a/Mk/bsd.port.mk b/Mk/bsd.port.mk
index 2082fc9f6f03..b8a8ba22544a 100644
--- a/Mk/bsd.port.mk
+++ b/Mk/bsd.port.mk
@@ -3,7 +3,7 @@
# bsd.port.mk - 940820 Jordan K. Hubbard.
# This file is in the public domain.
#
-# $Id: bsd.port.mk,v 1.5 1995/01/22 20:37:25 gary Exp $
+# $Id: bsd.port.mk,v 1.105 1995/01/22 20:40:48 gpalmer Exp $
#
# Please view me with 4 column tabs!
@@ -98,11 +98,11 @@
# install - Install the results of a build.
# reinstall - Install the results of a build, ignoring "already installed"
# flag.
-# package - Create a package from a build.
+# package - Create a package from an _installed_ port.
# describe - Try to generate a one-line description for each port for
# use in INDEX files and the like.
# checksum - Use files/md5 to ensure that your distfiles are valid
-# makesum - Generate files/md5
+# makesum - Generate files/md5 (only do this for your own ports!)
#
# Default sequence for "all" is: fetch extract configure build
@@ -382,9 +382,9 @@ ${BUILD_COOKIE}:
@echo "===> Building for ${DISTNAME}"
@${MAKE} ${.MAKEFLAGS} pre-build
.if defined(USE_GMAKE)
- @(cd ${WRKSRC}; ${GMAKE} ${MAKE_FLAGS} ${MAKEFILE} ${ALL_TARGET})
+ @(cd ${WRKSRC}; ${GMAKE} PREFIX=${PREFIX} ${MAKE_FLAGS} ${MAKEFILE} ${ALL_TARGET})
.else defined(USE_GMAKE)
- @(cd ${WRKSRC}; ${MAKE} ${MAKE_FLAGS} ${MAKEFILE} ${ALL_TARGET})
+ @(cd ${WRKSRC}; ${MAKE} PREFIX=${PREFIX} ${MAKE_FLAGS} ${MAKEFILE} ${ALL_TARGET})
.endif
@if [ -f ${SCRIPTDIR}/post-build ]; then \
env CURDIR=${.CURDIR} DISTDIR=${DISTDIR} WRKDIR=${WRKDIR} \