diff options
author | Jordan K. Hubbard <jkh@FreeBSD.org> | 1995-04-10 08:09:21 +0000 |
---|---|---|
committer | Jordan K. Hubbard <jkh@FreeBSD.org> | 1995-04-10 08:09:21 +0000 |
commit | c1a1cb195918ec37d5f278f3276b5f478269595a (patch) | |
tree | b77008104ab223c1831d7f9809043395eb10c541 /Mk | |
parent | Remove mule - it's a bit broken right now, and probably misfiled anyway. (diff) |
Don't pass duplicate pkgdeps to pkg_create
Notes
Notes:
svn path=/head/; revision=1321
Diffstat (limited to 'Mk')
-rw-r--r-- | Mk/bsd.port.mk | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Mk/bsd.port.mk b/Mk/bsd.port.mk index f1413be64b78..742fa3f99cd3 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.135 1995/04/09 12:27:58 jkh Exp $ +# $Id: bsd.port.mk,v 1.136 1995/04/09 15:00:56 jkh Exp $ # # Please view me with 4 column tabs! @@ -226,7 +226,7 @@ EXTRACT_BEFORE_ARGS?= -xzf PKG_CMD?= pkg_create .if !defined(PKG_ARGS) -PKG_ARGS= -v -c ${PKGDIR}/COMMENT -d ${PKGDIR}/DESCR -f ${PKGDIR}/PLIST -p ${PREFIX} -P "`${MAKE} package-depends`" +PKG_ARGS= -v -c ${PKGDIR}/COMMENT -d ${PKGDIR}/DESCR -f ${PKGDIR}/PLIST -p ${PREFIX} -P "`${MAKE} package-depends|sort|uniq`" .if exists(${PKGDIR}/INSTALL) PKG_ARGS+= -i ${PKGDIR}/INSTALL .endif @@ -430,7 +430,7 @@ package-name: # Show (recursively) all the packages this package depends on. .if !target(package-depends) package-depends: - @for i in ${EXEC_DEPENDS} ${LIB_DEPENDS}; do \ + @for i in ${EXEC_DEPENDS} ${LIB_DEPENDS} ${DEPENDS}; do \ dir=`echo $$i | sed -e 's/.*://'`; \ (cd $$dir ; ${MAKE} package-name package-depends); \ done |