pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/wm/larswm Use "+=" instead of "=" for CPPFLAGS.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/3d72f4f64fa6
branches:  trunk
changeset: 501550:3d72f4f64fa6
user:      rillig <rillig%pkgsrc.org@localhost>
date:      Sun Oct 23 21:09:32 2005 +0000

description:
Use "+=" instead of "=" for CPPFLAGS.

diffstat:

 wm/larswm/Makefile |  6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diffs (20 lines):

diff -r 07c682f855b0 -r 3d72f4f64fa6 wm/larswm/Makefile
--- a/wm/larswm/Makefile        Sun Oct 23 21:02:06 2005 +0000
+++ b/wm/larswm/Makefile        Sun Oct 23 21:09:32 2005 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.9 2005/04/11 21:47:47 tv Exp $
+# $NetBSD: Makefile,v 1.10 2005/10/23 21:09:32 rillig Exp $
 #
 
 DISTNAME=      larswm-7.5.3
@@ -20,7 +20,9 @@
 EGDIR=         ${PREFIX}/share/examples/larswm
 CONF_FILES=    ${EGDIR}/sample.larswmrc ${PKG_SYSCONFDIR}/larswmrc
 
-CPPFLAGS=      -DPKG_SYSCONFDIR="\"${PKG_SYSCONFDIR}\""
+.include "../../mk/bsd.prefs.mk"
+
+CPPFLAGS+=     -DPKG_SYSCONFDIR=\"${PKG_SYSCONFDIR:Q}\"
 
 post-patch:
        @cd ${WRKSRC} &&                                        \



Home | Main Index | Thread Index | Old Index