pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/audio/xmms-mad use gavan's magical CPPFLAGS.NetBSD ins...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/fb9abe72153a
branches:  trunk
changeset: 464988:fb9abe72153a
user:      grant <grant%pkgsrc.org@localhost>
date:      Thu Dec 18 23:38:53 2003 +0000

description:
use gavan's magical CPPFLAGS.NetBSD instead of including bsd.prefs.mk
and using a conditional.

diffstat:

 audio/xmms-mad/Makefile |  8 ++------
 1 files changed, 2 insertions(+), 6 deletions(-)

diffs (22 lines):

diff -r 8625ad097098 -r fb9abe72153a audio/xmms-mad/Makefile
--- a/audio/xmms-mad/Makefile   Thu Dec 18 19:09:31 2003 +0000
+++ b/audio/xmms-mad/Makefile   Thu Dec 18 23:38:53 2003 +0000
@@ -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 @@
 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"



Home | Main Index | Thread Index | Old Index