diff options
author | wiedi <wiedi@pkgsrc.org> | 2014-02-24 13:07:44 +0000 |
---|---|---|
committer | wiedi <wiedi@pkgsrc.org> | 2014-02-24 13:07:44 +0000 |
commit | ae132c9e5e617a7a54abf9fece8511bdb0221c5b (patch) | |
tree | 455cb9d0115cacefe30b72dde0c6cd291bdd5d63 /net/py-netifaces | |
parent | cab745cb94d23f0df236900e0f8f82f43e73036b (diff) | |
download | pkgsrc-ae132c9e5e617a7a54abf9fece8511bdb0221c5b.tar.gz |
Use the os specific libraries also for the test build, fixes SunOS
Diffstat (limited to 'net/py-netifaces')
-rw-r--r-- | net/py-netifaces/distinfo | 3 | ||||
-rw-r--r-- | net/py-netifaces/patches/patch-setup.py | 14 |
2 files changed, 16 insertions, 1 deletions
diff --git a/net/py-netifaces/distinfo b/net/py-netifaces/distinfo index b0c47ccf0b4..d0f588b9df1 100644 --- a/net/py-netifaces/distinfo +++ b/net/py-netifaces/distinfo @@ -1,5 +1,6 @@ -$NetBSD: distinfo,v 1.1 2012/11/26 13:55:00 ryoon Exp $ +$NetBSD: distinfo,v 1.2 2014/02/24 13:07:44 wiedi Exp $ SHA1 (netifaces-0.8.tar.gz) = a483338e1cb75dd572109467d523e152088c026d RMD160 (netifaces-0.8.tar.gz) = e5204d8415d1ae1ec84118eeb86928a1ea770f18 Size (netifaces-0.8.tar.gz) = 15484 bytes +SHA1 (patch-setup.py) = 71f6d5c8e8c9ab8182ee4f30594b52108f9aa8da diff --git a/net/py-netifaces/patches/patch-setup.py b/net/py-netifaces/patches/patch-setup.py new file mode 100644 index 00000000000..c6946d1394b --- /dev/null +++ b/net/py-netifaces/patches/patch-setup.py @@ -0,0 +1,14 @@ +$NetBSD: patch-setup.py,v 1.1 2014/02/24 13:07:44 wiedi Exp $ + +Use the os specific libraries also for the test build, fixes SunOS +--- setup.py.orig 2012-01-31 11:24:29.000000000 +0000 ++++ setup.py +@@ -40,7 +40,7 @@ class my_build_ext(build_ext): + self.check_requirements() + build_ext.build_extensions(self) + +- def test_build(self, contents, link=True, execute=False, libraries=None, ++ def test_build(self, contents, link=True, execute=False, libraries=libraries, + include_dirs=None, library_dirs=None): + name = os.path.join(self.build_temp, 'conftest-%s.c' % self.conftestidx) + self.conftestidx += 1 |