diff options
Diffstat (limited to 'lang/perl5')
-rw-r--r-- | lang/perl5/Makefile | 4 | ||||
-rw-r--r-- | lang/perl5/files/cpan-DB_File-hints-openbsd.pl | 6 |
2 files changed, 9 insertions, 1 deletions
diff --git a/lang/perl5/Makefile b/lang/perl5/Makefile index 84221cbcc90..0b90e929aed 100644 --- a/lang/perl5/Makefile +++ b/lang/perl5/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.215 2014/01/13 09:59:16 adam Exp $ +# $NetBSD: Makefile,v 1.216 2014/01/24 16:37:19 ryoon Exp $ .include "license.mk" .include "Makefile.common" @@ -281,6 +281,8 @@ post-extract: cp ${FILESDIR}/Policy.sh ${WRKSRC}/Policy.sh cp ${FILESDIR}/cpan-DB_File-hints-netbsd.pl \ ${WRKSRC}/cpan/DB_File/hints/netbsd.pl + cp ${FILESDIR}/cpan-DB_File-hints-openbsd.pl \ + ${WRKSRC}/cpan/DB_File/hints/openbsd.pl pre-configure: cd ${WRKSRC} && find `pwd` -name "*.orig" -type f -exec ${RM} -f {} \; diff --git a/lang/perl5/files/cpan-DB_File-hints-openbsd.pl b/lang/perl5/files/cpan-DB_File-hints-openbsd.pl new file mode 100644 index 00000000000..1a79a39bda8 --- /dev/null +++ b/lang/perl5/files/cpan-DB_File-hints-openbsd.pl @@ -0,0 +1,6 @@ +# $NetBSD: cpan-DB_File-hints-openbsd.pl,v 1.1 2014/01/24 16:37:19 ryoon Exp $ + +# cpan/DB_File: +# OpenBSD does not provide -ldb, so avoid linking to it + +$self->{LIBS} = ['']; |