1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-24 00:45:52 +00:00

- Disable live tests (without prompt)

- Eliminate harmless library detection messages

Reported by:	Alexander Wittig <alexander@wittig.name>
This commit is contained in:
Sunpoet Po-Chuan Hsieh 2012-08-07 04:14:43 +00:00
parent 432e73fb58
commit ede3b7e806
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=302221

View File

@ -20,7 +20,7 @@ BUILD_DEPENDS= p5-LWP-Protocol-https>=6.02:${PORTSDIR}/www/p5-LWP-Protocol-https
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>