mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 01:39:16 -04:00
fix ssl detection if openssl does not exist in base but in LOCALBASE
PR: ports/105791 Approved by: maintainer
This commit is contained in:
parent
467b76e425
commit
51e32e73cc
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=179678
2 changed files with 4 additions and 0 deletions
|
@ -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"
|
||||
|
|
|
@ -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}
|
||||
|
|
Loading…
Add table
Reference in a new issue