summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2014-03-03 13:02:45 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2014-03-03 13:02:45 +0100
commitef7a634b37a36fc8ac59e67fe8b6583f713a31c4 (patch)
treed85555fe399cd36c4433241e2bf6fe06d8e66217
parentfd41ea2ad4a1badf95559f1613318e9631b3ce52 (diff)
fix fbset compile problem
-rw-r--r--package/fbset/Makefile7
1 files changed, 4 insertions, 3 deletions
diff --git a/package/fbset/Makefile b/package/fbset/Makefile
index bd8186ceb..d9b51e299 100644
--- a/package/fbset/Makefile
+++ b/package/fbset/Makefile
@@ -5,9 +5,10 @@ include ${TOPDIR}/rules.mk
PKG_NAME:= fbset
PKG_VERSION:= 2.1
-PKG_RELEASE:= 1
+PKG_RELEASE:= 2
PKG_MD5SUM:= e547cfcbb8c1a4f2a6b8ba4acb8b7164
PKG_DESCR:= framebuffer utility
+PKG_DEPENDS:= bison-host flex-host
PKG_SECTION:= utils
PKG_SITES:= http://users.telenet.be/geertu/Linux/fbdev/
@@ -22,8 +23,8 @@ BUILD_STYLE:= manual
INSTALL_STYLE:= manual
do-build:
- (cd ${WRKSRC} && bison -d modes.y)
- (cd ${WRKSRC} && flex modes.l)
+ (cd ${WRKSRC} && PATH='${HOST_PATH}' bison -d modes.y)
+ (cd ${WRKSRC} && PATH='${HOST_PATH}' flex modes.l)
${TARGET_CC} ${TARGET_CFLAGS} -I${WRKBUILD} -c -o \
${WRKBUILD}/modes.tab.o ${WRKSRC}/modes.tab.c
${TARGET_CC} ${TARGET_CFLAGS} -I${WRKBUILD} -c -o \