pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/audio/realplayer do not unconditionally include the li...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/56e7c2230861
branches:  trunk
changeset: 463521:56e7c2230861
user:      dmcmahill <dmcmahill%pkgsrc.org@localhost>
date:      Sat Nov 15 00:20:28 2003 +0000

description:
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:

 audio/realplayer/Makefile |  12 +++++++-----
 1 files changed, 7 insertions(+), 5 deletions(-)

diffs (41 lines):

diff -r 9317bc4b2c8f -r 56e7c2230861 audio/realplayer/Makefile
--- a/audio/realplayer/Makefile Fri Nov 14 23:59:06 2003 +0000
+++ b/audio/realplayer/Makefile Sat Nov 15 00:20:28 2003 +0000
@@ -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 @@
 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 @@
 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 @@
        ${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"



Home | Main Index | Thread Index | Old Index