Add EXTRA_PKG_FLAGS to PKG_FLAGS. You can now add arguments to pkg_create

without redefining PKG_FLAGS after bsd.port.mk.
This commit is contained in:
Satoshi Asami 1998-11-14 09:45:09 +00:00
parent 96bc8048c3
commit b63234040b
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=14513

View File

@ -1,7 +1,7 @@
#-*- mode: Fundamental; tab-width: 4; -*-
# ex:ts=4
#
# $Id: bsd.port.mk,v 1.295 1998/11/08 10:29:52 asami Exp $
# $Id: bsd.port.mk,v 1.296 1998/11/11 05:21:27 asami Exp $
# $NetBSD: $
#
# bsd.port.mk - 940820 Jordan K. Hubbard.
@ -698,7 +698,7 @@ TMPPLIST?= ${WRKDIR}/.PLIST.mktmp
PKG_CMD?= /usr/sbin/pkg_create
PKG_DELETE?= /usr/sbin/pkg_delete
.if !defined(PKG_ARGS)
PKG_ARGS= -v -c ${COMMENT} -d ${DESCR} -f ${TMPPLIST} -p ${PREFIX} -P "`${MAKE} package-depends|sort -u`"
PKG_ARGS= -v -c ${COMMENT} -d ${DESCR} -f ${TMPPLIST} -p ${PREFIX} -P "`${MAKE} package-depends|sort -u`" ${EXTRA_PKG_ARGS}
.if exists(${PKGDIR}/INSTALL)
PKG_ARGS+= -i ${PKGDIR}/INSTALL
.endif