summaryrefslogtreecommitdiff
path: root/devel/py-tables/files/patch-setup.py
diff options
context:
space:
mode:
authorWen Heping <wen@FreeBSD.org>2012-05-27 00:47:16 +0000
committerWen Heping <wen@FreeBSD.org>2012-05-27 00:47:16 +0000
commit1914e0c07eebe1811b25138afd7cdc284393fb50 (patch)
treeb72d8ebd47c43c4e88e686591ecc5b3a398acc3d /devel/py-tables/files/patch-setup.py
parentUpdate to 0.9.2. (diff)
- Update to 2.3.1
PR: 166387 Submitted by: dikshie <dikshie@sfc.wide.ad.jp>
Notes
Notes: svn path=/head/; revision=297504
Diffstat (limited to 'devel/py-tables/files/patch-setup.py')
-rw-r--r--devel/py-tables/files/patch-setup.py25
1 files changed, 14 insertions, 11 deletions
diff --git a/devel/py-tables/files/patch-setup.py b/devel/py-tables/files/patch-setup.py
index adcb2170851e..f0a7d6aa21ba 100644
--- a/devel/py-tables/files/patch-setup.py
+++ b/devel/py-tables/files/patch-setup.py
@@ -1,6 +1,6 @@
---- setup.py.orig 2010-07-06 11:11:43.000000000 +0800
-+++ setup.py 2010-07-06 11:13:13.000000000 +0800
-@@ -83,8 +83,8 @@
+--- setup.py.orig 2012-03-25 19:20:35.000000000 +0900
++++ setup.py 2012-03-25 19:22:53.000000000 +0900
+@@ -96,8 +96,8 @@
debug = '--debug' in sys.argv
# Global variables
@@ -11,16 +11,19 @@
optional_libs = []
data_files = [] # list of data files to add to packages (mainly for DLL's)
-@@ -93,10 +93,10 @@
- default_runtime_dirs = None
-
- if os.name == 'posix':
-- default_header_dirs = ['/usr/include', '/usr/local/include']
+@@ -121,13 +121,12 @@
+ add_from_path("CPATH", default_header_dirs)
+ add_from_path("C_INCLUDE_PATH", default_header_dirs)
+ add_from_flags("CPPFLAGS", "-I", default_header_dirs)
+- default_header_dirs.extend(['/usr/include', '/usr/local/include'])
+-
+ default_header_dirs = ['/usr/include', '/usr/local/include','%%LOCALBASE%%/include']
- default_library_dirs = [
+ default_library_dirs = []
+ add_from_flags("LDFLAGS", "-L", default_library_dirs)
+ default_library_dirs.extend(
os.path.join(_tree, _arch)
- for _tree in ('/', '/usr', '/usr/local')
-+ for _tree in ('/', '/usr', '/usr/local','%%LOCALBASE%%')
- for _arch in ('lib64', 'lib') ]
++ for _tree in ('/', '/usr', '/usr/local','%%LOCALBASE%%')
+ for _arch in ('lib64', 'lib') )
default_runtime_dirs = default_library_dirs