aboutsummaryrefslogtreecommitdiff
path: root/multimedia/xawtv
diff options
context:
space:
mode:
authorEdwin Groothuis <edwin@FreeBSD.org>2007-10-04 02:01:29 +0000
committerEdwin Groothuis <edwin@FreeBSD.org>2007-10-04 02:01:29 +0000
commitfa9509791fb3ad63885e207da5c039b25eeef942 (patch)
tree583269ded864355a8d5031d218db57c2bc88511d /multimedia/xawtv
parent81cd10f8d2bfe2ad25124f31d629351947acaa56 (diff)
downloadports-fa9509791fb3ad63885e207da5c039b25eeef942.tar.gz
ports-fa9509791fb3ad63885e207da5c039b25eeef942.zip
Remove always-false/true conditions based on OSVERSION 500000
Notes
Notes: svn path=/head/; revision=200776
Diffstat (limited to 'multimedia/xawtv')
-rw-r--r--multimedia/xawtv/Makefile16
1 files changed, 1 insertions, 15 deletions
diff --git a/multimedia/xawtv/Makefile b/multimedia/xawtv/Makefile
index 5b4b618c205d..bd927ce1be14 100644
--- a/multimedia/xawtv/Makefile
+++ b/multimedia/xawtv/Makefile
@@ -38,6 +38,7 @@ CONFIGURE_ENV= LIBS="-L${PREFIX}/lib -L${LOCALBASE}/lib" \
CFLAGS="-I${WRKSRC}/common"
MAKE_ENV= verbose=yes
USE_LDCONFIG= yes
+ONLY_FOR_ARCHS= alpha amd64 i386
FILES_LIBJPEG= console/Subdir.mk debug/Subdir.mk x11/Subdir.mk
@@ -50,12 +51,6 @@ MAN8= v4l-conf.8
.include <bsd.port.pre.mk>
-.if ${OSVERSION} < 500000
-ONLY_FOR_ARCHS= i386
-.else
-ONLY_FOR_ARCHS= alpha amd64 i386
-.endif
-
.if defined(WITHOUT_AA)
CONFIGURE_ARGS+=--disable-aa
PLIST_SUB+= AA="@comment "
@@ -68,12 +63,8 @@ PLIST_SUB+= AA=""
.if defined(WITH_ZVBI)
LIB_DEPENDS+= zvbi.10:${PORTSDIR}/devel/libzvbi
CONFIGURE_ARGS+=--enable-zvbi
-.if ${OSVERSION} > 500000
PLIST_SUB+= ZVBI="" ZVBI5=""
.else
-PLIST_SUB+= ZVBI="" ZVBI5="@comment "
-.endif
-.else
CONFIGURE_ARGS+=--enable-zvbi=no
PLIST_SUB+= ZVBI="@comment " ZVBI5="@comment "
.endif
@@ -118,9 +109,4 @@ post-patch:
@${REINPLACE_CMD} -e "s|-ljpeg|-L${LOCALBASE}/lib -ljpeg|g" ${WRKSRC}/$i
.endfor
-.if ${OSVERSION} < 500000
- @${REINPLACE_CMD} -e "s|FOUND_ZVBI|NOT_WORKING_&|g" \
- ${WRKSRC}/vbistuff/Subdir.mk ${WRKSRC}/x11/Subdir.mk
-.endif
-
.include <bsd.port.post.mk>