summaryrefslogtreecommitdiff
path: root/audio/xmms-mad
diff options
context:
space:
mode:
authorgrant <grant@pkgsrc.org>2003-12-18 23:38:53 +0000
committergrant <grant@pkgsrc.org>2003-12-18 23:38:53 +0000
commitd7019ffd23377da3b6113ef51b333d74e11d4841 (patch)
tree77b1e2d42761d40971460f3879e1e962ad670ce1 /audio/xmms-mad
parentaf6a274da1782c9f0decf6acfe3a864494b45483 (diff)
downloadpkgsrc-d7019ffd23377da3b6113ef51b333d74e11d4841.tar.gz
use gavan's magical CPPFLAGS.NetBSD instead of including bsd.prefs.mk
and using a conditional.
Diffstat (limited to 'audio/xmms-mad')
-rw-r--r--audio/xmms-mad/Makefile8
1 files changed, 2 insertions, 6 deletions
diff --git a/audio/xmms-mad/Makefile b/audio/xmms-mad/Makefile
index 1416fe0afea..9d535c9e37a 100644
--- a/audio/xmms-mad/Makefile
+++ b/audio/xmms-mad/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.12 2003/12/17 03:27:17 simonb Exp $
+# $NetBSD: Makefile,v 1.13 2003/12/18 23:38:53 grant Exp $
#
DISTNAME= xmms-mad-0.5.5
@@ -12,11 +12,7 @@ COMMENT= Input plugin for XMMS that uses libmad
GNU_CONFIGURE= YES
USE_BUILDLINK2= YES
-.include "../../mk/bsd.prefs.mk"
-
-.if (${OPSYS} == NetBSD)
-CPPFLAGS+= -DHAVE_NANOSLEEP=1
-.endif
+CPPFLAGS.NetBSD+= -DHAVE_NANOSLEEP=1
.include "../../devel/pkgconfig/buildlink2.mk"
.include "../../audio/libid3tag/buildlink2.mk"