pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/lang/py-cxfreeze Add a patch to setup.py so that -lphr...
details: https://anonhg.NetBSD.org/pkgsrc/rev/1ee19aa465be
branches: trunk
changeset: 373072:1ee19aa465be
user: he <he%pkgsrc.org@localhost>
date: Wed Dec 27 23:32:37 2017 +0000
description:
Add a patch to setup.py so that -lphread is linked on NetBSD,
since python's libpython.a(thread.o) wants those symbols.
Bump PKGREVISION.
diffstat:
lang/py-cxfreeze/Makefile | 3 ++-
lang/py-cxfreeze/distinfo | 4 ++--
lang/py-cxfreeze/patches/patch-aa | 20 +++++++++++++++++---
3 files changed, 21 insertions(+), 6 deletions(-)
diffs (61 lines):
diff -r cabe18a2f7f7 -r 1ee19aa465be lang/py-cxfreeze/Makefile
--- a/lang/py-cxfreeze/Makefile Wed Dec 27 22:58:55 2017 +0000
+++ b/lang/py-cxfreeze/Makefile Wed Dec 27 23:32:37 2017 +0000
@@ -1,7 +1,8 @@
-# $NetBSD: Makefile,v 1.9 2017/09/30 13:44:35 adam Exp $
+# $NetBSD: Makefile,v 1.10 2017/12/27 23:32:37 he Exp $
DISTNAME= cx_Freeze-5.0.2
PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/_F/f/}
+PKGREVISION= 1
CATEGORIES= devel python
MASTER_SITES= ${MASTER_SITE_PYPI:=c/cx_Freeze/}
diff -r cabe18a2f7f7 -r 1ee19aa465be lang/py-cxfreeze/distinfo
--- a/lang/py-cxfreeze/distinfo Wed Dec 27 22:58:55 2017 +0000
+++ b/lang/py-cxfreeze/distinfo Wed Dec 27 23:32:37 2017 +0000
@@ -1,7 +1,7 @@
-$NetBSD: distinfo,v 1.7 2017/09/30 13:44:35 adam Exp $
+$NetBSD: distinfo,v 1.8 2017/12/27 23:32:37 he Exp $
SHA1 (cx_Freeze-5.0.2.tar.gz) = 3457e63a966c2c0bae179a7bb869b9b6226d9ef0
RMD160 (cx_Freeze-5.0.2.tar.gz) = bf969fb2ad526aa15d5be90d0875bd5d51fd3ce8
SHA512 (cx_Freeze-5.0.2.tar.gz) = eac1a5cfd5b73f43a9447f3fce8a6ba513e253da10f44a74e4fbcd5b83068a57316e215aa03acac6807dee235e6f690b4bbba1447667bb2cba33b1182cb87d29
Size (cx_Freeze-5.0.2.tar.gz) = 60104 bytes
-SHA1 (patch-aa) = 970bcecf2c7d687826e945f1020427b9229f9f02
+SHA1 (patch-aa) = fa5613b9efb7a6a73618c4513f27d2b2f9b73857
diff -r cabe18a2f7f7 -r 1ee19aa465be lang/py-cxfreeze/patches/patch-aa
--- a/lang/py-cxfreeze/patches/patch-aa Wed Dec 27 22:58:55 2017 +0000
+++ b/lang/py-cxfreeze/patches/patch-aa Wed Dec 27 23:32:37 2017 +0000
@@ -1,6 +1,9 @@
-$NetBSD: patch-aa,v 1.4 2017/02/14 09:54:30 markd Exp $
+$NetBSD: patch-aa,v 1.5 2017/12/27 23:32:37 he Exp $
---- setup.py.orig 2017-01-07 16:04:26.000000000 +0000
+Link with proper run-time library path,
+link with -lpthread on NetBSD.
+
+--- setup.py.orig 2017-05-20 21:59:18.000000000 +0000
+++ setup.py
@@ -71,6 +71,7 @@ class build_ext(distutils.command.build_
fileName = os.path.splitext(self.get_ext_filename(ext.name))[0]
@@ -24,7 +27,18 @@
extra_postargs = extraArgs,
debug = self.debug)
-@@ -142,7 +145,7 @@ utilModule = Extension("cx_Freeze.util",
+@@ -136,13 +139,17 @@ if sys.platform == "win32":
+ if sys.platform == "win32":
+ libraries = ["imagehlp", "Shlwapi"]
+ else:
+- libraries = []
++ if sys.platform.startswith('netbsd'):
++ libraries = ["pthread"]
++ else:
++ libraries = []
++
+ utilModule = Extension("cx_Freeze.util", ["source/util.c"],
+ libraries = libraries)
# build base executables
docFiles = "README.txt"
Home |
Main Index |
Thread Index |
Old Index