pkgsrc-Changes-HG archive

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

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



details:   https://anonhg.NetBSD.org/pkgsrc/rev/684c290ec006
branches:  trunk
changeset: 501553:684c290ec006
user:      rillig <rillig%pkgsrc.org@localhost>
date:      Sun Oct 23 21:27:47 2005 +0000

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

diffstat:

 wm/amiwm/Makefile |  12 ++++++++----
 1 files changed, 8 insertions(+), 4 deletions(-)

diffs (27 lines):

diff -r e8926a261ed1 -r 684c290ec006 wm/amiwm/Makefile
--- a/wm/amiwm/Makefile Sun Oct 23 21:20:53 2005 +0000
+++ b/wm/amiwm/Makefile Sun Oct 23 21:27:47 2005 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.12 2005/06/01 18:03:24 jlam Exp $
+# $NetBSD: Makefile,v 1.13 2005/10/23 21:27:47 rillig Exp $
 #
 
 DISTNAME=      amiwm0.20pl48
@@ -15,10 +15,14 @@
 NO_SRC_ON_CDROM=        ${RESTRICTED}
 NO_BIN_ON_CDROM=        ${RESTRICTED}
 
+.include "../../mk/bsd.prefs.mk"
+
 GNU_CONFIGURE= yes
-CONFIGURE_ENV= CFLAGS="-DHAVE_X11_EXTENSIONS_SHAPE_H=1 -O" \
-               X_PRE_LIBS="${X_PRE_LIBS}" \
-               X_EXTRA_LIBS="-lXt"
+CFLAGS+=       -DHAVE_X11_EXTENSIONS_SHAPE_H=1
+CFLAGS+=       -O
+CONFIGURE_ENV+=        CFLAGS=${CFLAGS:Q}
+CONFIGURE_ENV+=        X_PRE_LIBS=${X_PRE_LIBS:Q}
+CONFIGURE_ENV+=        X_EXTRA_LIBS=-lXt
 
 X_PRE_LIBS=    ${COMPILER_RPATH_FLAG}${X11BASE}/lib
 FIX_RPATH+=    X_PRE_LIBS



Home | Main Index | Thread Index | Old Index