pkgsrc-Changes archive

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

CVS commit: pkgsrc/wm/pwm



Module Name:    pkgsrc
Committed By:   jmcneill
Date:           Mon Aug 21 14:53:59 UTC 2017

Modified Files:
        pkgsrc/wm/pwm: Makefile

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


To generate a diff of this commit:
cvs rdiff -u -r1.35 -r1.36 pkgsrc/wm/pwm/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/wm/pwm/Makefile
diff -u pkgsrc/wm/pwm/Makefile:1.35 pkgsrc/wm/pwm/Makefile:1.36
--- pkgsrc/wm/pwm/Makefile:1.35 Sun Jul 24 20:12:34 2016
+++ pkgsrc/wm/pwm/Makefile      Mon Aug 21 14:53:58 2017
@@ -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 @@ USE_TOOLS+=  gmake
 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