diff options
author | prlw1 <prlw1@pkgsrc.org> | 2014-01-07 12:59:35 +0000 |
---|---|---|
committer | prlw1 <prlw1@pkgsrc.org> | 2014-01-07 12:59:35 +0000 |
commit | 8cafba364147165831c0c6612e38a96eb45627e3 (patch) | |
tree | 33adb68da991eff9d9e0c3363bb8887722b6feeb /sysutils | |
parent | a2a14a4813c673ff3cfb59e6e513c2aad293c13b (diff) | |
download | pkgsrc-8cafba364147165831c0c6612e38a96eb45627e3.tar.gz |
Use native shm_open on newer NetBSD/current. As per joerg@'s fix for
xentools41.
Diffstat (limited to 'sysutils')
-rw-r--r-- | sysutils/xentools42/Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sysutils/xentools42/Makefile b/sysutils/xentools42/Makefile index f4ef9396b32..af4df726e00 100644 --- a/sysutils/xentools42/Makefile +++ b/sysutils/xentools42/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.12 2013/12/08 19:17:56 riz Exp $ +# $NetBSD: Makefile,v 1.13 2014/01/07 12:59:35 prlw1 Exp $ # VERSION= 4.2.3 @@ -230,7 +230,7 @@ post-install: ${INSTALL_DATA} ${WRKDIR}/xend-config.sxp.5 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man5 ${INSTALL_DATA} ${WRKDIR}/xmdomain.cfg.5 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man5 -.if ${OPSYS} == "NetBSD" +.if ${OPSYS} == "NetBSD" && !exists(/var/shm) CPPFLAGS+= -Dshm_open=open -Dshm_unlink=unlink .endif |