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 | bd80160b3501eecd94d81ff20cbbff5dc997c27b (patch) | |
tree | 77b1e2d42761d40971460f3879e1e962ad670ce1 /audio | |
parent | 3794a28fbf13dcee5855687b921984864f699982 (diff) | |
download | pkgsrc-bd80160b3501eecd94d81ff20cbbff5dc997c27b.tar.gz |
use gavan's magical CPPFLAGS.NetBSD instead of including bsd.prefs.mk
and using a conditional.
Diffstat (limited to 'audio')
-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" |