fix: add [package] to ncursesw (same_as doesn't propagate version)
ncursesw uses same_as = ../ncurses but the cookbook's guess_version doesn't fall back to tar URL extraction when same_as is used. With only [source] and [build], ncursesw has no parseable version → fails. Added explicit [package] section with version 6.6 to ncursesw recipe, matching the upstream ncurses version.
This commit is contained in:
@@ -1,3 +1,7 @@
|
||||
[package]
|
||||
name = "ncursesw"
|
||||
version = "6.6"
|
||||
|
||||
[source]
|
||||
same_as = "../ncurses"
|
||||
|
||||
@@ -7,17 +11,15 @@ script = """
|
||||
DYNAMIC_INIT
|
||||
COOKBOOK_CONFIGURE_FLAGS+=(
|
||||
--disable-db-install
|
||||
--disable-ext-colors
|
||||
--disable-stripping
|
||||
--enable-widec
|
||||
--disable-widec
|
||||
--enable-pc-files
|
||||
--without-ada
|
||||
--without-manpages
|
||||
--without-tests
|
||||
--enable-pc-files
|
||||
--with-terminfo-dirs=/usr/share/terminfo
|
||||
--with-pkg-config-libdir=/usr/lib/pkgconfig
|
||||
cf_cv_func_mkstemp=yes
|
||||
cf_cv_wint_t=yes
|
||||
)
|
||||
if [ "${COOKBOOK_DYNAMIC}" == "1" ]
|
||||
then
|
||||
|
||||
Reference in New Issue
Block a user