1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-07 06:40:06 +00:00
freebsd-ports/devel/py-bison/files/patch-setup.py
2005-11-05 17:24:29 +00:00

30 lines
969 B
Python

--- setup.py.orig Sat Apr 24 04:05:41 2004
+++ setup.py Sat Nov 5 18:22:47 2005
@@ -24,6 +24,26 @@
extra_link_args = []
bison2pyscript = 'utils/bison2py'
bisondynlibModule = "src/c/bisondynlib-linux.c"
+elif sys.platform == 'freebsd4':
+ libs = []
+ extra_link_args = []
+ bison2pyscript = 'utils/bison2py'
+ bisondynlibModule = "src/c/bisondynlib-linux.c"
+elif sys.platform == 'freebsd5':
+ libs = []
+ extra_link_args = []
+ bison2pyscript = 'utils/bison2py'
+ bisondynlibModule = "src/c/bisondynlib-linux.c"
+elif sys.platform == 'freebsd6':
+ libs = []
+ extra_link_args = []
+ bison2pyscript = 'utils/bison2py'
+ bisondynlibModule = "src/c/bisondynlib-linux.c"
+elif sys.platform == 'freebsd7':
+ libs = []
+ extra_link_args = []
+ bison2pyscript = 'utils/bison2py'
+ bisondynlibModule = "src/c/bisondynlib-linux.c"
else:
print "Sorry, your platform is presently unsupported"
sys.exit(1)