pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/waf waf: add WAF_HAS_LIBDIR for really old wafs



details:   https://anonhg.NetBSD.org/pkgsrc/rev/9a561a16409f
branches:  trunk
changeset: 449934:9a561a16409f
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Thu Apr 08 08:43:34 2021 +0000

description:
waf: add WAF_HAS_LIBDIR for really old wafs

diffstat:

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

diffs (20 lines):

diff -r c597b3c38029 -r 9a561a16409f devel/waf/waf.mk
--- a/devel/waf/waf.mk  Thu Apr 08 08:40:05 2021 +0000
+++ b/devel/waf/waf.mk  Thu Apr 08 08:43:34 2021 +0000
@@ -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_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])



Home | Main Index | Thread Index | Old Index