From 872e63e12731bc295a853a70443bb14287826368 Mon Sep 17 00:00:00 2001 From: "Jordan K. Hubbard" Date: Mon, 23 Jan 1995 18:22:36 +0000 Subject: Set PREFIX in the build target. Suggested by John Fieber. --- Mk/bsd.port.mk | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'Mk/bsd.port.mk') 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} \ -- cgit v1.2.3