ports/115532: [PATCH] security/py-openssl: respect bsd.openssl.mk

Piet Delport pjd at satori.za.net
Tue Aug 14 23:10:02 UTC 2007


>Number:         115532
>Category:       ports
>Synopsis:       [PATCH] security/py-openssl:  respect bsd.openssl.mk
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Aug 14 23:10:01 GMT 2007
>Closed-Date:
>Last-Modified:
>Originator:     
>Release:        
>Organization:
>Environment:
>Description:
(Maintainer CCed.)

The port enables USE_OPENSSL but does not pass on the provided configuration
variables, leading to errors when (for example) both base and port versions of
OpenSSL are installed.

>How-To-Repeat:
>Fix:

--- py-openssl.patch begins here ---
diff -ruN /usr/ports/security/py-openssl/Makefile py-openssl/Makefile
--- /usr/ports/security/py-openssl/Makefile	Mon Jul 30 11:41:56 2007
+++ py-openssl/Makefile	Mon Aug 13 17:41:29 2007
@@ -23,4 +23,9 @@
 PYDISTUTILS_PKGNAME=	pyOpenSSL
 USE_OPENSSL=	yes
 
+do-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>
--- py-openssl.patch ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list