diff options
author | asami <asami@FreeBSD.org> | 1995-05-13 13:37:45 +0800 |
---|---|---|
committer | asami <asami@FreeBSD.org> | 1995-05-13 13:37:45 +0800 |
commit | 8256a8906733d44f556d1f592a6ca6013f5b7331 (patch) | |
tree | 1e6400fc0898fbb185f5c2fbfcc0dfaefff66997 /Mk | |
parent | 929edba35710d2bfa53010b913c2936a6d0970dd (diff) | |
download | freebsd-ports-gnome-8256a8906733d44f556d1f592a6ca6013f5b7331.tar.gz freebsd-ports-gnome-8256a8906733d44f556d1f592a6ca6013f5b7331.tar.zst freebsd-ports-gnome-8256a8906733d44f556d1f592a6ca6013f5b7331.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.
Diffstat (limited to '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`" |