summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2009-04-09 00:51:23 +0000
committerjoerg <joerg@pkgsrc.org>2009-04-09 00:51:23 +0000
commit8e2f1b57e8f4f6d6d17edef47cff6691ac191b47 (patch)
tree5f1fe80c13cb5595c1f93abf56531ed987a7af86 /mk
parent368d71b62eb6e099ecbde93b8f229d559bb4648a (diff)
downloadpkgsrc-8e2f1b57e8f4f6d6d17edef47cff6691ac191b47.tar.gz
Remove support for NO_PACKAGE.
Diffstat (limited to 'mk')
-rw-r--r--mk/bsd.pkg.mk8
-rw-r--r--mk/package/bsd.package.mk20
2 files changed, 3 insertions, 25 deletions
diff --git a/mk/bsd.pkg.mk b/mk/bsd.pkg.mk
index 4cb300a8b21..0524f8f60c6 100644
--- a/mk/bsd.pkg.mk
+++ b/mk/bsd.pkg.mk
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.pkg.mk,v 1.1955 2009/04/08 14:47:26 wiz Exp $
+# $NetBSD: bsd.pkg.mk,v 1.1956 2009/04/09 00:51:23 joerg Exp $
#
# This file is in the public domain.
#
@@ -320,12 +320,6 @@ _PKGSRC_BUILD_TARGETS= build
#
OVERRIDE_DIRDEPTH?= 2
-# The user can override the NO_PACKAGE by specifying this from
-# the make command line
-.if defined(FORCE_PACKAGE)
-. undef NO_PACKAGE
-.endif
-
# Handle alternatives
#
.include "alternatives.mk"
diff --git a/mk/package/bsd.package.mk b/mk/package/bsd.package.mk
index 686e5fd8ec1..eabd61bf16a 100644
--- a/mk/package/bsd.package.mk
+++ b/mk/package/bsd.package.mk
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.package.mk,v 1.11 2009/03/17 22:13:36 rillig Exp $
+# $NetBSD: bsd.package.mk,v 1.12 2009/04/09 00:51:23 joerg Exp $
#
# This Makefile fragment is included by bsd.pkg.mk and provides all
# variables and targets related to binary packages.
@@ -15,23 +15,7 @@ _COOKIE.package= ${WRKDIR}/.package_done
### package is a public target to generate a binary package.
###
.PHONY: package
-.if !defined(NO_PACKAGE)
-. include "package.mk"
-.elif !target(package)
-. if exists(${_COOKIE.package})
-package:
- @${DO_NADA}
-. elif defined(_PKGSRC_BARRIER)
-package: install
-. if defined(SKIP_SILENT)
- @${DO_NADA}
-. else
- @${PHASE_MSG} "${PKGNAME} may not be packaged: "${NO_PACKAGE:Q}"."
-. endif
-. else
-package: barrier
-. endif
-.endif
+.include "package.mk"
######################################################################
### repackage (PUBLIC)