diff options
author | jperkin <jperkin@pkgsrc.org> | 2016-02-26 12:15:15 +0000 |
---|---|---|
committer | jperkin <jperkin@pkgsrc.org> | 2016-02-26 12:15:15 +0000 |
commit | a96bc7ebdad030b628bbcc6b443dc55c2a14a880 (patch) | |
tree | 3c0435a8ad87a35cc7715cf19c43cc8683f4db35 /x11/libxkbcommon | |
parent | d1cc82d17a213628986614f99a3d403e3c40e30f (diff) | |
download | pkgsrc-a96bc7ebdad030b628bbcc6b443dc55c2a14a880.tar.gz |
Remove --version-script arguments on Darwin too.
Diffstat (limited to 'x11/libxkbcommon')
-rw-r--r-- | x11/libxkbcommon/Makefile | 11 |
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" |