pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/mk Added the variable USE_BSD_MAKEFILE.
details: https://anonhg.NetBSD.org/pkgsrc/rev/80958714306c
branches: trunk
changeset: 523419:80958714306c
user: rillig <rillig%pkgsrc.org@localhost>
date: Sun Jan 07 13:38:52 2007 +0000
description:
Added the variable USE_BSD_MAKEFILE.
diffstat:
mk/bsd.pkg.use.mk | 17 +++++++++++++----
1 files changed, 13 insertions(+), 4 deletions(-)
diffs (28 lines):
diff -r 82a7389de136 -r 80958714306c mk/bsd.pkg.use.mk
--- a/mk/bsd.pkg.use.mk Sun Jan 07 13:29:20 2007 +0000
+++ b/mk/bsd.pkg.use.mk Sun Jan 07 13:38:52 2007 +0000
@@ -1,11 +1,20 @@
-# $NetBSD: bsd.pkg.use.mk,v 1.38 2007/01/06 16:47:54 rillig Exp $
+# $NetBSD: bsd.pkg.use.mk,v 1.39 2007/01/07 13:38:52 rillig Exp $
#
# Turn USE_* macros into proper depedency logic. Included near the top of
# bsd.pkg.mk, after bsd.prefs.mk.
+#
+# Package-settable variables:
+#
+# USE_BSD_MAKEFILE
+# Should be set to "yes" whenever a package uses a BSD-style
+# Makefile. These Makefiles typically end with a line including
+# <bsd.prog.mk>.
+#
-############################################################################
-# ${PREFIX} selection
-############################################################################
+.if defined(USE_BSD_MAKEFILE)
+MAKE_ENV+= ${BSD_MAKE_ENV}
+USE_TOOLS+= nroff
+.endif
.if defined(USE_IMAKE) || !empty(USE_TOOLS:Mimake)
PLIST_SUBST+= IMAKE_MAN_SOURCE_PATH=${IMAKE_MAN_SOURCE_PATH:Q}
Home |
Main Index |
Thread Index |
Old Index