pkgsrc-Bugs archive

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

pkg/37394: typo in mk/db1.builtin.mk



>Number:         37394
>Category:       pkg
>Synopsis:       mk/db1.builtin.mk: typo
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Nov 16 12:05:00 +0000 2007
>Originator:     Yakovetsky Vladimir
>Release:        NetBSD 4.99.34
>Organization:

>Environment:
System: NetBSD lrou.x.ua 4.99.34 NetBSD 4.99.34 (lrou_odd-1.859) #0: Tue Nov 6 
15:12:51 EET 2007 Yakovetsky Vladimir 
<yx%x.ua@localhost>@lrou.x.ua:/sys/arch/i386/compile/lrou_odd i386
Architecture: i386
Machine: i386

>Description:
        typo in mk/db1.builtin.mk


>How-To-Repeat:
        for example - fails to build x11/kdelibs3:

% uname -sr; ident /usr/pkgsrc/mk/db1.builtin.mk
NetBSD 4.99.34
/usr/pkgsrc/mk/db1.builtin.mk:
     $NetBSD: db1.builtin.mk,v 1.19 2007/11/15 12:15:43 rillig Exp $

% cd /usr/pkgsrc/x11/kdelibs3 && make -V H_DB -V '${BDB185_DEFAULT}'
__nonexistent__
db4

% make
...
===> Creating toolchain wrappers for kdelibs-3.5.8nb1
ERROR: db4 is not installed; can't buildlink files.
*** Error code 1

Stop.


>Fix:
--- mk/db1.builtin.mk.orig
+++ mk/db1.builtin.mk
@@ -9,7 +9,7 @@
 # The builtin Berkeley database library must support hash version 2 or
 # else it doesn't support db-1.85 databases.
 #
-BUILTIN_FIND_GREP.H_DB=        ^\#define.*HASHVERSION.*2\$$
+BUILTIN_FIND_GREP.H_DB=        ^\#define.*HASHVERSION.*2$$
 
 .include "buildlink3/bsd.builtin.mk"




Home | Main Index | Thread Index | Old Index