diff options
author | jlam <jlam> | 2001-06-29 04:17:19 +0000 |
---|---|---|
committer | jlam <jlam> | 2001-06-29 04:17:19 +0000 |
commit | 722cc8ecea82677f9a9ab415ff99ac2684f17fcc (patch) | |
tree | 103b55e068decb7d25aa872007a56a349634d959 /mk | |
parent | c75b95a4cd26a3834049b6054b549fa8bb2303b2 (diff) | |
download | pkgsrc-722cc8ecea82677f9a9ab415ff99ac2684f17fcc.tar.gz |
If USE_BUILDLINK_ONLY is set, then also set USE_CONFIG_WRAPPER
automatically.
Diffstat (limited to 'mk')
-rw-r--r-- | mk/bsd.buildlink.mk | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/mk/bsd.buildlink.mk b/mk/bsd.buildlink.mk index 4113d51f1d3..ee91f3e8603 100644 --- a/mk/bsd.buildlink.mk +++ b/mk/bsd.buildlink.mk @@ -1,4 +1,4 @@ -# $NetBSD: bsd.buildlink.mk,v 1.18 2001/06/28 22:37:02 jlam Exp $ +# $NetBSD: bsd.buildlink.mk,v 1.19 2001/06/29 04:17:19 jlam Exp $ # # This Makefile fragment is included by package buildlink.mk files. This # file does the following things: @@ -126,6 +126,14 @@ _BUILDLINK_USE: .USE ${TOUCH} ${TOUCH_FLAGS} $${cookie}; \ fi +# If a package uses only buildlink.mk files, then automatically set +# USE_CONFIG_WRAPPER to use config script wrappers for packages that +# have them. +# +.if defined(USE_BUILDLINK_ONLY) +USE_CONFIG_WRAPPER= # defined +.endif + BUILDLINK_CONFIG_WRAPPER_SED= \ -e "s|-I${LOCALBASE}/|-I${BUILDLINK_DIR}/|g" \ -e "s|-L${LOCALBASE}/|-L${BUILDLINK_DIR}/|g" |