diff options
-rw-r--r-- | security/hs-cryptonite/Makefile | 7 | ||||
-rw-r--r-- | security/hs-cryptonite/PLIST | 8 |
2 files changed, 10 insertions, 5 deletions
diff --git a/security/hs-cryptonite/Makefile b/security/hs-cryptonite/Makefile index 0adfa76a774..75406e732fd 100644 --- a/security/hs-cryptonite/Makefile +++ b/security/hs-cryptonite/Makefile @@ -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 @@ MAINTAINER= pho@cielonegro.org 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 --git a/security/hs-cryptonite/PLIST b/security/hs-cryptonite/PLIST index 755bb537d9e..5b67c5a5e53 100644 --- a/security/hs-cryptonite/PLIST +++ b/security/hs-cryptonite/PLIST @@ -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.p_hi 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 |