diff options
author | jmc <jmc@pkgsrc.org> | 2003-02-23 01:59:59 +0000 |
---|---|---|
committer | jmc <jmc@pkgsrc.org> | 2003-02-23 01:59:59 +0000 |
commit | e52b4e1351220351961b749102d6452de2c9603c (patch) | |
tree | f60307ab3c3ecbd9f8ffe6bc0be8d225aa2f37de /audio | |
parent | 2f547a18ef668dec56421967be96ab420c19dfc1 (diff) | |
download | pkgsrc-e52b4e1351220351961b749102d6452de2c9603c.tar.gz |
Add checks for platform before setting DEPENDS vars so this works on platforms
such as powerpc that have linux emulation but don't support this package.
Otherwise 'make show-depends-dirs' will complain about missing directories.
Diffstat (limited to 'audio')
-rw-r--r-- | audio/trplayer/Makefile | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/audio/trplayer/Makefile b/audio/trplayer/Makefile index 93dccf73f45..071f09ff025 100644 --- a/audio/trplayer/Makefile +++ b/audio/trplayer/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.3 2003/02/07 18:09:26 fredb Exp $ +# $NetBSD: Makefile,v 1.4 2003/02/23 01:59:59 jmc Exp $ # DISTNAME= trplayer-1.2.0 @@ -10,12 +10,18 @@ MAINTAINER= fredb@netbsd.org HOMEPAGE= http://www.linux-speakup.org/trplayer.html COMMENT= Text-mode Realmedia Player +.include "../../mk/bsd.prefs.mk" + +.if (${OPSYS} == "NetBSD") +. if (${MACHINE_ARCH} == "i386") BUILD_DEPENDS+= rpm2pkg>=1.2:../../pkgtools/rpm2pkg DEPENDS+= realplayer>=8.0.1:../../audio/realplayer DEPENDS+= suse_base>=7.3:../../emulators/${SUSE_DIR_PREFIX}_base DEPENDS+= suse_compat>=7.3:../../emulators/${SUSE_DIR_PREFIX}_compat DEPENDS+= suse_libc5>=7.3:../../emulators/${SUSE_DIR_PREFIX}_libc5 DEPENDS+= suse_slang>=7.3:../../emulators/${SUSE_DIR_PREFIX}_slang +. endif +.endif INTERACTIVE_STAGE= fetch # XXX Not really! #INTERACTIVE_STAGE= install-depends |