Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 13 Sep 2016 03:20:22 +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: r421973 - head/www/gatling
Message-ID:  <201609130320.u8D3KMtc046452@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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
 



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