Date: Mon, 9 Jan 2006 16:46:26 +0100 (CET) From: Oliver Lehmann <oliver@FreeBSD.org> To: FreeBSD-gnats-submit@FreeBSD.org Cc: Oliver Lehmann <oliver@FreeBSD.org> Subject: ports/91563: fix port sysutils/ucspi-tcp Message-ID: <200601091546.k09FkQST035710@kartoffel.salatschuessel.net> Resent-Message-ID: <200601091750.k09Ho7Rb097448@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 91563 >Category: ports >Synopsis: fix port sysutils/ucspi-tcp >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 Jan 09 17:50:02 GMT 2006 >Closed-Date: >Last-Modified: >Originator: Oliver Lehmann >Release: FreeBSD 6.0-STABLE amd64 >Organization: >Environment: System: FreeBSD kartoffel.salatschuessel.net 6.0-STABLE FreeBSD 6.0-STABLE #0: Sat Dec 31 04:18:31 CET 2005 olivleh1@kartoffel.salatschuessel.net:/usr/obj/amd64-athlon64-6.0/usr/src/sys/KARTOFFEL amd64 >Description: fix SSL support if openssl is installed from ports and does not exists in base >How-To-Repeat: >Fix: --- ucspi-tcp::Makefile.diff begins here --- --- Makefile.orig Mon Nov 7 18:01:43 2005 +++ Makefile Mon Jan 9 12:16:57 2006 @@ -26,6 +26,10 @@ SCRIPTS_ENV= BINOWN="${BINOWN}" BINGRP="${BINGRP}" BINMODE="${BINMODE}" \ MANMODE="${MANMODE}" CFLAGS="${CFLAGS}" +.if defined(WITH_SSL) +USE_OPENSSL= yes +.endif + .include <bsd.port.pre.mk> .if !defined(WITHOUT_MAN) @@ -46,6 +50,11 @@ PATCH_SITES+= http://www.nrg4u.com/qmail/ PATCHFILES+= ucspi-tcp-ssl-20050405.patch.gz PATCH_DIST_STRIP= -p1 +USE_REINPLACE= yes + +post-patch: + @${REINPLACE_CMD} -e 's|#INCS=-I/usr/local/include|INCS=-I${OPENSSLBASE}/include|g; \ + s|-lcrypto|-L${OPENSSLBASE}/lib |g' ${WRKSRC}/Makefile .endif post-configure: --- ucspi-tcp::Makefile.diff ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200601091546.k09FkQST035710>