summaryrefslogtreecommitdiff
path: root/x11-wm
diff options
context:
space:
mode:
authorChristian Weisgerber <naddy@FreeBSD.org>2002-11-04 00:46:58 +0000
committerChristian Weisgerber <naddy@FreeBSD.org>2002-11-04 00:46:58 +0000
commit0770f23915b2a0ec58b90b6128eff9745bbe13b8 (patch)
treecf8a2df3a69cdc2a6e3dea909fa87a80ab61ebe8 /x11-wm
parentPERL -> REINPLACE and renamed its pkg-message to pkg-pkgmessage to (diff)
* Fix compilation on -CURRENT (GCC3).
PR: 44856 Submitted by: Volker Stolz <vs@foldr.org> * Actually respect CXX.
Notes
Notes: svn path=/head/; revision=69400
Diffstat (limited to 'x11-wm')
-rw-r--r--x11-wm/aewm++/Makefile1
-rw-r--r--x11-wm/aewm++/files/patch-aewm.hh14
2 files changed, 15 insertions, 0 deletions
diff --git a/x11-wm/aewm++/Makefile b/x11-wm/aewm++/Makefile
index 5050752afff3..991238400c03 100644
--- a/x11-wm/aewm++/Makefile
+++ b/x11-wm/aewm++/Makefile
@@ -17,6 +17,7 @@ MAINTAINER= ports@FreeBSD.org
USE_REINPLACE= yes
USE_X_PREFIX= yes
USE_GMAKE= yes
+MAKE_ENV= CXX="${CXX}"
CXXFLAGS+= -I${X11BASE}/include
LIBS+= -L${X11BASE}/lib
diff --git a/x11-wm/aewm++/files/patch-aewm.hh b/x11-wm/aewm++/files/patch-aewm.hh
new file mode 100644
index 000000000000..8cab7546cbfc
--- /dev/null
+++ b/x11-wm/aewm++/files/patch-aewm.hh
@@ -0,0 +1,14 @@
+
+$FreeBSD$
+
+--- aewm.hh.orig Mon Nov 4 01:32:18 2002
++++ aewm.hh Mon Nov 4 01:32:35 2002
+@@ -24,6 +24,8 @@
+ #ifndef _AEWM_HH_
+ #define _AEWM_HH_
+
++using namespace std;
++
+ #include <stdio.h>
+ #include <unistd.h>
+ #include <sys/wait.h>