pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel/py-llvmlite



Module Name:    pkgsrc
Committed By:   joerg
Date:           Thu Dec 19 22:12:43 UTC 2019

Modified Files:
        pkgsrc/devel/py-llvmlite: Makefile distinfo
Added Files:
        pkgsrc/devel/py-llvmlite/patches: patch-ffi_Makefile.freebsd
            patch-ffi_Makefile.linux

Log Message:
Build shared module as PIC. Bump revision.


To generate a diff of this commit:
cvs rdiff -u -r1.10 -r1.11 pkgsrc/devel/py-llvmlite/Makefile
cvs rdiff -u -r1.9 -r1.10 pkgsrc/devel/py-llvmlite/distinfo
cvs rdiff -u -r0 -r1.1 \
    pkgsrc/devel/py-llvmlite/patches/patch-ffi_Makefile.freebsd \
    pkgsrc/devel/py-llvmlite/patches/patch-ffi_Makefile.linux

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/devel/py-llvmlite/Makefile
diff -u pkgsrc/devel/py-llvmlite/Makefile:1.10 pkgsrc/devel/py-llvmlite/Makefile:1.11
--- pkgsrc/devel/py-llvmlite/Makefile:1.10      Sat Oct 19 14:10:00 2019
+++ pkgsrc/devel/py-llvmlite/Makefile   Thu Dec 19 22:12:43 2019
@@ -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/}
 

Index: pkgsrc/devel/py-llvmlite/distinfo
diff -u pkgsrc/devel/py-llvmlite/distinfo:1.9 pkgsrc/devel/py-llvmlite/distinfo:1.10
--- pkgsrc/devel/py-llvmlite/distinfo:1.9       Sat Oct 19 14:10:00 2019
+++ pkgsrc/devel/py-llvmlite/distinfo   Thu Dec 19 22:12:43 2019
@@ -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

Added files:

Index: pkgsrc/devel/py-llvmlite/patches/patch-ffi_Makefile.freebsd
diff -u /dev/null pkgsrc/devel/py-llvmlite/patches/patch-ffi_Makefile.freebsd:1.1
--- /dev/null   Thu Dec 19 22:12:43 2019
+++ pkgsrc/devel/py-llvmlite/patches/patch-ffi_Makefile.freebsd Thu Dec 19 22:12:43 2019
@@ -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
Index: pkgsrc/devel/py-llvmlite/patches/patch-ffi_Makefile.linux
diff -u /dev/null pkgsrc/devel/py-llvmlite/patches/patch-ffi_Makefile.linux:1.1
--- /dev/null   Thu Dec 19 22:12:43 2019
+++ pkgsrc/devel/py-llvmlite/patches/patch-ffi_Makefile.linux   Thu Dec 19 22:12:43 2019
@@ -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