ports/51492: [patch] mail/pine4 can not be build with OpenSSL from ports

Oleg Sharoiko os at rsu.ru
Mon Apr 28 12:30:13 UTC 2003


>Number:         51492
>Category:       ports
>Synopsis:       [patch] mail/pine4 can not be build with OpenSSL from ports
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Mon Apr 28 05:30:10 PDT 2003
>Closed-Date:
>Last-Modified:
>Originator:     Oleg Sharoiko
>Release:        FreeBSD 4.8-RELEASE i386
>Organization:
>Environment:
System: FreeBSD brain.cc.rsu.ru 4.8-RELEASE FreeBSD 4.8-RELEASE #0: Mon Apr 28 11:38:32 GMT 2003 os at make.cc.rsu.ru:/usr/src/sys/compile/brain.k7.RELENG_4.2003-04-25 i386


	
>Description:
	mail/pine4 uses USE_OPENSSL from bsd.ports/mk which makes it
	impossible to build pine with OpenSSL from ports. The applied patch
	solves the problem by using security/openssl/bsd.openssl.mk and
	bsd.port.pre.mk + bsd.port.post.mk instead of bsd.port.mk

>How-To-Repeat:
	
>Fix:

	The patch for mail/pine4/Makefile:

--- Makefile    19 Apr 2003 05:43:02 -0000      1.70
+++ Makefile    28 Apr 2003 12:12:59 -0000
@@ -23,6 +23,8 @@
 
 RUN_DEPENDS=   ispell:${PORTSDIR}/textproc/ispell
 
+.include <bsd.port.pre.mk>
+
 # Define "WITH_LDAP" to include ldap support.
 # If the ldap port is installed somewhere other than /usr/local, define
 # LDAP_PREFIX as well.
@@ -35,7 +37,7 @@
 .if defined(WITHOUT_SSL)
 MAKE_ARGS+=    SSLTYPE=none
 .else
-USE_OPENSSL=   yes
+.include "${PORTSDIR}/security/openssl/bsd.openssl.mk"
 EXTRA_OPTS=    SSLINCLUDE=${OPENSSLINC} SSLLIB=${OPENSSLLIB}
 .if defined(WITH_SSL_AND_PLAINTEXT)
 EXTRA_OPTS+=   SSLTYPE=unix
@@ -96,4 +98,4 @@
 
        @${CAT} pkg-message
 
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>

>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list