pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/devel/py-llvmlite devel/py-llvmlite: Fix the installat...
details: https://anonhg.NetBSD.org/pkgsrc/rev/df8a88b1ad3e
branches: trunk
changeset: 381136:df8a88b1ad3e
user: minskim <minskim%pkgsrc.org@localhost>
date: Wed May 30 14:32:16 2018 +0000
description:
devel/py-llvmlite: Fix the installation id on Darwin
diffstat:
devel/py-llvmlite/Makefile | 12 ++++++++++--
1 files changed, 10 insertions(+), 2 deletions(-)
diffs (27 lines):
diff -r 297fa213b635 -r df8a88b1ad3e devel/py-llvmlite/Makefile
--- a/devel/py-llvmlite/Makefile Wed May 30 12:05:49 2018 +0000
+++ b/devel/py-llvmlite/Makefile Wed May 30 14:32:16 2018 +0000
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.3 2018/05/22 19:11:48 minskim Exp $
+# $NetBSD: Makefile,v 1.4 2018/05/30 14:32:16 minskim Exp $
DISTNAME= llvmlite-0.22.0
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
-PKGREVISION= 1
+PKGREVISION= 2
CATEGORIES= devel python
MASTER_SITES= ${MASTER_SITE_PYPI:=l/llvmlite/}
DIST_SUBDIR= ${DISTNAME}
@@ -22,4 +22,12 @@
BUILDLINK_API_DEPENDS.llvm+= llvm>=5.0.0
.include "../../lang/llvm/buildlink3.mk"
.include "../../lang/python/egg.mk"
+
+post-install:
+.if ${OPSYS} == "Darwin"
+ install_name_tool -id \
+ ${PREFIX}/${PYSITELIB}/llvmlite/binding/libllvmlite.dylib \
+ ${DESTDIR}${PREFIX}/${PYSITELIB}/llvmlite/binding/libllvmlite.dylib
+.endif
+
.include "../../mk/bsd.pkg.mk"
Home |
Main Index |
Thread Index |
Old Index