pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/wm/pwm Set HAS_SYSTEM_ASPRINTF in make env to fix buil...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/4db9cc3f4f8e
branches:  trunk
changeset: 366997:4db9cc3f4f8e
user:      jmcneill <jmcneill%pkgsrc.org@localhost>
date:      Mon Aug 21 14:53:58 2017 +0000

description:
Set HAS_SYSTEM_ASPRINTF in make env to fix build on NetBSD 8

diffstat:

 wm/pwm/Makefile |  10 ++++++++--
 1 files changed, 8 insertions(+), 2 deletions(-)

diffs (28 lines):

diff -r 77cdddfca99a -r 4db9cc3f4f8e wm/pwm/Makefile
--- a/wm/pwm/Makefile   Mon Aug 21 14:39:05 2017 +0000
+++ b/wm/pwm/Makefile   Mon Aug 21 14:53:58 2017 +0000
@@ -1,9 +1,9 @@
-# $NetBSD: Makefile,v 1.35 2016/07/24 20:12:34 rillig Exp $
+# $NetBSD: Makefile,v 1.36 2017/08/21 14:53:58 jmcneill Exp $
 #
 
 DISTNAME=      pwm-20060517
 PKGNAME=       ${DISTNAME:S/-/-1.0./}
-PKGREVISION=   1
+PKGREVISION=   2
 CATEGORIES=    wm x11
 MASTER_SITES=  http://modeemi.fi/~tuomov/pwm/dl/
 
@@ -21,6 +21,12 @@
 CFLAGS+=       -DPKG_SYSCONFDIR="\"${PKG_SYSCONFDIR}\""
 MAKE_FLAGS+=   MANDIR=${PREFIX}/${PKGMANDIR}
 
+.include "../../mk/bsd.prefs.mk"
+
+.if ${OPSYS} == "NetBSD"
+MAKE_FLAGS+=   HAS_SYSTEM_ASPRINTF=1
+.endif
+
 PKG_SYSCONFSUBDIR=     pwm
 
 EGDIR=         ${PREFIX}/share/examples/pwm



Home | Main Index | Thread Index | Old Index