summaryrefslogtreecommitdiff
path: root/audio/xmms-mad
diff options
context:
space:
mode:
authorgrant <grant>2003-12-18 23:38:53 +0000
committergrant <grant>2003-12-18 23:38:53 +0000
commitd2c1c18d7c544b90b2049dc73615a3c594d9d657 (patch)
tree77b1e2d42761d40971460f3879e1e962ad670ce1 /audio/xmms-mad
parentc32fc36adeb2dd24878bfc9f8761de34fa4b9e75 (diff)
downloadpkgsrc-d2c1c18d7c544b90b2049dc73615a3c594d9d657.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"