aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorperky <perky@FreeBSD.org>2007-08-18 18:55:26 +0800
committerperky <perky@FreeBSD.org>2007-08-18 18:55:26 +0800
commitdec52f600d2c27666e672d171438e92ea995a8f7 (patch)
treec9186a1f3d1f2da5c869077b364a5bc0a320358a
parent982ef11c0c3c56e5f87ec5f4bb9e0c8985fa3572 (diff)
downloadfreebsd-ports-gnome-dec52f600d2c27666e672d171438e92ea995a8f7.tar.gz
freebsd-ports-gnome-dec52f600d2c27666e672d171438e92ea995a8f7.tar.zst
freebsd-ports-gnome-dec52f600d2c27666e672d171438e92ea995a8f7.zip
Fix port to use openssl configurations provided by bsd.openssl.mk.
PR: 115532 Submitted by: Piet Delport <pjd@satori.za.net>
-rw-r--r--security/py-openssl/Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/security/py-openssl/Makefile b/security/py-openssl/Makefile
index 26216fa9c670..5f4fdb942d7c 100644
--- a/security/py-openssl/Makefile
+++ b/security/py-openssl/Makefile
@@ -23,4 +23,9 @@ USE_PYDISTUTILS= yes
PYDISTUTILS_PKGNAME= pyOpenSSL
USE_OPENSSL= yes
+pre-configure:
+ @${ECHO_CMD} "[build_ext]" >> ${WRKSRC}/setup.cfg
+ @${ECHO_CMD} "include-dirs = ${OPENSSLINC}" >> ${WRKSRC}/setup.cfg
+ @${ECHO_CMD} "library-dirs = ${OPENSSLLIB}" >> ${WRKSRC}/setup.cfg
+
.include <bsd.port.mk>