svn commit: r302221 - head/security/p5-Crypt-SSLeay
Sunpoet Po-Chuan Hsieh
sunpoet at FreeBSD.org
Tue Aug 7 04:14:44 UTC 2012
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 at 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>
More information about the svn-ports-head
mailing list