diff options
author | dmcmahill <dmcmahill> | 2003-11-15 00:20:28 +0000 |
---|---|---|
committer | dmcmahill <dmcmahill> | 2003-11-15 00:20:28 +0000 |
commit | fc9e26185db5c068186ffd084c9647b291f1f71f (patch) | |
tree | b9872e921dd6d5684943a3215cd400f2cd2a3a2f /audio/realplayer | |
parent | a06fc5928d044791e38bade6414176132896343e (diff) | |
download | pkgsrc-fc9e26185db5c068186ffd084c9647b291f1f71f.tar.gz |
do not unconditionally include the linux Makefile.application. Only include
this if you are on a NetBSD/i386 system. This gives NetBSD/sparc and
Solaris/sparc a fighting chance!
Diffstat (limited to 'audio/realplayer')
-rw-r--r-- | audio/realplayer/Makefile | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/audio/realplayer/Makefile b/audio/realplayer/Makefile index f7a0260b464..327395cb28c 100644 --- a/audio/realplayer/Makefile +++ b/audio/realplayer/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.21 2003/07/17 21:23:10 grant Exp $ +# $NetBSD: Makefile,v 1.22 2003/11/15 00:20:28 dmcmahill Exp $ PKGNAME= realplayer-8.0.1 WRKSRC= ${WRKDIR}/RealPlayer8 @@ -7,9 +7,9 @@ MASTER_SITES= # empty EXTRACT_SUFX= .bin .include "../../mk/bsd.prefs.mk" -.if ${MACHINE} == "i386" +.if ${MACHINE_ARCH} == "i386" DISTNAME= rp8_linux20_libc6_i386_cs2 -.elif ${MACHINE} == "sparc" +.elif ${MACHINE_ARCH} == "sparc" DISTNAME= rp8_solaris27_sparc_cs2 .else DISTNAME= must_be_defined @@ -20,9 +20,9 @@ HOMEPAGE= http://www.real.com/products/player/ COMMENT= RealAudio and RealVideo player .if ${OPSYS} == "NetBSD" -. if ${MACHINE} == "i386" +. if ${MACHINE_ARCH} == "i386" DEPENDS+= suse_x11>=6.1:../../emulators/${SUSE_DIR_PREFIX}_x11 -. elif ${MACHINE} == "sparc" +. elif ${MACHINE_ARCH} == "sparc" . if !exists(/emul/svr4/usr/lib/ld.so) PKG_FAIL_REASON= "${PKGNAME} requires Solaris libraries - see compat_svr4(8)" . endif @@ -96,5 +96,7 @@ post-install: ${INSTALL_DATA} ${REALPLAYER_HOME}/raclass.zip ${NS_PLUGINS_DIR} ${INSTALL_DATA} ${REALPLAYER_HOME}/rpnp.so ${NS_PLUGINS_DIR} +.if ${OPSYS} == "NetBSD" && ${MACHINE_ARCH} == "i386" .include "../../emulators/suse_linux/Makefile.application" +.endif .include "../../mk/bsd.pkg.mk" |