summaryrefslogtreecommitdiff
path: root/audio
diff options
context:
space:
mode:
authordmcmahill <dmcmahill@pkgsrc.org>2003-11-15 00:20:28 +0000
committerdmcmahill <dmcmahill@pkgsrc.org>2003-11-15 00:20:28 +0000
commitc7200fbce3d4244b1b50a33cabe92a46e9aa4f64 (patch)
treeb9872e921dd6d5684943a3215cd400f2cd2a3a2f /audio
parentb378dfad5140c3d006bdd936ef38f41f477acfec (diff)
downloadpkgsrc-c7200fbce3d4244b1b50a33cabe92a46e9aa4f64.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')
-rw-r--r--audio/realplayer/Makefile12
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"