pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/devel/py-llvmlite Build shared module as PIC. Bump rev...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/ba5b234c85a8
branches:  trunk
changeset: 406348:ba5b234c85a8
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Thu Dec 19 22:12:43 2019 +0000

description:
Build shared module as PIC. Bump revision.

diffstat:

 devel/py-llvmlite/Makefile                           |   3 ++-
 devel/py-llvmlite/distinfo                           |   4 +++-
 devel/py-llvmlite/patches/patch-ffi_Makefile.freebsd |  13 +++++++++++++
 devel/py-llvmlite/patches/patch-ffi_Makefile.linux   |  13 +++++++++++++
 4 files changed, 31 insertions(+), 2 deletions(-)

diffs (61 lines):

diff -r 3574d6726995 -r ba5b234c85a8 devel/py-llvmlite/Makefile
--- a/devel/py-llvmlite/Makefile        Thu Dec 19 22:11:51 2019 +0000
+++ b/devel/py-llvmlite/Makefile        Thu Dec 19 22:12:43 2019 +0000
@@ -1,7 +1,8 @@
-# $NetBSD: Makefile,v 1.10 2019/10/19 14:10:00 adam Exp $
+# $NetBSD: Makefile,v 1.11 2019/12/19 22:12:43 joerg Exp $
 
 DISTNAME=      llvmlite-0.30.0
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
+PKGREVISION=   1
 CATEGORIES=    devel python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=l/llvmlite/}
 
diff -r 3574d6726995 -r ba5b234c85a8 devel/py-llvmlite/distinfo
--- a/devel/py-llvmlite/distinfo        Thu Dec 19 22:11:51 2019 +0000
+++ b/devel/py-llvmlite/distinfo        Thu Dec 19 22:12:43 2019 +0000
@@ -1,7 +1,9 @@
-$NetBSD: distinfo,v 1.9 2019/10/19 14:10:00 adam Exp $
+$NetBSD: distinfo,v 1.10 2019/12/19 22:12:43 joerg Exp $
 
 SHA1 (llvmlite-0.30.0.tar.gz) = b353b936f8d46b1bd1fc72813e099270aad877af
 RMD160 (llvmlite-0.30.0.tar.gz) = 602cafebbbd51be6782cca04f054b76f17aec2fc
 SHA512 (llvmlite-0.30.0.tar.gz) = 2ac376cf708c1e451b188d8ebf8699208e2507f0eeac4e256fde0d5545409601d4b4935346fe5c6a152d34ac194ab88003f1f84c13a7fbe0a6e8f66340ade41a
 Size (llvmlite-0.30.0.tar.gz) = 110771 bytes
+SHA1 (patch-ffi_Makefile.freebsd) = c4624de19e08bab70668a62a62e9edece027cb93
+SHA1 (patch-ffi_Makefile.linux) = 64fe000e738b61f0ece5c3b6cb86a1d548955c70
 SHA1 (patch-ffi_build.py) = 9f160e60cc664e8596a74915b7fcda757bd86332
diff -r 3574d6726995 -r ba5b234c85a8 devel/py-llvmlite/patches/patch-ffi_Makefile.freebsd
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/py-llvmlite/patches/patch-ffi_Makefile.freebsd      Thu Dec 19 22:12:43 2019 +0000
@@ -0,0 +1,13 @@
+$NetBSD: patch-ffi_Makefile.freebsd,v 1.1 2019/12/19 22:12:43 joerg Exp $
+
+--- ffi/Makefile.freebsd.orig  2019-12-19 19:40:25.412017304 +0000
++++ ffi/Makefile.freebsd
+@@ -12,7 +12,7 @@ OUTPUT = libllvmlite.so
+ all: $(OUTPUT)
+ 
+ $(OUTPUT): $(SRC) $(INCLUDE)
+-      $(CXX) -shared $(CXXFLAGS) $(SRC) -o $(OUTPUT) $(LDFLAGS) $(LIBS)
++      $(CXX) -shared $(CXXFLAGS) $(SRC) -o $(OUTPUT) $(LDFLAGS) $(LIBS) -fPIC
+ 
+ clean:
+       rm -rf test
diff -r 3574d6726995 -r ba5b234c85a8 devel/py-llvmlite/patches/patch-ffi_Makefile.linux
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/py-llvmlite/patches/patch-ffi_Makefile.linux        Thu Dec 19 22:12:43 2019 +0000
@@ -0,0 +1,13 @@
+$NetBSD: patch-ffi_Makefile.linux,v 1.1 2019/12/19 22:12:43 joerg Exp $
+
+--- ffi/Makefile.linux.orig    2019-12-19 19:40:48.890888990 +0000
++++ ffi/Makefile.linux
+@@ -19,7 +19,7 @@ all: $(OUTPUT)
+ $(OUTPUT): $(SRC) $(INCLUDE)
+       # static-libstdc++ avoids runtime dependencies on a
+       # particular libstdc++ version.
+-      $(CXX) $(CXX_STATIC_LINK) -shared $(CXXFLAGS) $(SRC) -o $(OUTPUT) $(LDFLAGS) $(LIBS)
++      $(CXX) $(CXX_STATIC_LINK) -shared $(CXXFLAGS) $(SRC) -o $(OUTPUT) $(LDFLAGS) $(LIBS) -fPIC
+ 
+ clean:
+       rm -rf test $(OUTPUT)



Home | Main Index | Thread Index | Old Index