summaryrefslogtreecommitdiffstats
path: root/security/py-hashlib
diff options
context:
space:
mode:
authoralexbl <alexbl@FreeBSD.org>2006-12-13 23:17:50 +0000
committeralexbl <alexbl@FreeBSD.org>2006-12-13 23:17:50 +0000
commitaca643681af7f9f65a9a0abbcc059d1986b1e5df (patch)
treeccd2887a7b65b4d0120a0c5fb8157a57bea5fa77 /security/py-hashlib
parente8158eb7131c13739269c15a3f0002182ef8dbc6 (diff)
downloadFreeBSD-ports-aca643681af7f9f65a9a0abbcc059d1986b1e5df.zip
FreeBSD-ports-aca643681af7f9f65a9a0abbcc059d1986b1e5df.tar.gz
- Unbreak on 7.0 (hopefully..)
Submitted by: pointyhat via kris
Diffstat (limited to 'security/py-hashlib')
-rw-r--r--security/py-hashlib/Makefile6
-rw-r--r--security/py-hashlib/pkg-plist4
2 files changed, 8 insertions, 2 deletions
diff --git a/security/py-hashlib/Makefile b/security/py-hashlib/Makefile
index 20cd0ab..45199d9 100644
--- a/security/py-hashlib/Makefile
+++ b/security/py-hashlib/Makefile
@@ -23,6 +23,12 @@ USE_PYDISTUTILS= yes
IGNORE= hashlib ships with Python 2.5.x
.endif
+.if ${OSVERSION} >= 700019
+PLIST_SUB+= OSSL="@comment "
+.else
+PLIST_SUB+= OSSL=""
+.endif
+
PYDISTUTIL_BUILDARGS= --openssl-prefix=${OPENSSLDIR} --openssl-incdir=${OPENSSLINC} --openssl-libdir=${OPENSSLLIB}
.include <bsd.port.post.mk>
diff --git a/security/py-hashlib/pkg-plist b/security/py-hashlib/pkg-plist
index 6e5d6f2..5c4b533 100644
--- a/security/py-hashlib/pkg-plist
+++ b/security/py-hashlib/pkg-plist
@@ -5,5 +5,5 @@
%%PYTHON_SITELIBDIR%%/test_hashlib.pyc
%%PYTHON_SITELIBDIR%%/test_hashlib.pyo
%%PYTHON_SITELIBDIR%%/_hashlib.so
-%%PYTHON_SITELIBDIR%%/_sha256.so
-%%PYTHON_SITELIBDIR%%/_sha512.so
+%%OSSL%%%%PYTHON_SITELIBDIR%%/_sha256.so
+%%OSSL%%%%PYTHON_SITELIBDIR%%/_sha512.so
OpenPOWER on IntegriCloud