pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/mk Added LOCALBASE, PKGINFODIR and PKGMANDIR to _BUILD...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/1524b3e7fcdd
branches:  trunk
changeset: 516204:1524b3e7fcdd
user:      rillig <rillig%pkgsrc.org@localhost>
date:      Mon Jul 17 13:35:11 2006 +0000

description:
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:

 mk/bsd.pkg.mk |  5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diffs (19 lines):

diff -r 30a51d06c35e -r 1524b3e7fcdd mk/bsd.pkg.mk
--- a/mk/bsd.pkg.mk     Mon Jul 17 12:56:01 2006 +0000
+++ b/mk/bsd.pkg.mk     Mon Jul 17 13:35:11 2006 +0000
@@ -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+=      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>".



Home | Main Index | Thread Index | Old Index