Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 10 Sep 2016 22:08:49 +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: r421751 - head/net-mgmt/cowpatty
Message-ID:  <201609102208.u8AM8nDt044939@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: marino
Date: Sat Sep 10 22:08:49 2016
New Revision: 421751
URL: https://svnweb.freebsd.org/changeset/ports/421751

Log:
  net-mgmt/cowpatty: sed in SSL flags (CFLAGS/LDFLAGS not honored)
  
  While here, unsupress installation command
  
  Approved by:	SSL blanket

Modified:
  head/net-mgmt/cowpatty/Makefile

Modified: head/net-mgmt/cowpatty/Makefile
==============================================================================
--- head/net-mgmt/cowpatty/Makefile	Sat Sep 10 22:05:00 2016	(r421750)
+++ head/net-mgmt/cowpatty/Makefile	Sat Sep 10 22:08:49 2016	(r421751)
@@ -13,17 +13,21 @@ COMMENT=	Brute-force dictionary attack a
 
 LICENSE=	GPLv2
 
+USES=		ssl
 PORTDOCS=	FAQ README
 SUB_FILES=	pkg-message
 MAKE_JOBS_UNSAFE=	yes
 OPTIONS_DEFINE=	DOCS
 
-USE_OPENSSL=	yes
-
 PLIST_FILES=	bin/cowpatty bin/genpmk
 
+post-patch:
+	${REINPLACE_CMD} \
+		-e "s|\(-DOPENSSL\)|\1 -I${OPENSSLINC} -L${OPENSSLLIB} |g" \
+		${WRKSRC}/Makefile
+
 post-install:
 	@${MKDIR} ${STAGEDIR}${DOCSDIR}
-	@cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}
+	(cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR})
 
 .include <bsd.port.mk>



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