summaryrefslogtreecommitdiffstats
path: root/x11-toolkits/py-wxPython24
diff options
context:
space:
mode:
authornectar <nectar@FreeBSD.org>1999-10-06 16:25:07 +0000
committernectar <nectar@FreeBSD.org>1999-10-06 16:25:07 +0000
commitf33405e5c5bab2814cf7886f059d8d75bee80868 (patch)
treec188dd7cf45ab3fe651c4d5b74f3f345a0ded821 /x11-toolkits/py-wxPython24
parentf4afa2eab6e01a9bf020783307a28ff2520033d3 (diff)
downloadFreeBSD-ports-f33405e5c5bab2814cf7886f059d8d75bee80868.zip
FreeBSD-ports-f33405e5c5bab2814cf7886f059d8d75bee80868.tar.gz
Needs g++ 2.95 or later.
Diffstat (limited to 'x11-toolkits/py-wxPython24')
-rw-r--r--x11-toolkits/py-wxPython24/Makefile2
-rw-r--r--x11-toolkits/py-wxPython24/files/build.local3
2 files changed, 4 insertions, 1 deletions
diff --git a/x11-toolkits/py-wxPython24/Makefile b/x11-toolkits/py-wxPython24/Makefile
index daf2799..fd048bb 100644
--- a/x11-toolkits/py-wxPython24/Makefile
+++ b/x11-toolkits/py-wxPython24/Makefile
@@ -21,6 +21,7 @@ RUN_DEPENDS= python1.5:${PORTSDIR}/lang/python
WRKSRC= ${WRKDIR}/${DISTNAME}/src
USE_GMAKE= YES
+USE_NEWGCC= YES
MAKE_ENV= "LN_S=${LN} -s" "INSTALL_DATA=${INSTALL_DATA}"
ALL_TARGET= default
INSTALL_TARGET= install-freebsd
@@ -33,6 +34,7 @@ do-configure:
-e "s:%LFLAGS%:`gtk12-config --libs` -L${WRKSRC}:" \
-e "s:%TARGETDIR%:${TARGETDIR}:" \
-e "s:%HELPERLIBDIR%:${HELPERLIBDIR}:" \
+ -e "s:%CXX%:${CXX}:" \
${FILESDIR}/build.local > ${WRKSRC}/build.local
cd ${WRKSRC} && ../distrib/build.py
diff --git a/x11-toolkits/py-wxPython24/files/build.local b/x11-toolkits/py-wxPython24/files/build.local
index a9f4941..9f1962a 100644
--- a/x11-toolkits/py-wxPython24/files/build.local
+++ b/x11-toolkits/py-wxPython24/files/build.local
@@ -1,3 +1,4 @@
+CCC = "%CXX%"
OTHERCFLAGS = "%CFLAGS%"
OTHERLFLAGS = "%LFLAGS%"
TARGETDIR = "%TARGETDIR%"
@@ -13,4 +14,4 @@ install-freebsd: $(TARGETDIR) $(TARGETDIR)/$(TARGET) pycfiles \
cd $(HELPERLIBDIR) && ${LN_S} lib$(HELPERLIB)$(SO).1 \
lib$(HELPERLIB)$(SO)
-""" \ No newline at end of file
+"""
OpenPOWER on IntegriCloud