f14da50ce3
1.68 2015-01-24 Fixed a problem on OSX when macports openssl 1.x is installed: headers from macport were found but older OSX openssl libraries were linked, resulting in "Symbol not found: _EVP_MD_do_all_sorted". Added notes about runtime error "no OPENSSL_Applink", when calling Net::SSLeay::P_PKCS12_load_file.
31 lines
1,002 B
Makefile
31 lines
1,002 B
Makefile
# $NetBSD: Makefile,v 1.69 2015/01/25 11:58:41 wiz Exp $
|
|
|
|
DISTNAME= Net-SSLeay-1.68
|
|
PKGNAME= p5-${DISTNAME}
|
|
CATEGORIES= security perl5
|
|
MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=Net/}
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
HOMEPAGE= http://search.cpan.org/dist/Net-SSLeay/
|
|
COMMENT= Perl5 module for using OpenSSL
|
|
LICENSE= openssl
|
|
|
|
BUILD_DEPENDS+= p5-Test-Exception-[0-9]*:../../devel/p5-Test-Exception
|
|
BUILD_DEPENDS+= p5-Test-Warn-[0-9]*:../../devel/p5-Test-Warn
|
|
|
|
DEPENDS+= {perl>=5.7.3,p5-MIME-Base64-[0-9]*}:../../converters/p5-MIME-Base64
|
|
|
|
# see WRKSRC/inc/Module/Install/PRIVATE/Net/SSLeay.pm
|
|
BUILDLINK_API_DEPENDS.openssl+= openssl>=0.9.3
|
|
|
|
USE_LANGUAGES= c
|
|
|
|
PERL5_PACKLIST= auto/Net/SSLeay/.packlist
|
|
MAKE_ENV+= OPENSSL_PREFIX=${SSLBASE}
|
|
MAKE_ENV+= PERL_MM_USE_DEFAULT=1 # avoid network question
|
|
PERL5_MODULE_TYPE= Module::Install::Bundled
|
|
|
|
.include "../../devel/zlib/buildlink3.mk"
|
|
.include "../../lang/perl5/module.mk"
|
|
.include "../../security/openssl/buildlink3.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|