diff options
author | wiz <wiz@pkgsrc.org> | 2021-04-08 08:43:34 +0000 |
---|---|---|
committer | wiz <wiz@pkgsrc.org> | 2021-04-08 08:43:34 +0000 |
commit | 56191c5c0f844b0c2c70502485da5b401028afcb (patch) | |
tree | e11d2fdbd23878bac9ccf2f7e9d5ea15c3eea2ef | |
parent | 4b6d469150a35212cbff8eb6a818509dfc45c13b (diff) | |
download | pkgsrc-56191c5c0f844b0c2c70502485da5b401028afcb.tar.gz |
waf: add WAF_HAS_LIBDIR for really old wafs
-rw-r--r-- | devel/waf/waf.mk | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/devel/waf/waf.mk b/devel/waf/waf.mk index 265fc718a4f..a7e4aac0cc3 100644 --- a/devel/waf/waf.mk +++ b/devel/waf/waf.mk @@ -1,4 +1,4 @@ -# $NetBSD: waf.mk,v 1.11 2020/03/26 15:14:04 nia Exp $ +# $NetBSD: waf.mk,v 1.12 2021/04/08 08:43:34 wiz Exp $ # XXX why does this does not respect the standard pkgsrc variables like # CONFIGURE_ENV et al? @@ -26,7 +26,10 @@ WAF_HAS_MANDIR?= yes WAF_ARGS+= --mandir=${PREFIX}/${PKGMANDIR} .endif +WAF_HAS_LIBDIR?= yes +.if !empty(WAF_HAS_LIBDIR:M[yY][eE][sS]) WAF_ARGS+= --libdir=${PREFIX}/lib +.endif WAF_REPLACE_EXECUTABLE?= no .if !empty(WAF_REPLACE_EXECUTABLE:M[yY][eE][sS]) |