diff options
author | alexbl <alexbl@FreeBSD.org> | 2006-12-13 23:17:50 +0000 |
---|---|---|
committer | alexbl <alexbl@FreeBSD.org> | 2006-12-13 23:17:50 +0000 |
commit | aca643681af7f9f65a9a0abbcc059d1986b1e5df (patch) | |
tree | ccd2887a7b65b4d0120a0c5fb8157a57bea5fa77 /security/py-hashlib | |
parent | e8158eb7131c13739269c15a3f0002182ef8dbc6 (diff) | |
download | FreeBSD-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/Makefile | 6 | ||||
-rw-r--r-- | security/py-hashlib/pkg-plist | 4 |
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 |