pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/waf Use += instead of = for appeding to WAF_ARGS...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/28b2b6901792
branches:  trunk
changeset: 348708:28b2b6901792
user:      leot <leot%pkgsrc.org@localhost>
date:      Sat Jun 18 10:30:14 2016 +0000

description:
Use += instead of = for appeding to WAF_ARGS (permitting to add more per-package
WAF_ARGS if needed).

diffstat:

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

diffs (18 lines):

diff -r a99e019a2f26 -r 28b2b6901792 devel/waf/waf.mk
--- a/devel/waf/waf.mk  Sat Jun 18 10:23:28 2016 +0000
+++ b/devel/waf/waf.mk  Sat Jun 18 10:30:14 2016 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: waf.mk,v 1.3 2016/06/18 10:16:07 leot Exp $
+# $NetBSD: waf.mk,v 1.4 2016/06/18 10:30:14 leot Exp $
 
 WAF_ENV+=      CC=${CC:Q}
 WAF_ENV+=      CFLAGS=${CFLAGS:Q}
@@ -20,7 +20,7 @@
 
 WAF_HAS_MANDIR?=       yes
 .if !empty(WAF_HAS_MANDIR:M[yY][eE][sS])
-WAF_ARGS=              --mandir=${PREFIX}/${PKGMANDIR}
+WAF_ARGS+=             --mandir=${PREFIX}/${PKGMANDIR}
 .endif
 
 post-extract:



Home | Main Index | Thread Index | Old Index