summaryrefslogtreecommitdiff
path: root/audio
diff options
context:
space:
mode:
authortron <tron>2006-01-09 22:04:38 +0000
committertron <tron>2006-01-09 22:04:38 +0000
commite4bff39d002080fbaf6d6953e63e259321b413ab (patch)
tree259c8db0fa6c33fb15421ee4a474c0826f104abb /audio
parent358dd8ff2caf3d8ccf5d6d5da2e246baee4ea7a0 (diff)
downloadpkgsrc-e4bff39d002080fbaf6d6953e63e259321b413ab.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