svn commit: r421751 - head/net-mgmt/cowpatty

John Marino marino at FreeBSD.org
Sat Sep 10 22:08:50 UTC 2016


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>


More information about the svn-ports-head mailing list