diff options
author | Satoshi Asami <asami@FreeBSD.org> | 1995-05-13 13:37:45 +0800 |
---|---|---|
committer | Satoshi Asami <asami@FreeBSD.org> | 1995-05-13 13:37:45 +0800 |
commit | 5af895a1dd21aa4c629430113772167e94b286fe (patch) | |
tree | 638219f5e8986a81e1a2a8b1bbd36fedc40e4cc5 /Mk/bsd.port.mk | |
parent | 4a044548aa3619b823267715c360e7cc24e3d0bf (diff) | |
download | freebsd-ports-5af895a1dd21aa4c629430113772167e94b286fe.tar.gz freebsd-ports-5af895a1dd21aa4c629430113772167e94b286fe.tar.zst freebsd-ports-5af895a1dd21aa4c629430113772167e94b286fe.zip |
Add FORCE_PACKAGE, if this is defined, NO_PACKAGE will be turned off.
Ports for which we can't build packages should define NO_PACKAGE but
still prepare pkg/* files. The user who really wants a package and
clear of the legal problems can say FORCE_PACKAGE from the command line
to build a package anyway.
Notes
Notes:
svn path=/head/; revision=1702
Diffstat (limited to 'Mk/bsd.port.mk')
-rw-r--r-- | Mk/bsd.port.mk | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/Mk/bsd.port.mk b/Mk/bsd.port.mk index 03c833171595..f42ea4f51e65 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.159 1995/05/12 07:43:48 asami Exp $ +# $Id: bsd.port.mk,v 1.160 1995/05/12 08:44:12 asami Exp $ # # Please view me with 4 column tabs! @@ -244,6 +244,12 @@ MTREE_LOCAL= /etc/mtree/BSD.local.dist MTREE_CMD?= mtree MTREE_ARGS?= -U -f ${MTREE_LOCAL} -d -e -p +# The user can override the NO_PACKAGE by specifying this from +# the make command line +.if defined(FORCE_PACKAGE) +.undef NO_PACKAGE +.endif + 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|sort|uniq`" |