aboutsummaryrefslogtreecommitdiff
path: root/multimedia/tvheadend
diff options
context:
space:
mode:
authorDmitry Marakasov <amdmi3@FreeBSD.org>2017-04-07 16:06:12 +0000
committerDmitry Marakasov <amdmi3@FreeBSD.org>2017-04-07 16:06:12 +0000
commita0698296ac9b4ed78b230a2ca728692dcad4a219 (patch)
treeb23cdfe50c8ae0c90e01d359c01865aad70d0772 /multimedia/tvheadend
parent183d198f5d054327a76e0344fc2be0cfebf75ee3 (diff)
downloadports-a0698296ac9b4ed78b230a2ca728692dcad4a219.tar.gz
ports-a0698296ac9b4ed78b230a2ca728692dcad4a219.zip
- Remove always true OSVERSION conditions
Approved by: portmgr blanket
Notes
Notes: svn path=/head/; revision=437938
Diffstat (limited to 'multimedia/tvheadend')
-rw-r--r--multimedia/tvheadend/Makefile8
1 files changed, 1 insertions, 7 deletions
diff --git a/multimedia/tvheadend/Makefile b/multimedia/tvheadend/Makefile
index 941db0126966..0343984fa090 100644
--- a/multimedia/tvheadend/Makefile
+++ b/multimedia/tvheadend/Makefile
@@ -72,13 +72,9 @@ TRANSCODING_CONFIGURE_ENABLE= libav
XMLTV_RUN_DEPENDS= p5-xmltv>=0:textproc/p5-xmltv
-.include <bsd.port.pre.mk>
-
-.if ( !empty(CC:M*clang*) || ${OSVERSION} >= 1000024 )
# CLANG also needs -Wno-microsoft which GCC 4.2 does not know
CFLAGS+= -Wno-microsoft \
-Wno-tautological-constant-out-of-range-compare
-.endif
post-patch:
@${REINPLACE_CMD} 's|0.0.0~unknown|${PORTVERSION}-${GH_TAGNAME}|' \
@@ -93,12 +89,10 @@ post-patch:
# Remove -Wunused-result because gcc 4.2 on FreeBSD 9.x does not know it
@${REINPLACE_CMD} 's|-Wunused-result||' \
${WRKSRC}/Makefile
-.if ${OSVERSION} >= 1000000
# to suppress clang CC flags on FreeBSD 10+
# @${REINPLACE_CMD} 's|clang|clang-options-disabled|' \
# to enable clang CC flags, because clang is identified as 'cc' on FreeBSD 10+
@${REINPLACE_CMD} 's|clang|cc|' \
${WRKSRC}/Makefile
-.endif
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>