summaryrefslogtreecommitdiff
path: root/x11/libxkbcommon
diff options
context:
space:
mode:
authorjperkin <jperkin@pkgsrc.org>2016-02-26 12:15:15 +0000
committerjperkin <jperkin@pkgsrc.org>2016-02-26 12:15:15 +0000
commita96bc7ebdad030b628bbcc6b443dc55c2a14a880 (patch)
tree3c0435a8ad87a35cc7715cf19c43cc8683f4db35 /x11/libxkbcommon
parentd1cc82d17a213628986614f99a3d403e3c40e30f (diff)
downloadpkgsrc-a96bc7ebdad030b628bbcc6b443dc55c2a14a880.tar.gz
Remove --version-script arguments on Darwin too.
Diffstat (limited to 'x11/libxkbcommon')
-rw-r--r--x11/libxkbcommon/Makefile11
1 files changed, 7 insertions, 4 deletions
diff --git a/x11/libxkbcommon/Makefile b/x11/libxkbcommon/Makefile
index a7aa94cd29d..5809b6291b6 100644
--- a/x11/libxkbcommon/Makefile
+++ b/x11/libxkbcommon/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.13 2016/02/25 08:27:05 jperkin Exp $
+# $NetBSD: Makefile,v 1.14 2016/02/26 12:15:15 jperkin Exp $
DISTNAME= libxkbcommon-0.5.0
CATEGORIES= x11
@@ -16,10 +16,13 @@ USE_LIBTOOL= yes
PKGCONFIG_OVERRIDE+= xkbcommon.pc.in
-BUILDLINK_TRANSFORM.SunOS+= rm:-Wl,--version-script=./xkbcommon.map
-BUILDLINK_TRANSFORM.SunOS+= rm:-Wl,--version-script=./xkbcommon-x11.map
-
.include "options.mk"
+
+.if ${OPSYS} == "Darwin" || ${OPSYS} == "SunOS"
+BUILDLINK_TRANSFORM+= rm:-Wl,--version-script=./xkbcommon.map
+BUILDLINK_TRANSFORM+= rm:-Wl,--version-script=./xkbcommon-x11.map
+.endif
+
.include "../../devel/xorg-util-macros/buildlink3.mk"
BUILDLINK_API_DEPENDS.libxcb+= libxcb>=1.10
.include "../../x11/libxcb/buildlink3.mk"