diff options
author | Oliver Lehmann <oliver@FreeBSD.org> | 2003-06-10 13:15:01 +0000 |
---|---|---|
committer | Oliver Lehmann <oliver@FreeBSD.org> | 2003-06-10 13:15:01 +0000 |
commit | 0ca6d3b3268399ba8936b26f33152327acc725c6 (patch) | |
tree | daa7ce4ebfe8a342161b096aa19bfdcc61a5cc78 | |
parent | Update to 2.68 (diff) |
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>
-rw-r--r-- | multimedia/xawtv/Makefile | 12 |
1 files changed, 6 insertions, 6 deletions
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 <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 |