diff options
author | jkh <jkh@FreeBSD.org> | 1995-01-24 02:22:36 +0800 |
---|---|---|
committer | jkh <jkh@FreeBSD.org> | 1995-01-24 02:22:36 +0800 |
commit | da05ef1b286a9c29bb88a509bed7a42fef5a6e67 (patch) | |
tree | 63cbc5e05ea0e296cfe27c61d6be3c6a9873ee6e /Mk/bsd.port.mk | |
parent | 395a27147a6e12e23918fb954417e67e40a75d57 (diff) | |
download | freebsd-ports-gnome-da05ef1b286a9c29bb88a509bed7a42fef5a6e67.tar.gz freebsd-ports-gnome-da05ef1b286a9c29bb88a509bed7a42fef5a6e67.tar.zst freebsd-ports-gnome-da05ef1b286a9c29bb88a509bed7a42fef5a6e67.zip |
Set PREFIX in the build target. Suggested by John Fieber.
Diffstat (limited to 'Mk/bsd.port.mk')
-rw-r--r-- | Mk/bsd.port.mk | 10 |
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} \ |