diff options
author | grant <grant@pkgsrc.org> | 2003-12-18 23:38:53 +0000 |
---|---|---|
committer | grant <grant@pkgsrc.org> | 2003-12-18 23:38:53 +0000 |
commit | d7019ffd23377da3b6113ef51b333d74e11d4841 (patch) | |
tree | 77b1e2d42761d40971460f3879e1e962ad670ce1 /audio/xmms-mad | |
parent | af6a274da1782c9f0decf6acfe3a864494b45483 (diff) | |
download | pkgsrc-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/Makefile | 8 |
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" |