summaryrefslogtreecommitdiff
path: root/audio/mpg123/Makefile
diff options
context:
space:
mode:
authoragc <agc>1999-09-27 08:27:46 +0000
committeragc <agc>1999-09-27 08:27:46 +0000
commit8198ffd7bcf8edbb282118a7ddae153e4f7df9c7 (patch)
tree376524c7d2aeeab6728dade8869c198d91685ca5 /audio/mpg123/Makefile
parentb5bc58b0447b8be71f58cbe245a2087e8d428481 (diff)
downloadpkgsrc-8198ffd7bcf8edbb282118a7ddae153e4f7df9c7.tar.gz
Make this package compile on Solaris.
Diffstat (limited to 'audio/mpg123/Makefile')
-rw-r--r--audio/mpg123/Makefile8
1 files changed, 6 insertions, 2 deletions
diff --git a/audio/mpg123/Makefile b/audio/mpg123/Makefile
index 5f519264888..ade28a6a22d 100644
--- a/audio/mpg123/Makefile
+++ b/audio/mpg123/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.16 1999/09/07 03:14:22 hubertf Exp $
+# $NetBSD: Makefile,v 1.17 1999/09/27 08:27:47 agc Exp $
#
DISTNAME= mpg123-0.59r
@@ -21,7 +21,11 @@ ALL_TARGET= netbsd-i386
.elif (${MACHINE_ARCH} == "m68k")
ALL_TARGET= netbsd-m68k
.else
-ALL_TARGET= netbsd
+ALL_TARGET= ${LOWER_OPSYS}
+.endif
+
+.if ${OPSYS} == "SunOS"
+MAKE_ENV+= CPPFLAGS=""
.endif
MAKE_FLAGS+= PREFIX="${PREFIX}"