summaryrefslogtreecommitdiff
path: root/mk/bsd.pkg.mk
diff options
context:
space:
mode:
authorrillig <rillig>2006-07-17 13:35:11 +0000
committerrillig <rillig>2006-07-17 13:35:11 +0000
commitb5940bd20a0cd33e6a2e087ba9bde34c7ef234d2 (patch)
tree395a85d33418235bf028a4234f35bed14ad4c9e8 /mk/bsd.pkg.mk
parent44e8883d309b1fb1dcc1262a37c2bdc3a732e566 (diff)
downloadpkgsrc-b5940bd20a0cd33e6a2e087ba9bde34c7ef234d2.tar.gz
Added LOCALBASE, PKGINFODIR and PKGMANDIR to _BUILD_DEFS, since they
influence the way the package is installed. Also, they are so commonly used that it would be a nuisance to add it to every package Makefile.
Diffstat (limited to 'mk/bsd.pkg.mk')
-rw-r--r--mk/bsd.pkg.mk5
1 files changed, 4 insertions, 1 deletions
diff --git a/mk/bsd.pkg.mk b/mk/bsd.pkg.mk
index 7cfa3e01e1e..6255559360c 100644
--- a/mk/bsd.pkg.mk
+++ b/mk/bsd.pkg.mk
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.pkg.mk,v 1.1871 2006/07/15 23:58:52 rillig Exp $
+# $NetBSD: bsd.pkg.mk,v 1.1872 2006/07/17 13:35:11 rillig Exp $
#
# This file is in the public domain.
#
@@ -208,6 +208,9 @@ ALL_ENV+= PATH=${PATH:Q}:${LOCALBASE}/bin:${X11BASE}/bin
ALL_ENV+= PREFIX=${PREFIX}
_BUILD_DEFS= ${BUILD_DEFS}
+_BUILD_DEFS+= LOCALBASE
+_BUILD_DEFS+= PKGINFODIR
+_BUILD_DEFS+= PKGMANDIR
# Store the result in the +BUILD_INFO file so we can query for the build
# options using "pkg_info -Q PKG_OPTIONS <pkg>".