Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 7 Aug 2012 04:14:44 +0000 (UTC)
From:      Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r302221 - head/security/p5-Crypt-SSLeay
Message-ID:  <201208070414.q774EiwC018968@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: sunpoet
Date: Tue Aug  7 04:14:43 2012
New Revision: 302221
URL: http://svn.freebsd.org/changeset/ports/302221

Log:
  - Disable live tests (without prompt)
  - Eliminate harmless library detection messages
  
  Reported by:	Alexander Wittig <alexander@wittig.name>

Modified:
  head/security/p5-Crypt-SSLeay/Makefile

Modified: head/security/p5-Crypt-SSLeay/Makefile
==============================================================================
--- head/security/p5-Crypt-SSLeay/Makefile	Tue Aug  7 03:02:55 2012	(r302220)
+++ head/security/p5-Crypt-SSLeay/Makefile	Tue Aug  7 04:14:43 2012	(r302221)
@@ -20,7 +20,7 @@ BUILD_DEPENDS=	p5-LWP-Protocol-https>=6.
 RUN_DEPENDS:=	${BUILD_DEPENDS}
 TEST_DEPENDS=	p5-Try-Tiny>=0.09:${PORTSDIR}/lang/p5-Try-Tiny
 
-CONFIGURE_ARGS=	--lib=${OPENSSLBASE} --no-live-tests
+CONFIGURE_ENV=	CRYPT_SSLEAY_LIVE_TEST_WANTED=0
 MAKE_ARGS=	PASTHRU_INC=-I${OPENSSLINC}
 PERL_CONFIGURE=	yes
 USE_OPENSSL=	yes
@@ -33,4 +33,8 @@ MAN3=		Crypt::SSLeay.3 Net::SSL.3
 TEST_DEPENDS+=	p5-Test-Simple>=0.88:${PORTSDIR}/devel/p5-Test-Simple
 .endif
 
+post-patch:
+	@${REINPLACE_CMD} -e '/LIBS/ s|-lssl32 -lssleay32 -leay32|-L${OPENSSLLIB}|' \
+		-e '/is_live_test_wanted()/d' ${WRKSRC}/Makefile.PL
+
 .include <bsd.port.post.mk>



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