summaryrefslogtreecommitdiff
path: root/x11
diff options
context:
space:
mode:
authortnn <tnn@pkgsrc.org>2015-10-25 20:05:01 +0000
committertnn <tnn@pkgsrc.org>2015-10-25 20:05:01 +0000
commit78ecbb4949b8259ed6fb95587aedad4caee1b12f (patch)
tree4cdac8059cac4b0a0138a1b2dd2ecf3773b28430 /x11
parentddee40f57fd2c1cea8977557bdc1945e3066ea81 (diff)
downloadpkgsrc-78ecbb4949b8259ed6fb95587aedad4caee1b12f.tar.gz
More copy paste from mk/platform/Darwin.mk since it is not obvious to
me how to make it always provide this information for us. Should fix build on OS X 10.11.1.
Diffstat (limited to 'x11')
-rw-r--r--x11/modular-xorg-xquartz/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/x11/modular-xorg-xquartz/Makefile b/x11/modular-xorg-xquartz/Makefile
index 02cea828a42..294c1b50351 100644
--- a/x11/modular-xorg-xquartz/Makefile
+++ b/x11/modular-xorg-xquartz/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.2 2015/10/12 17:51:02 tnn Exp $
+# $NetBSD: Makefile,v 1.3 2015/10/25 20:05:01 tnn Exp $
DISTNAME= xorg-server-1.17.2
PKGNAME= ${DISTNAME:S/xorg-server/modular-xorg-xquartz/}
@@ -82,6 +82,9 @@ CONFIGURE_ARGS+= --with-sha1=libnettle
.if exists(/usr/bin/xcrun) && exists(/usr/bin/sw_vers)
MY_OSX_VERS!= /usr/bin/sw_vers -productVersion
+. if ${MY_OSX_VERS:R:R} != ${MY_OSX_VERS:R}
+MY_OSX_VERS:= ${MY_OSX_VERS:R}
+. endif
MY_XCODE_SDK_PATH!= /usr/bin/xcrun --sdk macosx${MY_OSX_VERS} --show-sdk-path
.endif
MAKE_ENV+= OSX_SDK_PATH=${MY_XCODE_SDK_PATH}