aboutsummaryrefslogtreecommitdiffstats
path: root/devel/py-bison
diff options
context:
space:
mode:
authorpav <pav@FreeBSD.org>2007-12-21 18:01:25 +0800
committerpav <pav@FreeBSD.org>2007-12-21 18:01:25 +0800
commit01abb886e925a384f300e729ff6416874f1c4c45 (patch)
tree6735bf3ee0f2f12895b1b8267aeb6df8d0daa2dd /devel/py-bison
parentc1d01d39473954db91a3b4dee06862e0cf571eba (diff)
downloadfreebsd-ports-gnome-01abb886e925a384f300e729ff6416874f1c4c45.tar.gz
freebsd-ports-gnome-01abb886e925a384f300e729ff6416874f1c4c45.tar.zst
freebsd-ports-gnome-01abb886e925a384f300e729ff6416874f1c4c45.zip
- Fix build on FreeBSD 8.x
Submitted by: Wesley Shields <wxs@atarininja.org>
Diffstat (limited to 'devel/py-bison')
-rw-r--r--devel/py-bison/files/patch-setup.py12
1 files changed, 6 insertions, 6 deletions
diff --git a/devel/py-bison/files/patch-setup.py b/devel/py-bison/files/patch-setup.py
index d17aeffc9978..0568d1ca08a8 100644
--- a/devel/py-bison/files/patch-setup.py
+++ b/devel/py-bison/files/patch-setup.py
@@ -1,25 +1,25 @@
---- setup.py.orig Sat Apr 24 04:05:41 2004
-+++ setup.py Sat Nov 5 18:22:47 2005
+--- ./setup.py.orig 2004-04-23 22:05:41.000000000 -0400
++++ ./setup.py 2007-12-20 11:34:57.000000000 -0500
@@ -24,6 +24,26 @@
extra_link_args = []
bison2pyscript = 'utils/bison2py'
bisondynlibModule = "src/c/bisondynlib-linux.c"
-+elif sys.platform == 'freebsd4':
++elif sys.platform == 'freebsd5':
+ libs = []
+ extra_link_args = []
+ bison2pyscript = 'utils/bison2py'
+ bisondynlibModule = "src/c/bisondynlib-linux.c"
-+elif sys.platform == 'freebsd5':
++elif sys.platform == 'freebsd6':
+ libs = []
+ extra_link_args = []
+ bison2pyscript = 'utils/bison2py'
+ bisondynlibModule = "src/c/bisondynlib-linux.c"
-+elif sys.platform == 'freebsd6':
++elif sys.platform == 'freebsd7':
+ libs = []
+ extra_link_args = []
+ bison2pyscript = 'utils/bison2py'
+ bisondynlibModule = "src/c/bisondynlib-linux.c"
-+elif sys.platform == 'freebsd7':
++elif sys.platform == 'freebsd8':
+ libs = []
+ extra_link_args = []
+ bison2pyscript = 'utils/bison2py'