aboutsummaryrefslogtreecommitdiffstats
path: root/security/scrypt
diff options
context:
space:
mode:
authoramdmi3 <amdmi3@FreeBSD.org>2009-05-30 23:02:39 +0800
committeramdmi3 <amdmi3@FreeBSD.org>2009-05-30 23:02:39 +0800
commit0bde605bcfdb5e5abf43a219face700995f6eb1c (patch)
treebed7e699b5449464010f3db2db35deeb3277beb4 /security/scrypt
parent3b9c4fa81a9043a6f638e92cfe276a265fc51c82 (diff)
downloadfreebsd-ports-gnome-0bde605bcfdb5e5abf43a219face700995f6eb1c.tar.gz
freebsd-ports-gnome-0bde605bcfdb5e5abf43a219face700995f6eb1c.tar.zst
freebsd-ports-gnome-0bde605bcfdb5e5abf43a219face700995f6eb1c.zip
- Add SSE2 OPTION
PR: 135064 Submitted by: Colin Percival <cperciva@tarsnap.com> Approved by: wen heping <wenheping@gmail.com> (maintainer)
Diffstat (limited to 'security/scrypt')
-rw-r--r--security/scrypt/Makefile10
1 files changed, 10 insertions, 0 deletions
diff --git a/security/scrypt/Makefile b/security/scrypt/Makefile
index a9d19ebf85c3..690eccc6cc73 100644
--- a/security/scrypt/Makefile
+++ b/security/scrypt/Makefile
@@ -21,4 +21,14 @@ PLIST_FILES= bin/scrypt
MAN1= scrypt.1
+OPTIONS= SSE2 "Use SSE2-optimized code" Off
+
+.include <bsd.port.options.mk>
+
+.if defined(WITH_SSE2)
+CONFIGURE_ARGS+= --enable-sse2
+.else
+CONFIGURE_ARGS+= --disable-sse2
+.endif
+
.include <bsd.port.mk>