mirror of
https://git.freebsd.org/ports.git
synced 2025-06-07 22:00:31 -04:00
PR: ports/161130 Submitted by: Ruslan Mahmatkhanov <cvs-src@yandex.ru> Approved by: miwi, wen (mentors implicit)
14 lines
489 B
Python
14 lines
489 B
Python
--- setup.py.orig 2004-04-24 06:05:41.000000000 +0400
|
|
+++ setup.py 2011-09-29 22:14:01.000000000 +0400
|
|
@@ -24,6 +24,11 @@
|
|
extra_link_args = []
|
|
bison2pyscript = 'utils/bison2py'
|
|
bisondynlibModule = "src/c/bisondynlib-linux.c"
|
|
+elif 'freebsd' in sys.platform:
|
|
+ libs = []
|
|
+ extra_link_args = []
|
|
+ bison2pyscript = 'utils/bison2py'
|
|
+ bisondynlibModule = "src/c/bisondynlib-linux.c"
|
|
else:
|
|
print "Sorry, your platform is presently unsupported"
|
|
sys.exit(1)
|