summaryrefslogtreecommitdiff
path: root/wm/amiwm
diff options
context:
space:
mode:
authorrillig <rillig@pkgsrc.org>2005-10-23 21:27:47 +0000
committerrillig <rillig@pkgsrc.org>2005-10-23 21:27:47 +0000
commita6a78c381ce8bc6383606402bac7faa4af2d0e49 (patch)
treee077b8cec109fa90d91675186755be09efc9705d /wm/amiwm
parent82fcf1b29ac2f57150cf8e5abc3c8072c9865d60 (diff)
downloadpkgsrc-a6a78c381ce8bc6383606402bac7faa4af2d0e49.tar.gz
Use "+=" instead of "=" for CPPFLAGS and CONFIGURE_ENV.
Diffstat (limited to 'wm/amiwm')
-rw-r--r--wm/amiwm/Makefile12
1 files changed, 8 insertions, 4 deletions
diff --git a/wm/amiwm/Makefile b/wm/amiwm/Makefile
index ab7d770b344..f1d05fe58bf 100644
--- a/wm/amiwm/Makefile
+++ b/wm/amiwm/Makefile
@@ -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 @@ RESTRICTED= "Restrictive copyright (non-commerical use only)"
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