diff options
author | rillig <rillig> | 2007-01-07 13:38:52 +0000 |
---|---|---|
committer | rillig <rillig> | 2007-01-07 13:38:52 +0000 |
commit | 36fac60a43a07e7e51608164c2fecec5310536ce (patch) | |
tree | 5e92b4ed8df483718cb48f034831862059da6aa0 | |
parent | 4b0ff654718b8e0c604b3bde568488ce5db66965 (diff) | |
download | pkgsrc-36fac60a43a07e7e51608164c2fecec5310536ce.tar.gz |
Added the variable USE_BSD_MAKEFILE.
-rw-r--r-- | mk/bsd.pkg.use.mk | 17 |
1 files changed, 13 insertions, 4 deletions
diff --git a/mk/bsd.pkg.use.mk b/mk/bsd.pkg.use.mk index 94213bf7dce..af327dd025b 100644 --- a/mk/bsd.pkg.use.mk +++ b/mk/bsd.pkg.use.mk @@ -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} |