summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--wm/pwm/Makefile10
1 files changed, 8 insertions, 2 deletions
diff --git a/wm/pwm/Makefile b/wm/pwm/Makefile
index 020e2e47d43..9e3a59dc3e7 100644
--- a/wm/pwm/Makefile
+++ b/wm/pwm/Makefile
@@ -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