p5-Devel-CheckLib was installed. SSLeay.so was not linked with libssl. Add a build dependency for p5-Devel-CheckLib to eliminate variations. Then patch Makefile.PL so that a fixed set of libraries is used for linking. While there, add a missing test dependency and regenerate plist. OK nigel@
46 lines
1.1 KiB
Makefile
46 lines
1.1 KiB
Makefile
# $OpenBSD: Makefile,v 1.37 2015/05/04 21:52:31 bluhm Exp $
|
|
|
|
SHARED_ONLY = Yes
|
|
|
|
COMMENT = library to provide LWP https support via OpenSSL
|
|
|
|
DISTNAME = Crypt-SSLeay-0.72
|
|
REVISION = 1
|
|
|
|
CATEGORIES = security
|
|
|
|
MAINTAINER = Alexander Bluhm <bluhm@openbsd.org>
|
|
|
|
# Artistic 2.0
|
|
PERMIT_PACKAGE_CDROM = Yes
|
|
|
|
WANTLIB += c crypto ssl z
|
|
|
|
MODULES = cpan
|
|
|
|
# Include p5-IO-Socket-SSL as selected
|
|
# dependency for p5-Net-HTTP must be before
|
|
# p5-LWP-Protcol-https must be present and
|
|
# in this order to avoid looping dependencies
|
|
BUILD_DEPENDS = devel/p5-Devel-CheckLib>=0.99 \
|
|
devel/p5-Path-Class>=0.26 \
|
|
devel/p5-Try-Tiny>=0.19 \
|
|
security/p5-IO-Socket-SSL \
|
|
www/p5-LWP-Protocol-https>=6.02
|
|
RUN_DEPENDS = www/p5-LWP-Protocol-https>=6.02
|
|
TEST_DEPENDS = devel/p5-Try-Tiny>=0.19
|
|
|
|
CONFIGURE_ARGS += --lib=/usr
|
|
|
|
# Use make -D LIVE_TEST regress to run regression with live tests
|
|
# --live_tests configure argument doesn't work.
|
|
pre-test:
|
|
.ifdef LIVE_TEST
|
|
echo "network_tests 1" >${WRKSRC}/test.config
|
|
.endif
|
|
|
|
MODCPAN_EXAMPLES = Yes
|
|
MODCPAN_EXAMPLES_DIST = eg
|
|
|
|
.include <bsd.port.mk>
|