diff options
author | jmc <jmc> | 2003-02-23 01:59:59 +0000 |
---|---|---|
committer | jmc <jmc> | 2003-02-23 01:59:59 +0000 |
commit | 60610639a9f7848d65aed9bc2a6bd67b13e2d1f1 (patch) | |
tree | f60307ab3c3ecbd9f8ffe6bc0be8d225aa2f37de /audio | |
parent | b6842e993ccc05593b6a69c9e6fe880ee5e2fc98 (diff) | |
download | pkgsrc-60610639a9f7848d65aed9bc2a6bd67b13e2d1f1.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 |