svn commit: r421973 - head/www/gatling

John Marino marino at FreeBSD.org
Tue Sep 13 03:20:23 UTC 2016


Author: marino
Date: Tue Sep 13 03:20:22 2016
New Revision: 421973
URL: https://svnweb.freebsd.org/changeset/ports/421973

Log:
  www/gatling: Set and honor SSL flags
  
  Approved by:	SSL blanket

Modified:
  head/www/gatling/Makefile

Modified: head/www/gatling/Makefile
==============================================================================
--- head/www/gatling/Makefile	Tue Sep 13 02:58:03 2016	(r421972)
+++ head/www/gatling/Makefile	Tue Sep 13 03:20:22 2016	(r421973)
@@ -13,8 +13,7 @@ LICENSE=	GPLv2
 
 BUILD_DEPENDS=	libowfat>=0.29:devel/libowfat
 
-USES=		gmake tar:bzip2
-USE_OPENSSL=	yes
+USES=		gmake ssl tar:bzip2
 USE_RC_SUBR=	gatling
 
 CFLAGS+=	-I${LOCALBASE}/include/libowfat -I${OPENSSLINC} -I${LOCALBASE}/include
@@ -82,6 +81,10 @@ STRIP=
 
 PLIST_FILES+=	${bin:S,^,bin/,} ${sbin:S,^,sbin/,} sbin/gatling_wrapper
 
+post-patch:
+	${REINPLACE_CMD} -e 's/\(trymd5.c\) \(-lcrypto\)/\1 $$(LDFLAGS) \2/'	\
+		${WRKSRC}/GNUmakefile
+
 pre-install:
 	@cd ${WRKSRC} && ${CP} gatling.1 gatling.8
 


More information about the svn-ports-all mailing list