From 51e32e73cc24f3da18c9f55e69dca79d66b073d9 Mon Sep 17 00:00:00 2001 From: Oliver Lehmann Date: Wed, 13 Dec 2006 19:26:20 +0000 Subject: [PATCH] fix ssl detection if openssl does not exist in base but in LOCALBASE PR: ports/105791 Approved by: maintainer --- www/lynx-ssl/Makefile | 2 ++ www/lynx/Makefile | 2 ++ 2 files changed, 4 insertions(+) diff --git a/www/lynx-ssl/Makefile b/www/lynx-ssl/Makefile index 3840592c4211..7af91fb4ba3a 100644 --- a/www/lynx-ssl/Makefile +++ b/www/lynx-ssl/Makefile @@ -13,7 +13,9 @@ MASTERDIR= ${.CURDIR}/../lynx 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" diff --git a/www/lynx/Makefile b/www/lynx/Makefile index cd3d6c8bd386..394e73f6e7a1 100644 --- a/www/lynx/Makefile +++ b/www/lynx/Makefile @@ -50,6 +50,8 @@ L_HELP= ${PREFIX}/share/lynx_help 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}