pkgsrc-Bugs archive

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

pkg/59353: It is not possible to specify that the pkgsrc version of gettext should be used for a package



>Number:         59353
>Category:       pkg
>Synopsis:       It is not possible to specify that the pkgsrc version of gettext should be used for a package
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Apr 25 20:50:00 +0000 2025
>Originator:     Dmytro Kazankov
>Release:        current,2025Q1
>Organization:
>Environment:
NetBSD laptop.local 10.1 NetBSD 10.1 (GENERIC) #0: Mon Dec 16 13:08:11 UTC 2024  mkrepro%mkrepro.NetBSD.org@localhost:/usr/src/sys/arch/amd64/compile/GENERIC amd64
>Description:
If a package needs a minimum version of a library, that's specified to buildlink3 via BUILDLINK_API_DEPENDS.$pkg. lang/gcc14-gnat needs pkgsrc versions of libiconv and gettext-lib. However, specifying a line
BUILDLINK_API_DEPENDS.iconv+=	libiconv>=1.17
works for libaiconv, but specifying a line
BUILDLINK_API_DEPENDS.gettext+=	gettext-lib>=0.22
does not work for gettext-lib.
>How-To-Repeat:
Do
make PKG_OPTIONS.gcc14-gnat="nls gcc-graphite" extract
for lang/gcc14-gnat package. There will be no dependency on gettext-lib package, but there is a line
BUILDLINK_API_DEPENDS.gettext+=	gettext-lib>=0.22
in package's options.mk.
>Fix:


Home | Main Index | Thread Index | Old Index