1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-03 01:23:49 +00:00

sysutils/ucspi-ssl: Document SSL requirement and honor its flags

Approved by:	SSL blanket
This commit is contained in:
John Marino 2016-09-11 19:03:16 +00:00
parent d0cd256394
commit 8423165250
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=421870

View File

@ -18,7 +18,8 @@ RUN_DEPENDS= tcpserver:sysutils/ucspi-tcp \
CONFLICTS?= ucspi-ssl-tls-[0-9]*
USES= perl5
USES= perl5 ssl
CFLAGS+= -I${OPENSSLINC}
PORTDOCS= CHANGES TODO UCSPI-SSL
@ -27,6 +28,8 @@ WRKSRC= ${WRKDIR}/host/superscript.com/net/${DISTNAME}
SCRIPTS_TO_INSTALL= https@ sslcat sslconnect
post-patch:
${REINPLACE_CMD} -e "s|\(-lssl -lcrypto\)|-L${OPENSSLLIB} \1|g" \
${WRKSRC}/src/ssl.lib
.for x in ${SCRIPTS_TO_INSTALL}
@${REINPLACE_CMD} -i '' -e 's|HOME/command/|${PREFIX}/bin/|' \
${WRKSRC}/src/${x}.sh