Fix building on Mac OS X

For defails, see http://mail-index.netbsd.org/tech-pkg/2021/11/20/msg025792.html
This commit is contained in:
hubertf 2021-11-21 20:51:36 +00:00
parent a8c44812e1
commit 208a5a20ac

View file

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.98 2021/05/24 19:54:04 wiz Exp $
# $NetBSD: Makefile,v 1.99 2021/11/21 20:51:36 hubertf Exp $
DISTNAME= Net-SSLeay-1.90
PKGNAME= p5-${DISTNAME}
@ -20,6 +20,7 @@ USE_LANGUAGES= c
PERL5_PACKLIST= auto/Net/SSLeay/.packlist
MAKE_ENV+= OPENSSL_PREFIX=${SSLBASE}
MAKE_ENV+= PERL_MM_USE_DEFAULT=1 # avoid network question
MAKE_ENV+= DYLD_LIBRARY_PATH=${PREFIX}/lib # build on Mac OS X
.include "../../devel/zlib/buildlink3.mk"
.include "../../lang/perl5/module.mk"