pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/security/hs-crypton
Module Name: pkgsrc
Committed By: pho
Date: Sat Oct 28 06:06:11 UTC 2023
Modified Files:
pkgsrc/security/hs-crypton: Makefile PLIST
Log Message:
security/hs-crypton: Fix PLIST, some modules are only built on specific platforms
To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 pkgsrc/security/hs-crypton/Makefile \
pkgsrc/security/hs-crypton/PLIST
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/security/hs-crypton/Makefile
diff -u pkgsrc/security/hs-crypton/Makefile:1.1 pkgsrc/security/hs-crypton/Makefile:1.2
--- pkgsrc/security/hs-crypton/Makefile:1.1 Fri Oct 27 10:58:52 2023
+++ pkgsrc/security/hs-crypton/Makefile Sat Oct 28 06:06:11 2023
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1 2023/10/27 10:58:52 pho Exp $
+# $NetBSD: Makefile,v 1.2 2023/10/28 06:06:11 pho Exp $
DISTNAME= crypton-0.33
CATEGORIES= security
@@ -7,6 +7,13 @@ MAINTAINER= pkgsrc-users%NetBSD.org@localhost
COMMENT= Cryptography Primitives sink
LICENSE= modified-bsd
+# Some modules are only built on specific platforms.
+PLIST_VARS+= x86
+.if ${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "x86_64"
+PLIST.x86= yes
+.endif
+PRINT_PLIST_AWK+= /\/Entropy\/RDRand\./ { $$0 = "$${PLIST.x86}" $$0 }
+
.include "../../devel/hs-basement/buildlink3.mk"
.include "../../devel/hs-memory/buildlink3.mk"
.include "../../mk/haskell.mk"
Index: pkgsrc/security/hs-crypton/PLIST
diff -u pkgsrc/security/hs-crypton/PLIST:1.1 pkgsrc/security/hs-crypton/PLIST:1.2
--- pkgsrc/security/hs-crypton/PLIST:1.1 Fri Oct 27 10:58:52 2023
+++ pkgsrc/security/hs-crypton/PLIST Sat Oct 28 06:06:11 2023
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.1 2023/10/27 10:58:52 pho Exp $
+@comment $NetBSD: PLIST,v 1.2 2023/10/28 06:06:11 pho Exp $
lib/crypton-${PKGVERSION}/${HS_VERSION}/package-description
lib/crypton-${PKGVERSION}/${HS_VERSION}/package-id
${PLIST.shlibs}lib/${HS_PLATFORM}/${HS_PKGID}/Crypto/Cipher/AES.dyn_hi
@@ -382,9 +382,9 @@ ${PLIST.prof}lib/${HS_PLATFORM}/${HS_PKG
${PLIST.shlibs}lib/${HS_PLATFORM}/${HS_PKGID}/Crypto/Random/Entropy/Backend.dyn_hi
lib/${HS_PLATFORM}/${HS_PKGID}/Crypto/Random/Entropy/Backend.hi
${PLIST.prof}lib/${HS_PLATFORM}/${HS_PKGID}/Crypto/Random/Entropy/Backend.p_hi
-${PLIST.shlibs}lib/${HS_PLATFORM}/${HS_PKGID}/Crypto/Random/Entropy/RDRand.dyn_hi
-lib/${HS_PLATFORM}/${HS_PKGID}/Crypto/Random/Entropy/RDRand.hi
-${PLIST.prof}lib/${HS_PLATFORM}/${HS_PKGID}/Crypto/Random/Entropy/RDRand.p_hi
+${PLIST.shlibs}${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.prof}${PLIST.x86}lib/${HS_PLATFORM}/${HS_PKGID}/Crypto/Random/Entropy/RDRand.p_hi
${PLIST.shlibs}lib/${HS_PLATFORM}/${HS_PKGID}/Crypto/Random/Entropy/Source.dyn_hi
lib/${HS_PLATFORM}/${HS_PKGID}/Crypto/Random/Entropy/Source.hi
${PLIST.prof}lib/${HS_PLATFORM}/${HS_PKGID}/Crypto/Random/Entropy/Source.p_hi
Home |
Main Index |
Thread Index |
Old Index