Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 11 Sep 2016 19:03:16 +0000 (UTC)
From:      John Marino <marino@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r421870 - head/sysutils/ucspi-ssl
Message-ID:  <201609111903.u8BJ3Gaq027632@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: marino
Date: Sun Sep 11 19:03:16 2016
New Revision: 421870
URL: https://svnweb.freebsd.org/changeset/ports/421870

Log:
  sysutils/ucspi-ssl: Document SSL requirement and honor its flags
  
  Approved by:	SSL blanket

Modified:
  head/sysutils/ucspi-ssl/Makefile

Modified: head/sysutils/ucspi-ssl/Makefile
==============================================================================
--- head/sysutils/ucspi-ssl/Makefile	Sun Sep 11 18:59:27 2016	(r421869)
+++ head/sysutils/ucspi-ssl/Makefile	Sun Sep 11 19:03:16 2016	(r421870)
@@ -18,7 +18,8 @@ RUN_DEPENDS=	tcpserver:sysutils/ucspi-tc
 
 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/
 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201609111903.u8BJ3Gaq027632>