summaryrefslogtreecommitdiff
path: root/security/botan
diff options
context:
space:
mode:
authorhe <he@pkgsrc.org>2016-06-09 07:20:57 +0000
committerhe <he@pkgsrc.org>2016-06-09 07:20:57 +0000
commitd85e35ca9f134b8088fe85c7adb4a5ccd54bf499 (patch)
tree9560e4a3680ff2c7965d7be83c0343e451145024 /security/botan
parent82670b294bd4f49b440686182bee8ef6a70f4c01 (diff)
downloadpkgsrc-d85e35ca9f134b8088fe85c7adb4a5ccd54bf499.tar.gz
Separate out files only installed on SunOS.
Make a temporary hack for non-SunOS, not yet fully verified; this somehow needs to mirror what the package's configure.py figures out, and expressing that properly and portably in pkgsrc seems hard.
Diffstat (limited to 'security/botan')
-rw-r--r--security/botan/Makefile7
-rw-r--r--security/botan/PLIST6
-rw-r--r--security/botan/PLIST.SunOS3
-rw-r--r--security/botan/PLIST.non-SunOS5
4 files changed, 15 insertions, 6 deletions
diff --git a/security/botan/Makefile b/security/botan/Makefile
index 85ee4114eeb..23b9f4dfca1 100644
--- a/security/botan/Makefile
+++ b/security/botan/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.36 2016/05/23 06:52:54 kre Exp $
+# $NetBSD: Makefile,v 1.37 2016/06/09 07:20:57 he Exp $
DISTNAME= Botan-1.10.12
PKGNAME= ${DISTNAME:tl}
@@ -43,5 +43,10 @@ CONFIGURE_ARGS+= --cpu=ppc64
CONFIGURE_ARGS+= --cpu=arm
.endif
+.if ${OPSYS} != "SunOS"
+PLIST_SRC+= PLIST
+PLIST_SRC+= PLIST.non-SunOS
+.endif
+
.include "../../lang/python/application.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/security/botan/PLIST b/security/botan/PLIST
index 19d7df06214..1ff9574b9c8 100644
--- a/security/botan/PLIST
+++ b/security/botan/PLIST
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.3 2016/06/08 08:19:52 he Exp $
+@comment $NetBSD: PLIST,v 1.4 2016/06/09 07:20:57 he Exp $
bin/botan-config-1.10
include/botan-1.10/botan/adler32.h
include/botan-1.10/botan/aes.h
@@ -118,9 +118,7 @@ include/botan-1.10/botan/mac.h
include/botan-1.10/botan/mars.h
include/botan-1.10/botan/md2.h
include/botan-1.10/botan/md4.h
-${PLIST.x86}include/botan-1.10/botan/md4_x86_32.h
include/botan-1.10/botan/md5.h
-${PLIST.x86}include/botan-1.10/botan/md5_x86_32.h
include/botan-1.10/botan/mdx_hash.h
include/botan-1.10/botan/mem_ops.h
include/botan-1.10/botan/mgf1.h
@@ -179,10 +177,8 @@ include/botan-1.10/botan/secqueue.h
include/botan-1.10/botan/seed.h
include/botan-1.10/botan/selftest.h
include/botan-1.10/botan/serp_simd.h
-${PLIST.x86}include/botan-1.10/botan/serp_x86_32.h
include/botan-1.10/botan/serpent.h
include/botan-1.10/botan/sha160.h
-${PLIST.x86}include/botan-1.10/botan/sha1_x86_32.h
${PLIST.x86_64}include/botan-1.10/botan/sha1_x86_64.h
include/botan-1.10/botan/sha2_32.h
include/botan-1.10/botan/sha2_64.h
diff --git a/security/botan/PLIST.SunOS b/security/botan/PLIST.SunOS
new file mode 100644
index 00000000000..96083cf9e8d
--- /dev/null
+++ b/security/botan/PLIST.SunOS
@@ -0,0 +1,3 @@
+@comment $NetBSD: PLIST.SunOS,v 1.4 2016/06/09 07:20:57 he Exp $
+${PLIST.x86}include/botan-1.10/botan/idea_sse2.h
+${PLIST.x86}include/botan-1.10/botan/sha1_sse2.h
diff --git a/security/botan/PLIST.non-SunOS b/security/botan/PLIST.non-SunOS
new file mode 100644
index 00000000000..82ad58a04c9
--- /dev/null
+++ b/security/botan/PLIST.non-SunOS
@@ -0,0 +1,5 @@
+@comment $NetBSD: PLIST.non-SunOS,v 1.1 2016/06/09 07:20:57 he Exp $
+${PLIST.x86}include/botan-1.10/botan/md4_x86_32.h
+${PLIST.x86}include/botan-1.10/botan/md5_x86_32.h
+${PLIST.x86}include/botan-1.10/botan/serp_x86_32.h
+${PLIST.x86}include/botan-1.10/botan/sha1_x86_32.h