summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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}