pkgsrc-Changes archive

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

CVS commit: pkgsrc/security/ccid



Module Name:    pkgsrc
Committed By:   adam
Date:           Wed Mar 20 13:30:25 UTC 2024

Modified Files:
        pkgsrc/security/ccid: Makefile

Log Message:
ccid: on Darwin, change dylib id using install_name_tool


To generate a diff of this commit:
cvs rdiff -u -r1.43 -r1.44 pkgsrc/security/ccid/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/ccid/Makefile
diff -u pkgsrc/security/ccid/Makefile:1.43 pkgsrc/security/ccid/Makefile:1.44
--- pkgsrc/security/ccid/Makefile:1.43  Sat Jan  6 13:48:35 2024
+++ pkgsrc/security/ccid/Makefile       Wed Mar 20 13:30:24 2024
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.43 2024/01/06 13:48:35 gdt Exp $
+# $NetBSD: Makefile,v 1.44 2024/03/20 13:30:24 adam Exp $
 
 DISTNAME=      ccid-1.5.5
 CATEGORIES=    security
@@ -40,6 +40,15 @@ REPLACE_PERL=                src/convert_version.pl sr
 INSTALLATION_DIRS=     bin ${PKGMANDIR}/man1 ${PKGMANDIR}/man8
 INSTALLATION_DIRS+=    sbin share/doc/ccid
 
+.if ${OPSYS} == "Darwin"
+.PHONY: fix-darwin-install-name
+post-install: fix-darwin-install-name
+fix-darwin-install-name:
+       install_name_tool -id \
+               ${PREFIX}/lib/pcsc-lite/drivers/ifd-ccid.bundle/Contents/MacOS/libccid.dylib \
+               ${DESTDIR}${PREFIX}/lib/pcsc-lite/drivers/ifd-ccid.bundle/Contents/MacOS/libccid.dylib
+.endif
+
 post-install:
        ${INSTALL_DATA} ${WRKSRC}/README.md ${DESTDIR}${PREFIX}/share/doc/ccid/README.md
        ${INSTALL_PROGRAM} ${WRKSRC}/contrib/RSA_SecurID/RSA_SecurID_getpasswd \



Home | Main Index | Thread Index | Old Index