summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOliver Lehmann <oliver@FreeBSD.org>2006-12-13 19:26:20 +0000
committerOliver Lehmann <oliver@FreeBSD.org>2006-12-13 19:26:20 +0000
commit51e32e73cc24f3da18c9f55e69dca79d66b073d9 (patch)
treed335e77ec4c4cc3fad9df897bfb9e0ff8b8718e7
parentArgh! Remove a debugging line. (diff)
fix ssl detection if openssl does not exist in base but in LOCALBASE
PR: ports/105791 Approved by: maintainer
Notes
Notes: svn path=/head/; revision=179678
-rw-r--r--www/lynx-ssl/Makefile2
-rw-r--r--www/lynx/Makefile2
2 files changed, 4 insertions, 0 deletions
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}