summaryrefslogtreecommitdiff
path: root/audio
diff options
context:
space:
mode:
authortron <tron@pkgsrc.org>2006-01-09 22:04:38 +0000
committertron <tron@pkgsrc.org>2006-01-09 22:04:38 +0000
commit8756625bb7ff28ea2549e72ef247a9ea03f361d1 (patch)
tree259c8db0fa6c33fb15421ee4a474c0826f104abb /audio
parent517d9780b4120fe213cb059d6a2ec8a194ce0ff1 (diff)
downloadpkgsrc-8756625bb7ff28ea2549e72ef247a9ea03f361d1.tar.gz
Use correct target when building "mpg123" with NAS support under Linux.
Diffstat (limited to 'audio')
-rw-r--r--audio/mpg123/Makefile.common6
1 files changed, 4 insertions, 2 deletions
diff --git a/audio/mpg123/Makefile.common b/audio/mpg123/Makefile.common
index 09a42d705d5..95864d3aea6 100644
--- a/audio/mpg123/Makefile.common
+++ b/audio/mpg123/Makefile.common
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.common,v 1.26 2006/01/09 17:52:07 tron Exp $
+# $NetBSD: Makefile.common,v 1.27 2006/01/09 22:04:38 tron Exp $
DISTNAME= mpg123-0.59r
MPG123_VERSION= 0.59.18
@@ -45,7 +45,9 @@ BUILD_TARGET= solaris-gcc${TARGET_SUFFIX}
.elif ${OPSYS} == "IRIX"
BUILD_TARGET= sgi
.elif ${OPSYS} == "Linux"
-. if ${MACHINE_ARCH} == "i386"
+. if ${TARGET_SUFFIX} == "-nas"
+BUILD_TARGET= linux-nas
+. elif ${MACHINE_ARCH} == "i386"
BUILD_TARGET= linux
. elif ${MACHINE_ARCH} == "powerpc"
BUILD_TARGET= linux-ppc