summaryrefslogtreecommitdiff
path: root/audio/libfishsound
diff options
context:
space:
mode:
authorrodent <rodent>2013-07-07 18:15:55 +0000
committerrodent <rodent>2013-07-07 18:15:55 +0000
commitae5d5cbbeeeb3c4625489c37bc2ace3844fb46a7 (patch)
treeb8a5b03bc69fa55a17934c944a9e76cfe78b71b9 /audio/libfishsound
parentedb540df6d5b516ffc0d01d3d53a5c99c621afbb (diff)
downloadpkgsrc-ae5d5cbbeeeb3c4625489c37bc2ace3844fb46a7.tar.gz
Remove -Wl,--version-script=Version_script to fix build on SunOS.
Diffstat (limited to 'audio/libfishsound')
-rw-r--r--audio/libfishsound/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/audio/libfishsound/Makefile b/audio/libfishsound/Makefile
index 43be4ec502f..812e6c5f48a 100644
--- a/audio/libfishsound/Makefile
+++ b/audio/libfishsound/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1 2013/05/09 00:42:45 rodent Exp $
+# $NetBSD: Makefile,v 1.2 2013/07/07 18:15:55 rodent Exp $
#
DISTNAME= libfishsound-1.0.0
@@ -18,6 +18,10 @@ PKGCONFIG_OVERRIDE+= fishsound.pc.in
.include "options.mk"
+.if ${OPSYS} == "SunOS"
+BUILDLINK_TRANSFORM+= rm:-Wl,--version-script=Version_script
+.endif
+
.include "../../multimedia/liboggz/buildlink3.mk"
.include "../../multimedia/libogg/buildlink3.mk"
.include "../../audio/libsndfile/buildlink3.mk"