1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-28 01:06:17 +00:00

Don't pass duplicate pkgdeps to pkg_create

This commit is contained in:
Jordan K. Hubbard 1995-04-10 08:09:21 +00:00
parent 38b22249fb
commit c1a1cb1959
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=1321

View File

@ -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