summaryrefslogtreecommitdiff
path: root/devel/waf/waf.mk
diff options
context:
space:
mode:
Diffstat (limited to 'devel/waf/waf.mk')
-rw-r--r--devel/waf/waf.mk5
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])