diff options
author | jnemeth <jnemeth> | 2015-10-07 08:02:27 +0000 |
---|---|---|
committer | jnemeth <jnemeth> | 2015-10-07 08:02:27 +0000 |
commit | 6135bcf514294849926183a910f88bdb11b3779e (patch) | |
tree | 895b8f182cf01e0407bf01b4cf5a4c54d24fc24d /sysutils/xentools45 | |
parent | aefaf9f5af1692d490933197516d8c68390dac41 (diff) | |
download | pkgsrc-6135bcf514294849926183a910f88bdb11b3779e.tar.gz |
Instead of looking for /var/shm, test NetBSD version to
determine if SHM is available. This fixed build failures inside
pbulk sandboxes.
Since this is just a build fix, no PKGREVISION bump.
Diffstat (limited to 'sysutils/xentools45')
-rw-r--r-- | sysutils/xentools45/Makefile | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sysutils/xentools45/Makefile b/sysutils/xentools45/Makefile index 7776e0e2c9d..6de9f9ec894 100644 --- a/sysutils/xentools45/Makefile +++ b/sysutils/xentools45/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.15 2015/08/23 17:02:58 spz Exp $ +# $NetBSD: Makefile,v 1.16 2015/10/07 08:02:27 jnemeth Exp $ VERSION= 4.5.1 VERSION_IPXE= 9a93db3f0947484e30e753bbd61a10b17336e20e @@ -181,7 +181,8 @@ post-install: ${INSTALL_DATA} ${WRKDIR}/xl.conf.5 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man5 ${INSTALL_DATA} ${WRKDIR}/xlcpupool.cfg.5 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man5 -.if ${OPSYS} == "NetBSD" && !exists(/var/shm) +.if (${OPSYS} == "NetBSD" && \ + (empty(OS_VERSION:M6.99.3?) && empty(OS_VERSION:M[7-9].*))) CPPFLAGS+= -Dshm_open=open -Dshm_unlink=unlink .endif |