pkgsrc-Bugs archive

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

pkg/54631: devel/gettext-lib builtin.mk does not show builtin implementation of NetBSD



>Number:         54631
>Category:       pkg
>Synopsis:       devel/gettext-lib builtin.mk does not show builtin implementation of NetBSD
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Oct 21 07:45:00 +0000 2019
>Originator:     Frédéric Fauberteau
>Release:        NetBSD 8.0 | pkgsrc-HEAD
>Organization:
>Environment:
System: NetBSD hydralisk.triaxx.org 8.0 NetBSD 8.0 (HYDRALISK) #0: Mon Jan  7 23:57:12 CET 2019  root%hydralisk.triaxx.org@localhost:/mnt/ccd0/netbsd/obj.amd64/sys/arch/amd64/compile/HYDRALISK amd64
Architecture: x86_64
Machine: amd64
>Description:
NetBSD seems to provide a buitin gettext implementation, but it is not shown by devel/gettext-lib/builtin.mk as in the following example:
$ cd /usr/pkgsrc/devel/gmake && bmake show-var VARNAME=IS_BUILTIN.gettext
no
>How-To-Repeat:
On NetBSD, gmake does not link to /usr/lib/libintl.so.1:
$ cd /usr/pkgsrc/devel/gmake && bmake install
$ ldd /usr/pkg/bin/gmake                                                                                                                                                                                                 
/usr/pkg/bin/gmake:
        -lc.12 => /usr/lib/libc.so.12
>Fix:
Index: builtin.mk
===================================================================
RCS file: /cvsroot/pkgsrc/devel/gettext-lib/builtin.mk,v
retrieving revision 1.46
diff -u -r1.46 builtin.mk
--- builtin.mk  3 Jul 2014 14:59:55 -0000       1.46
+++ builtin.mk  21 Oct 2019 07:43:12 -0000
@@ -38,6 +38,8 @@
        empty(H_GETTEXT:M${LOCALBASE}/*)) || \
       (empty(H_GENTOO_GETTEXT:M__nonexistent__) && \
        empty(H_GENTOO_GETTEXT:M${LOCALBASE}/*)) || \
+      (empty(H_NGENTOO_GETTEXT:M__nonexistent__) && \
+       empty(H_NGENTOO_GETTEXT:M${LOCALBASE}/*)) || \
       (empty(H_OPNSVR5_GETTEXT:M__nonexistent__) && \
        empty(H_OPNSVR5_GETTEXT:M${LOCALBASE}/*))
 IS_BUILTIN.gettext=    yes



Home | Main Index | Thread Index | Old Index