From 765bef5c8acd2a2f76474fc543cb779ea377e476 Mon Sep 17 00:00:00 2001 From: naddy Date: Mon, 4 Nov 2002 00:46:58 +0000 Subject: * Fix compilation on -CURRENT (GCC3). PR: 44856 Submitted by: Volker Stolz * Actually respect CXX. --- x11-wm/aewm++/Makefile | 1 + x11-wm/aewm++/files/patch-aewm.hh | 14 ++++++++++++++ 2 files changed, 15 insertions(+) create mode 100644 x11-wm/aewm++/files/patch-aewm.hh 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 + #include + #include -- cgit