aboutsummaryrefslogtreecommitdiffstats
path: root/x11-toolkits/py-wxPython26
diff options
context:
space:
mode:
authornectar <nectar@FreeBSD.org>1999-10-07 00:25:07 +0800
committernectar <nectar@FreeBSD.org>1999-10-07 00:25:07 +0800
commitf33405e5c5bab2814cf7886f059d8d75bee80868 (patch)
treec188dd7cf45ab3fe651c4d5b74f3f345a0ded821 /x11-toolkits/py-wxPython26
parentf4afa2eab6e01a9bf020783307a28ff2520033d3 (diff)
downloadfreebsd-ports-gnome-f33405e5c5bab2814cf7886f059d8d75bee80868.tar.gz
freebsd-ports-gnome-f33405e5c5bab2814cf7886f059d8d75bee80868.tar.zst
freebsd-ports-gnome-f33405e5c5bab2814cf7886f059d8d75bee80868.zip
Needs g++ 2.95 or later.
Diffstat (limited to 'x11-toolkits/py-wxPython26')
-rw-r--r--x11-toolkits/py-wxPython26/Makefile2
-rw-r--r--x11-toolkits/py-wxPython26/files/build.local3
2 files changed, 4 insertions, 1 deletions
diff --git a/x11-toolkits/py-wxPython26/Makefile b/x11-toolkits/py-wxPython26/Makefile
index daf2799e92e5..fd048bbb2d28 100644
--- a/x11-toolkits/py-wxPython26/Makefile
+++ b/x11-toolkits/py-wxPython26/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-wxPython26/files/build.local b/x11-toolkits/py-wxPython26/files/build.local
index a9f494188225..9f1962af333e 100644
--- a/x11-toolkits/py-wxPython26/files/build.local
+++ b/x11-toolkits/py-wxPython26/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
+"""