diff options
author | joerg <joerg@pkgsrc.org> | 2014-01-06 22:12:22 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2014-01-06 22:12:22 +0000 |
commit | 32eec364cc7c9a7590faadbd1cb2a733886834dc (patch) | |
tree | fe5dd89ad2e923fe3cce6a0213c15fd0d687ba0f /devel | |
parent | 506dfd53f6fd66b3dbf83d655322cd315f783626 (diff) | |
download | pkgsrc-32eec364cc7c9a7590faadbd1cb2a733886834dc.tar.gz |
Allow build on newer NetBSD/current with native shm_open.
Diffstat (limited to 'devel')
-rw-r--r-- | devel/anjuta/Makefile | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/devel/anjuta/Makefile b/devel/anjuta/Makefile index 07b24d84410..09b8ce87d35 100644 --- a/devel/anjuta/Makefile +++ b/devel/anjuta/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.112 2014/01/01 11:52:11 wiz Exp $ +# $NetBSD: Makefile,v 1.113 2014/01/06 22:12:22 joerg Exp $ DISTNAME= anjuta-3.10.0 PKGREVISION= 5 @@ -63,7 +63,9 @@ BUILDLINK_API_DEPENDS.gtk2+= gtk2+>=2.12.0 .include "../../mk/bsd.prefs.mk" +.if ${OPSYS} == "NetBSD" && !exists(/var/shm) CPPFLAGS+= -Dshm_open=open -Dshm_unlink=unlink +.endif .include "../../databases/libgda/buildlink3.mk" #.include "../../devel/devhelp/buildlink3.mk" |