Subject: mplayer-win32 option on amd64
To: None <pkgsrc-users@netbsd.org>
From: rudolf <netbsd@eq.cz>
List: pkgsrc-users
Date: 10/11/2006 12:40:34
Hi,
I'd suggest this change to file multimedia/mplayer-share/options.mk in
order to make mplayer buildable on amd64.
--- multimedia/mplayer-share/options.mk.orig 2006-10-11
12:30:55.000000000 +0200
+++ multimedia/mplayer-share/options.mk 2006-10-11 12:30:55.000000000 +0200
@@ -39,8 +39,10 @@
# Platform-specific options.
.if ${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "x86_64"
-PKG_SUPPORTED_OPTIONS+= mplayer-runtime-cpudetection mplayer-win32 \
- xvid
+PKG_SUPPORTED_OPTIONS+= mplayer-runtime-cpudetection xvid
+.endif
+.if ${MACHINE_ARCH} == "i386"
+PKG_SUPPORTED_OPTIONS+= mplayer-win32
.endif
.if ${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "powerpc" || \
${MACHINE_ARCH} == "alpha"
r.