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:   minskim
Date:           Wed May 30 14:32:16 UTC 2018

Modified Files:
        pkgsrc/devel/py-llvmlite: Makefile

Log Message:
devel/py-llvmlite: Fix the installation id on Darwin


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 pkgsrc/devel/py-llvmlite/Makefile

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.3 pkgsrc/devel/py-llvmlite/Makefile:1.4
--- pkgsrc/devel/py-llvmlite/Makefile:1.3       Tue May 22 19:11:48 2018
+++ pkgsrc/devel/py-llvmlite/Makefile   Wed May 30 14:32:16 2018
@@ -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 @@ DEPENDS+=    ${PYPKGPREFIX}-enum34-[0-9]*:.
 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