pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/security/botan-devel botan-devel: Fix PLIST on non-x86.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/3ad6188a58fd
branches:  trunk
changeset: 459193:3ad6188a58fd
user:      nia <nia%pkgsrc.org@localhost>
date:      Fri Oct 01 12:13:08 2021 +0000

description:
botan-devel: Fix PLIST on non-x86.

diffstat:

 security/botan-devel/Makefile |  5 ++++-
 security/botan-devel/PLIST    |  6 +++---
 2 files changed, 7 insertions(+), 4 deletions(-)

diffs (48 lines):

diff -r 3390931973c6 -r 3ad6188a58fd security/botan-devel/Makefile
--- a/security/botan-devel/Makefile     Fri Oct 01 11:58:00 2021 +0000
+++ b/security/botan-devel/Makefile     Fri Oct 01 12:13:08 2021 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.42 2021/09/29 19:00:12 adam Exp $
+# $NetBSD: Makefile,v 1.43 2021/10/01 12:13:08 nia Exp $
 
 DISTNAME=      Botan-2.17.3
 PKGNAME=       ${DISTNAME:tl}
@@ -32,9 +32,12 @@
 CONFIGURE_ARGS+=       --cc=gcc
 .endif
 
+PLIST_VARS+=           x86
 .if ${MACHINE_ARCH} == "x86_64"
+PLIST.x86=             yes
 CONFIGURE_ARGS+=       --cpu=amd64
 .elif ${MACHINE_ARCH} == "i386"
+PLIST.x86=             yes
 CONFIGURE_ARGS+=       --cpu=i386
 .elif ${MACHINE_ARCH} == "powerpc"
 CONFIGURE_ARGS+=       --cpu=ppc
diff -r 3390931973c6 -r 3ad6188a58fd security/botan-devel/PLIST
--- a/security/botan-devel/PLIST        Fri Oct 01 11:58:00 2021 +0000
+++ b/security/botan-devel/PLIST        Fri Oct 01 12:13:08 2021 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.11 2021/03/07 17:56:25 he Exp $
+@comment $NetBSD: PLIST,v 1.12 2021/10/01 12:13:08 nia Exp $
 bin/botan
 include/botan-2/botan/adler32.h
 include/botan-2/botan/aead.h
@@ -210,14 +210,14 @@
 include/botan-2/botan/pow_mod.h
 include/botan-2/botan/prf_tls.h
 include/botan-2/botan/prf_x942.h
-include/botan-2/botan/processor_rng.h
+${PLIST.x86}include/botan-2/botan/processor_rng.h
 include/botan-2/botan/psk_db.h
 include/botan-2/botan/psk_db_sql.h
 include/botan-2/botan/pssr.h
 include/botan-2/botan/pubkey.h
 include/botan-2/botan/pwdhash.h
 include/botan-2/botan/rc4.h
-include/botan-2/botan/rdrand_rng.h
+${PLIST.x86}include/botan-2/botan/rdrand_rng.h
 include/botan-2/botan/reducer.h
 include/botan-2/botan/rfc3394.h
 include/botan-2/botan/rfc6979.h



Home | Main Index | Thread Index | Old Index