Skip to contentSkip to conversation

package/wine: host-wine also needs bison and flex

PATCH New Thomas Petazzoni 3 participants 3 messages Dec 11, 2018 – Dec 16, 2018

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 package/wine: host-wine also needs bison and flex

Just like the build of the target wine, the build of host wine also needs bison and flex, otherwise the build fails with:

checking for flex... no
configure: error: no suitable flex found. Please install the 'flex' package.

(and similarly for bison once host-flex is provided)

This was detected using per-package directories.

---
 package/wine/wine.mk | 1 +
 1 file changed, 1 insertion(+)
package/wine/wine.mk +1 -0
index dc559efd95..78c8e6ab63 100644
@@ -10,6 +10,7 @@ WINE_SITE = https://dl.winehq.org/wine/source/3.0
 WINE_LICENSE = LGPL-2.1+
 WINE_LICENSE_FILES = COPYING.LIB LICENSE
 WINE_DEPENDENCIES = host-bison host-flex host-wine
+HOST_WINE_DEPENDENCIES = host-bison host-flex
 
 # Wine needs its own directory structure and tools for cross compiling
 WINE_CONF_OPTS = \
Signature · 1 line
2.19.2
#1 lore raw

PATCH 1/1 package/wine: host-wine also needs bison and flex

Quoted 11 lines · Thomas Petazzoni

Just like the build of the target wine, the build of host wine also needs bison and flex, otherwise the build fails with:

checking for flex... no
configure: error: no suitable flex found. Please install the 'flex' package.

(and similarly for bison once host-flex is provided)

This was detected using per-package directories.

Applied to master, thanks.

Regards,
Arnout

Quoted 17 lines
---
 package/wine/wine.mk | 1 +
 1 file changed, 1 insertion(+)
package/wine/wine.mk +1 -0
index dc559efd95..78c8e6ab63 100644
@@ -10,6 +10,7 @@ WINE_SITE = https://dl.winehq.org/wine/source/3.0
 WINE_LICENSE = LGPL-2.1+
 WINE_LICENSE_FILES = COPYING.LIB LICENSE
 WINE_DEPENDENCIES = host-bison host-flex host-wine
+HOST_WINE_DEPENDENCIES = host-bison host-flex
 
 # Wine needs its own directory structure and tools for cross compiling
 WINE_CONF_OPTS = \
#2 lore raw

PATCH 1/1 package/wine: host-wine also needs bison and flex

In reply to Thomas Petazzoni
Quoted 5 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Thomas" == Thomas Petazzoni <[email protected]> writes:

Just like the build of the target wine, the build of host wine also needs bison and flex, otherwise the build fails with:

Quoted 8 lines

checking for flex... no
configure: error: no suitable flex found. Please install the 'flex' package.

(and similarly for bison once host-flex is provided)

This was detected using per-package directories.

Committed to 2018.02.x, 2018.08.x and 2018.11.x, thanks.

Signature · 1 line
Bye, Peter Korsgaard