diff options
author | marino <marino@FreeBSD.org> | 2014-11-21 23:12:13 +0800 |
---|---|---|
committer | marino <marino@FreeBSD.org> | 2014-11-21 23:12:13 +0800 |
commit | 8ca8e6cc7128a758b2e515a48df5be9f744205df (patch) | |
tree | 5601c6301152f3b0cb8e387bc2a98ba68cb3fed3 | |
parent | bc0f5cd163e7b21c06ab8fd86d21fc19ed696150 (diff) | |
download | freebsd-ports-gnome-8ca8e6cc7128a758b2e515a48df5be9f744205df.tar.gz freebsd-ports-gnome-8ca8e6cc7128a758b2e515a48df5be9f744205df.tar.zst freebsd-ports-gnome-8ca8e6cc7128a758b2e515a48df5be9f744205df.zip |
multimedia/gstreamer-plugins: use OPSYS with OSVERSION
-rw-r--r-- | multimedia/gstreamer-plugins/Makefile | 2 | ||||
-rw-r--r-- | multimedia/gstreamer-plugins/Makefile.common | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/multimedia/gstreamer-plugins/Makefile b/multimedia/gstreamer-plugins/Makefile index b4f99fcf460d..d0c3c340cdfa 100644 --- a/multimedia/gstreamer-plugins/Makefile +++ b/multimedia/gstreamer-plugins/Makefile @@ -159,9 +159,11 @@ post-patch: ${WRKSRC}/configure # workaround a crash in clang 3.3 crash llvm bug # 15840 +.if ${OPSYS} == FreeBSD .if ((${OSVERSION} >= 901504 && ${OSVERSION} < 902502) || \ (${OSVERSION} >= 1000037 && ${OSVERSION} < 1000056)) USE_GCC= any .endif +.endif .include <bsd.port.post.mk> diff --git a/multimedia/gstreamer-plugins/Makefile.common b/multimedia/gstreamer-plugins/Makefile.common index 14a63b997b3d..40519e25f3fa 100644 --- a/multimedia/gstreamer-plugins/Makefile.common +++ b/multimedia/gstreamer-plugins/Makefile.common @@ -536,7 +536,7 @@ gst_twolame_DIST= ugly # gst_v4l2 gst_gst_v4l2_LIB_DEPENDS+= libv4l2.so:${PORTSDIR}/multimedia/libv4l -.if ${OSVERSION} >= 800000 +.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 800000 gst_gst_v4l2_RUN_DEPENDS+= webcamd:${PORTSDIR}/multimedia/webcamd .endif gst_gst_v4l2_PLIST_FILES= ${GST_LIB_DIR}/libgstvideo4linux2.la \ |