diff options
author | Jordan K. Hubbard <jkh@FreeBSD.org> | 1994-08-22 13:25:33 +0000 |
---|---|---|
committer | Jordan K. Hubbard <jkh@FreeBSD.org> | 1994-08-22 13:25:33 +0000 |
commit | e441ff3ff93436596251bc88320507336064a7ff (patch) | |
tree | 4fac72e57382ce13f438f5ad22c16f0375714818 | |
parent | Make package target a lot more general. (diff) |
Ok, this should work with a centralized package directory now (so you
can elect to dump all finished packages in one directory).
Submitted by: jkh
Notes
Notes:
svn path=/head/; revision=32
-rw-r--r-- | Mk/bsd.port.mk | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/Mk/bsd.port.mk b/Mk/bsd.port.mk index 7b15936ceceb..4eb4fb7d7420 100644 --- a/Mk/bsd.port.mk +++ b/Mk/bsd.port.mk @@ -1,7 +1,7 @@ # bsd.port.mk - 940820 Jordan K. Hubbard. # This file is in the public domain. # -# $Id: bsd.port.mk,v 1.13 1994/08/22 12:07:19 jkh Exp $ +# $Id: bsd.port.mk,v 1.14 1994/08/22 13:11:32 jkh Exp $ # # Supported Variables and their behaviors: @@ -96,12 +96,11 @@ package: # PKG_ARGS if your package is anything but run-of-the-mill. @if [ -d ${PKGDIR} ]; then \ echo "===> Building package for ${DISTNAME}"; \ - if [ -d ${PACKAGES} ]; then \ - _TARGET=${PACKAGES}/${DISTNAME}${PKG_SUFX}; \ + @if [ -d ${PACKAGES} ]; then \ + ${PKG_CMD} ${PKG_ARGS} ${PACKAGES}/${DISTNAME}${PKG_SUFX}; \ else \ - _TARGET=${DISTNAME}${PKG_SUFX}; \ - fi \ - ${PKG_CMD} ${PKG_ARGS} ${_TARGET}; \ + ${PKG_CMD} ${PKG_ARGS} ${DISTNAME}${PKG_SUFX}; \ + fi; \ fi .endif |