summaryrefslogtreecommitdiff
path: root/security/ssleay/files/NetBSD.sh
diff options
context:
space:
mode:
Diffstat (limited to 'security/ssleay/files/NetBSD.sh')
-rwxr-xr-xsecurity/ssleay/files/NetBSD.sh20
1 files changed, 20 insertions, 0 deletions
diff --git a/security/ssleay/files/NetBSD.sh b/security/ssleay/files/NetBSD.sh
new file mode 100755
index 00000000000..1416c967d18
--- /dev/null
+++ b/security/ssleay/files/NetBSD.sh
@@ -0,0 +1,20 @@
+#!/bin/sh
+
+perl util/perlpath.pl /usr/pkg/bin
+perl util/ssldir.pl /usr/pkg
+
+case `uname -m` in
+ i386)
+ conf=NetBSD-x86
+ ;;
+ sparc)
+ conf=NetBSD-sparc
+ ;;
+ m68k)
+ conf=NetBSD-m86 # yes, this really IS m86, not m68!
+ ;;
+ *)
+ echo "Not supported on this architecture, sorry."
+ ;;
+esac
+perl Configure $conf