summaryrefslogtreecommitdiffstats
path: root/multimedia/xawtv
diff options
context:
space:
mode:
authoroliver <oliver@FreeBSD.org>2003-06-10 13:15:01 +0000
committeroliver <oliver@FreeBSD.org>2003-06-10 13:15:01 +0000
commit1777ba8c75f6e938ab1710af4b36c8050bf4a1e7 (patch)
treea021575304cc63ddac8e7d0ce86c92b26f1d3ae3 /multimedia/xawtv
parent4dda209bd25052f7e794941a28fcaeb8285512a7 (diff)
downloadFreeBSD-ports-1777ba8c75f6e938ab1710af4b36c8050bf4a1e7.zip
FreeBSD-ports-1777ba8c75f6e938ab1710af4b36c8050bf4a1e7.tar.gz
The last commit broke the Makefile because I checked a variable before
bsd.port.pre.mk was included. But the variable gets defined in bsd.port.pre.mk. Move the OSVERSION check behind those include. Noticed by: Dan Langille <dan@langille.org>
Diffstat (limited to 'multimedia/xawtv')
-rw-r--r--multimedia/xawtv/Makefile12
1 files changed, 6 insertions, 6 deletions
diff --git a/multimedia/xawtv/Makefile b/multimedia/xawtv/Makefile
index dd9ed74..a7c7009 100644
--- a/multimedia/xawtv/Makefile
+++ b/multimedia/xawtv/Makefile
@@ -20,12 +20,6 @@ LIB_DEPENDS= Xaw3d.${XAWVER}:${PORTSDIR}/x11-toolkits/Xaw3d \
jpeg.9:${PORTSDIR}/graphics/jpeg \
aa.1:${PORTSDIR}/graphics/aalib
-.if ${OSVERSION} < 500000
-ONLY_FOR_ARCHS= i386
-.else
-ONLY_FOR_ARCHS= alpha i386 ia64
-.endif
-
WRKSRC= ${WRKDIR}/${DISTNAME:S/_/-/}
USE_MOTIF= yes
GNU_CONFIGURE= yes
@@ -47,6 +41,12 @@ MAN8= v4l-conf.8
.include <bsd.port.pre.mk>
+.if ${OSVERSION} < 500000
+ONLY_FOR_ARCHS= i386
+.else
+ONLY_FOR_ARCHS= alpha i386 ia64
+.endif
+
.if defined(WITH_LIBDV)
LIB_DEPENDS+= dv.3:${PORTSDIR}/multimedia/libdv
CONFIGURE_ARGS+=--enable-dv
OpenPOWER on IntegriCloud