mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-06 06:30:19 +00:00
multimedia/gstreamer-plugins: use OPSYS with OSVERSION
This commit is contained in:
parent
f83444a840
commit
61c31a4b03
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=372998
@ -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>
|
||||
|
@ -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 \
|
||||
|
Loading…
Reference in New Issue
Block a user