ports/105791: fix openssl support for www/lynx-ssl
Oliver Lehmann
oliver at FreeBSD.org
Thu Nov 23 16:20:12 UTC 2006
>Number: 105791
>Category: ports
>Synopsis: fix openssl support for www/lynx-ssl
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: update
>Submitter-Id: current-users
>Arrival-Date: Thu Nov 23 16:20:11 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator: Oliver Lehmann
>Release: FreeBSD 6.1-STABLE amd64
>Organization:
>Environment:
System: FreeBSD kartoffel.salatschuessel.net 6.1-STABLE FreeBSD 6.1-STABLE #0: Mon Sep 11 09:55:49 CEST 2006 olivleh1 at kartoffel.salatschuessel.net:/usr/obj/amd64-athlon64-6.1/usr/src/sys/KARTOFFEL amd64
>Description:
openssl is not detected when there is no openssl in base, only in LOCALBASE
the attached patch fixes that
>How-To-Repeat:
>Fix:
--- lynx.patch begins here ---
Index: lynx-ssl/Makefile
===================================================================
RCS file: /usr/local/cvsroot/ports/www/lynx-ssl/Makefile,v
retrieving revision 1.20
diff -u -r1.20 Makefile
--- lynx-ssl/Makefile 10 Feb 2004 20:55:55 -0000 1.20
+++ lynx-ssl/Makefile 23 Nov 2006 16:14:01 -0000
@@ -13,7 +13,9 @@
DESCR= ${.CURDIR}/pkg-descr
CONFIGURE_ARGS+= --with-ssl
+CONFIGURE_ENV+= CFLAGS="${CFLAGS} -I${OPENSSLINC}"
CONFLICTS= lynx-2* lynx-current*
+USE_OPENSSL= yes
.include "${MASTERDIR}/Makefile"
Index: lynx/Makefile
===================================================================
RCS file: /usr/local/cvsroot/ports/www/lynx/Makefile,v
retrieving revision 1.114
diff -u -r1.114 Makefile
--- lynx/Makefile 12 Dec 2005 21:33:23 -0000 1.114
+++ lynx/Makefile 23 Nov 2006 16:14:01 -0000
@@ -50,6 +50,8 @@
post-patch:
@${RM} -f ${WRKSRC}/CHANGES.orig
+ @${REINPLACE_CMD} -e 's|-lssl -lcrypto|-L${OPENSSLLIB} &|g' \
+ ${WRKSRC}/configure
post-install:
${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${DOCSDIR}
--- lynx.patch ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list