From 0ca6d3b3268399ba8936b26f33152327acc725c6 Mon Sep 17 00:00:00 2001 From: Oliver Lehmann Date: Tue, 10 Jun 2003 13:15:01 +0000 Subject: 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 --- multimedia/xawtv/Makefile | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'multimedia') diff --git a/multimedia/xawtv/Makefile b/multimedia/xawtv/Makefile index dd9ed7451542..a7c7009be702 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 +.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 -- cgit