diff options
author | amdmi3 <amdmi3@FreeBSD.org> | 2017-04-08 00:06:12 +0800 |
---|---|---|
committer | amdmi3 <amdmi3@FreeBSD.org> | 2017-04-08 00:06:12 +0800 |
commit | 2cef41d3eb98ea367ffcfaed88fa4342ac001e63 (patch) | |
tree | b23cdfe50c8ae0c90e01d359c01865aad70d0772 /multimedia | |
parent | 1ff73806435f0a7dd72c70f32972f0a85636d086 (diff) | |
download | freebsd-ports-gnome-2cef41d3eb98ea367ffcfaed88fa4342ac001e63.tar.gz freebsd-ports-gnome-2cef41d3eb98ea367ffcfaed88fa4342ac001e63.tar.zst freebsd-ports-gnome-2cef41d3eb98ea367ffcfaed88fa4342ac001e63.zip |
- Remove always true OSVERSION conditions
Approved by: portmgr blanket
Diffstat (limited to 'multimedia')
-rw-r--r-- | multimedia/tvheadend/Makefile | 8 |
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> |