ports/91563: fix port sysutils/ucspi-tcp
Oliver Lehmann
oliver at FreeBSD.org
Mon Jan 9 17:50:12 UTC 2006
>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 at 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:
More information about the freebsd-ports-bugs
mailing list