* Fix compilation on -CURRENT (GCC3).

PR:		44856
Submitted by:	Volker Stolz <vs@foldr.org>

* Actually respect CXX.
This commit is contained in:
Christian Weisgerber 2002-11-04 00:46:58 +00:00
parent 6b9e822cdb
commit 0770f23915
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=69400
2 changed files with 15 additions and 0 deletions

View File

@ -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

View File

@ -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>