pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/lang/perl5 Fix OpenBSD 5.3 build and supress warning u...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/449d6a400477
branches:  trunk
changeset: 629620:449d6a400477
user:      ryoon <ryoon%pkgsrc.org@localhost>
date:      Fri Jan 24 16:37:19 2014 +0000

description:
Fix OpenBSD 5.3 build and supress warning under OpenBSD 5.4

* OpenBSD has no libdb like NetBSD

diffstat:

 lang/perl5/Makefile                            |  4 +++-
 lang/perl5/files/cpan-DB_File-hints-openbsd.pl |  6 ++++++
 2 files changed, 9 insertions(+), 1 deletions(-)

diffs (28 lines):

diff -r 5fa0090334d2 -r 449d6a400477 lang/perl5/Makefile
--- a/lang/perl5/Makefile       Fri Jan 24 15:59:41 2014 +0000
+++ b/lang/perl5/Makefile       Fri Jan 24 16:37:19 2014 +0000
@@ -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 @@
                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 -r 5fa0090334d2 -r 449d6a400477 lang/perl5/files/cpan-DB_File-hints-openbsd.pl
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/lang/perl5/files/cpan-DB_File-hints-openbsd.pl    Fri Jan 24 16:37:19 2014 +0000
@@ -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} = [''];



Home | Main Index | Thread Index | Old Index