Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 14 Jan 2003 21:17:26 +1100 (EST)
From:      Chris Knight <chris@aims.com.au>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/47041: [BENTO FIX]
Message-ID:  <200301141017.h0EAHQDQ005344@ait0fd01.aims.private>

next in thread | raw e-mail | index | archive | help

>Number:         47041
>Category:       ports
>Synopsis:       [BENTO FIX]
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Tue Jan 14 02:20:01 PST 2003
>Closed-Date:
>Last-Modified:
>Originator:     Chris Knight
>Release:        FreeBSD 4.7-RELEASE-p3 i386
>Organization:
AIMS Independent Computer Professionals
>Environment:
System: FreeBSD ait0fd01.aims.private 4.7-RELEASE-p3 FreeBSD 4.7-RELEASE-p3 #0: Wed Jan 8 14:54:16 EST 2003 root@ait0fd01.aims.private:/usr/src/sys/compile/THINKPAD i386

>Description:
courier's configure stage looks for c_rehash in the rootcerts subdirectory.
c_rehash is a perl script that is included in the OpenSSl distribution.
c_rehash got ripped from 5.x as part of the perl cleanup.
So, the quickest fix is to make courier depend on the OpenSSL port.
There is a better way of doing this, but in its absence is this :-)

>How-To-Repeat:
Build courier on a 5.x box without the OpenSSL port installed.

>Fix:
Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/mail/courier/Makefile,v
retrieving revision 1.11
diff -u -r1.11 Makefile
--- Makefile	21 Aug 2002 01:53:42 -0000	1.11
+++ Makefile	14 Jan 2003 09:52:25 -0000
@@ -118,6 +118,12 @@
 .include "${.CURDIR}/Makefile.doc"
 .include "${.CURDIR}/Makefile.own"
 
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} > 500042
+BUILD_DEPENDS=		${LOCALBASE}/bin/c_rehash:${PORTSDIR}/security/openssl
+.endif
+
 pre-everything::
 	@${SETENV} ${SCRIPTS_ENV} ${SH} ${SCRIPTDIR}/configure.${PORTNAME}
 
@@ -203,4 +209,4 @@
 post-clean:
 	@${RM} -f ${WRKDIRPREFIX}${.CURDIR}/Makefile.inc
 
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200301141017.h0EAHQDQ005344>