summaryrefslogtreecommitdiff
path: root/multimedia/libvpx/Makefile
diff options
context:
space:
mode:
authorbsiegert <bsiegert@pkgsrc.org>2013-11-29 18:33:54 +0000
committerbsiegert <bsiegert@pkgsrc.org>2013-11-29 18:33:54 +0000
commita227c9ac8d07e12c41b8fe6260e0b15f70c36242 (patch)
tree8856eb750b47be35dca175dc8232105e6d64b557 /multimedia/libvpx/Makefile
parentbb1b83d9c02f79ba24fed77a7c869aac995d2554 (diff)
downloadpkgsrc-a227c9ac8d07e12c41b8fe6260e0b15f70c36242.tar.gz
Try to unbreak the build on MirBSD. With this, it compiles all the way through
but then fails to link because the library contains unfulfilled references to sse2 functions -- even though they are disabled.
Diffstat (limited to 'multimedia/libvpx/Makefile')
-rw-r--r--multimedia/libvpx/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/multimedia/libvpx/Makefile b/multimedia/libvpx/Makefile
index c495a4c7707..07ba77b0375 100644
--- a/multimedia/libvpx/Makefile
+++ b/multimedia/libvpx/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.30 2013/11/09 05:28:35 ryoon Exp $
+# $NetBSD: Makefile,v 1.31 2013/11/29 18:33:54 bsiegert Exp $
DISTNAME= libvpx-v1.2.0
PKGNAME= ${DISTNAME:S/-v/-/}
@@ -78,6 +78,12 @@ CONFIGURE_ARGS+= --target=mips32-linux-gcc
CONFIGURE_ARGS+= --disable-runtime-cpu-detect
.endif
+.if ${OPSYS} == "MirBSD"
+BUILDLINK_TRANSFORM+= rm:-lrt
+CONFIGURE_ENV+= sse2=no sse3=no ssse3=no sse4_1=no runtime_cpu_detect=no
+CONFIGURE_ARGS+= --disable-runtime-cpu-detect
+.endif
+
BUILD_TARGET= # none
post-extract: