pkgsrc-Changes archive

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

CVS commit: pkgsrc/security/py-bcrypt



Module Name:    pkgsrc
Committed By:   tnn
Date:           Wed Nov 15 15:28:53 UTC 2023

Modified Files:
        pkgsrc/security/py-bcrypt: Makefile

Log Message:
py-bcrypt: fix Darwin rpath issue


To generate a diff of this commit:
cvs rdiff -u -r1.18 -r1.19 pkgsrc/security/py-bcrypt/Makefile

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

Modified files:

Index: pkgsrc/security/py-bcrypt/Makefile
diff -u pkgsrc/security/py-bcrypt/Makefile:1.18 pkgsrc/security/py-bcrypt/Makefile:1.19
--- pkgsrc/security/py-bcrypt/Makefile:1.18     Mon Nov 13 10:50:06 2023
+++ pkgsrc/security/py-bcrypt/Makefile  Wed Nov 15 15:28:53 2023
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.18 2023/11/13 10:50:06 wiz Exp $
+# $NetBSD: Makefile,v 1.19 2023/11/15 15:28:53 tnn Exp $
 
 DISTNAME=      bcrypt-4.0.1
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
@@ -19,6 +19,14 @@ PYTHON_VERSIONS_INCOMPATIBLE=        27
 
 .include "cargo-depends.mk"
 
+.include "../../mk/bsd.prefs.mk"
+
+.if ${OPSYS} == "Darwin"
+post-install:
+       install_name_tool -id ${PREFIX}/${PYSITELIB}/bcrypt/_bcrypt.abi3.so \
+       ${DESTDIR}${PREFIX}/${PYSITELIB}/bcrypt/_bcrypt.abi3.so
+.endif
+
 .include "../../lang/python/wheel.mk"
 .include "../../lang/rust/cargo.mk"
 .include "../../mk/bsd.pkg.mk"



Home | Main Index | Thread Index | Old Index