diff options
author | ryoon <ryoon> | 2014-01-24 16:37:19 +0000 |
---|---|---|
committer | ryoon <ryoon> | 2014-01-24 16:37:19 +0000 |
commit | 0bcb83041f8dfbde45ddac5186edddf12c64f2aa (patch) | |
tree | f16977721d1f1098238bccf682aa90e54532c225 /lang | |
parent | b111f8ebbfd6bb8fe4f030f9c3e5be37006df117 (diff) | |
download | pkgsrc-0bcb83041f8dfbde45ddac5186edddf12c64f2aa.tar.gz |
Fix OpenBSD 5.3 build and supress warning under OpenBSD 5.4
* OpenBSD has no libdb like NetBSD
Diffstat (limited to 'lang')
-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} = ['']; |