aboutsummaryrefslogtreecommitdiffstats
path: root/lang/python
diff options
context:
space:
mode:
authorperky <perky@FreeBSD.org>2003-11-16 03:22:37 +0800
committerperky <perky@FreeBSD.org>2003-11-16 03:22:37 +0800
commitabe86ace604bcd9e4cefcf3381c1f99a15290229 (patch)
treea4efeaa44ddec212c1c597a50b6d68f5ac399820 /lang/python
parent4ba731bfc8cd1100a25852986c707511d135e2fc (diff)
downloadfreebsd-ports-graphics-abe86ace604bcd9e4cefcf3381c1f99a15290229.tar.gz
freebsd-ports-graphics-abe86ace604bcd9e4cefcf3381c1f99a15290229.tar.zst
freebsd-ports-graphics-abe86ace604bcd9e4cefcf3381c1f99a15290229.zip
Ignore syntax errors on compiling 3rd party packages.
Tested by: Lee Harr <missive@hotmail.com>
Diffstat (limited to 'lang/python')
-rw-r--r--lang/python/files/patch-Makefile.pre.in16
1 files changed, 16 insertions, 0 deletions
diff --git a/lang/python/files/patch-Makefile.pre.in b/lang/python/files/patch-Makefile.pre.in
new file mode 100644
index 00000000000..8ab09bec3ba
--- /dev/null
+++ b/lang/python/files/patch-Makefile.pre.in
@@ -0,0 +1,16 @@
+--- Makefile.pre.in.orig Sat Nov 15 21:37:25 2003
++++ Makefile.pre.in Sat Nov 15 21:37:54 2003
+@@ -710,11 +710,11 @@
+ ./$(BUILDPYTHON) -Wi -tt -O $(DESTDIR)$(LIBDEST)/compileall.py \
+ -d $(LIBDEST) -f \
+ -x 'badsyntax|site-packages' $(DESTDIR)$(LIBDEST)
+- PYTHONPATH=$(DESTDIR)$(LIBDEST) $(RUNSHARED) \
++ -PYTHONPATH=$(DESTDIR)$(LIBDEST) $(RUNSHARED) \
+ ./$(BUILDPYTHON) -Wi -t $(DESTDIR)$(LIBDEST)/compileall.py \
+ -d $(LIBDEST)/site-packages -f \
+ -x badsyntax $(DESTDIR)$(LIBDEST)/site-packages
+- PYTHONPATH=$(DESTDIR)$(LIBDEST) $(RUNSHARED) \
++ -PYTHONPATH=$(DESTDIR)$(LIBDEST) $(RUNSHARED) \
+ ./$(BUILDPYTHON) -Wi -t -O $(DESTDIR)$(LIBDEST)/compileall.py \
+ -d $(LIBDEST)/site-packages -f \
+ -x badsyntax $(DESTDIR)$(LIBDEST)/site-packages