aboutsummaryrefslogtreecommitdiff
path: root/x11-toolkits/py-wxPython
diff options
context:
space:
mode:
authorJacques Vidrine <nectar@FreeBSD.org>1999-10-06 16:25:07 +0000
committerJacques Vidrine <nectar@FreeBSD.org>1999-10-06 16:25:07 +0000
commit9ce538081aac45d69f5e13cfbcb00ccf9b5554b5 (patch)
tree83cc2dfa099d0fd9d16d3f1dbc4f7aeb68bdd7d0 /x11-toolkits/py-wxPython
parent76ebec33b40cd18a154c33adb1ead04818c4e304 (diff)
downloadports-9ce538081aac45d69f5e13cfbcb00ccf9b5554b5.tar.gz
ports-9ce538081aac45d69f5e13cfbcb00ccf9b5554b5.zip
Notes
Diffstat (limited to 'x11-toolkits/py-wxPython')
-rw-r--r--x11-toolkits/py-wxPython/Makefile2
-rw-r--r--x11-toolkits/py-wxPython/files/build.local3
2 files changed, 4 insertions, 1 deletions
diff --git a/x11-toolkits/py-wxPython/Makefile b/x11-toolkits/py-wxPython/Makefile
index daf2799e92e5..fd048bbb2d28 100644
--- a/x11-toolkits/py-wxPython/Makefile
+++ b/x11-toolkits/py-wxPython/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-wxPython/files/build.local b/x11-toolkits/py-wxPython/files/build.local
index a9f494188225..9f1962af333e 100644
--- a/x11-toolkits/py-wxPython/files/build.local
+++ b/x11-toolkits/py-wxPython/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
+"""