pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/audio/SDL_mixer Append to CFLAGS and CPPFLAGS instead ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/632fd396b7fa
branches:  trunk
changeset: 501489:632fd396b7fa
user:      rillig <rillig%pkgsrc.org@localhost>
date:      Sun Oct 23 18:30:52 2005 +0000

description:
Append to CFLAGS and CPPFLAGS instead of overwriting.

diffstat:

 audio/SDL_mixer/Makefile |  8 +++++---
 1 files changed, 5 insertions(+), 3 deletions(-)

diffs (22 lines):

diff -r 9094bd53c2d2 -r 632fd396b7fa audio/SDL_mixer/Makefile
--- a/audio/SDL_mixer/Makefile  Sun Oct 23 18:27:45 2005 +0000
+++ b/audio/SDL_mixer/Makefile  Sun Oct 23 18:30:52 2005 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.23 2005/06/01 18:02:37 jlam Exp $
+# $NetBSD: Makefile,v 1.24 2005/10/23 18:30:52 rillig Exp $
 
 DISTNAME=      SDL_mixer-1.2.6
 PKGREVISION=   2
@@ -16,8 +16,10 @@
 USE_LIBTOOL=           YES
 GNU_CONFIGURE=         YES
 
-CPPFLAGS=              -Dunix=1
-CFLAGS=                        -DSYSCONFDIR="\"${PKG_SYSCONFDIR}\""
+.include "../../mk/bsd.prefs.mk"
+
+CPPFLAGS+=             -Dunix=1
+CFLAGS+=               -DSYSCONFDIR="\"${PKG_SYSCONFDIR}\""
 
 INSTALLATION_DIRS=     bin
 



Home | Main Index | Thread Index | Old Index