pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/security/hs-cryptonite hs-cryptonite: Fix PLIST on aar...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/8156cc5dbdd8
branches:  trunk
changeset: 385691:8156cc5dbdd8
user:      nia <nia%pkgsrc.org@localhost>
date:      Sat Sep 24 08:19:03 2022 +0000

description:
hs-cryptonite: Fix PLIST on aarch64

diffstat:

 security/hs-cryptonite/Makefile |  7 ++++++-
 security/hs-cryptonite/PLIST    |  8 ++++----
 2 files changed, 10 insertions(+), 5 deletions(-)

diffs (43 lines):

diff -r 7af8fe4e9d36 -r 8156cc5dbdd8 security/hs-cryptonite/Makefile
--- a/security/hs-cryptonite/Makefile   Sat Sep 24 08:17:16 2022 +0000
+++ b/security/hs-cryptonite/Makefile   Sat Sep 24 08:19:03 2022 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.9 2022/09/07 06:50:50 pho Exp $
+# $NetBSD: Makefile,v 1.10 2022/09/24 08:19:03 nia Exp $
 
 DISTNAME=      cryptonite-0.30
 PKGREVISION=   1
@@ -8,6 +8,11 @@
 COMMENT=       Cryptography Primitives sink
 LICENSE=       modified-bsd
 
+PLIST_VARS+=   x86
+.if ${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "x86_64"
+PLIST.x86=     yes
+.endif
+
 .include "../../devel/hs-basement/buildlink3.mk"
 .include "../../devel/hs-memory/buildlink3.mk"
 .include "../../mk/haskell.mk"
diff -r 7af8fe4e9d36 -r 8156cc5dbdd8 security/hs-cryptonite/PLIST
--- a/security/hs-cryptonite/PLIST      Sat Sep 24 08:17:16 2022 +0000
+++ b/security/hs-cryptonite/PLIST      Sat Sep 24 08:19:03 2022 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.3 2022/02/11 13:10:15 pho Exp $
+@comment $NetBSD: PLIST,v 1.4 2022/09/24 08:19:03 nia Exp $
 lib/cryptonite-${PKGVERSION}/${HS_VERSION}/package-description
 lib/cryptonite-${PKGVERSION}/${HS_VERSION}/package-id
 lib/${HS_PLATFORM}/${HS_PKGID}/Crypto/Cipher/AES.dyn_hi
@@ -382,9 +382,9 @@
 lib/${HS_PLATFORM}/${HS_PKGID}/Crypto/Random/Entropy/Backend.dyn_hi
 lib/${HS_PLATFORM}/${HS_PKGID}/Crypto/Random/Entropy/Backend.hi
 lib/${HS_PLATFORM}/${HS_PKGID}/Crypto/Random/Entropy/Backend.p_hi
-lib/${HS_PLATFORM}/${HS_PKGID}/Crypto/Random/Entropy/RDRand.dyn_hi
-lib/${HS_PLATFORM}/${HS_PKGID}/Crypto/Random/Entropy/RDRand.hi
-lib/${HS_PLATFORM}/${HS_PKGID}/Crypto/Random/Entropy/RDRand.p_hi
+${PLIST.x86}lib/${HS_PLATFORM}/${HS_PKGID}/Crypto/Random/Entropy/RDRand.dyn_hi
+${PLIST.x86}lib/${HS_PLATFORM}/${HS_PKGID}/Crypto/Random/Entropy/RDRand.hi
+${PLIST.x86}lib/${HS_PLATFORM}/${HS_PKGID}/Crypto/Random/Entropy/RDRand.p_hi
 lib/${HS_PLATFORM}/${HS_PKGID}/Crypto/Random/Entropy/Source.dyn_hi
 lib/${HS_PLATFORM}/${HS_PKGID}/Crypto/Random/Entropy/Source.hi
 lib/${HS_PLATFORM}/${HS_PKGID}/Crypto/Random/Entropy/Source.p_hi



Home | Main Index | Thread Index | Old Index