summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2015-01-27 15:07:27 -0600
committerWaldemar Brodkorb <wbx@openadk.org>2015-02-02 23:34:53 -0600
commit0daac82c3849cd3b5a4bd5cd0d9169ce0ca4e958 (patch)
treeec6d72b8914152ccd320d81957e1ddccef63a5f8
parent1643cb575d298ecad463c0976352bf58d84361d8 (diff)
update to latest stable upstream versions
-rw-r--r--package/bison/Makefile28
-rw-r--r--package/bison/patches/patch-Makefile_in27
-rw-r--r--package/bison/patches/patch-doc_bison_help11
-rw-r--r--package/flex/Makefile34
-rw-r--r--package/flex/patches/patch-Makefile_in10
-rw-r--r--package/flex/patches/patch-conf_in20
-rwxr-xr-xscripts/help2man2
7 files changed, 32 insertions, 100 deletions
diff --git a/package/bison/Makefile b/package/bison/Makefile
index f548b25e2..ad07639cf 100644
--- a/package/bison/Makefile
+++ b/package/bison/Makefile
@@ -1,33 +1,33 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include ${ADK_TOPDIR}/rules.mk
+include $(ADK_TOPDIR)/rules.mk
PKG_NAME:= bison
-PKG_VERSION:= 3.0.2
+PKG_VERSION:= 3.0.4
PKG_RELEASE:= 1
-PKG_HASH:= a2c3e8528bdb50567d6fa26deeb493dc5ccd7e277b865251608a9e43ac928f3c
+PKG_HASH:= a72428c7917bdf9fa93cb8181c971b6e22834125848cf1d03ce10b1bb0716fe1
PKG_DESCR:= parser generator
PKG_SECTION:= dev/tools
PKG_BUILDDEP:= m4-host flex-host bison-host
HOST_BUILDDEP:= m4-host flex-host
PKG_URL:= http://www.gnu.org/software/bison/
-PKG_SITES:= ${MASTER_SITE_GNU:=${PKG_NAME}/}
+PKG_SITES:= $(MASTER_SITE_GNU:=bison/)
-include ${ADK_TOPDIR}/mk/host.mk
-include ${ADK_TOPDIR}/mk/package.mk
+include $(ADK_TOPDIR)/mk/host.mk
+include $(ADK_TOPDIR)/mk/package.mk
-$(eval $(call HOST_template,BISON,bison,${PKG_VERSION}-${PKG_RELEASE}))
-$(eval $(call PKG_template,BISON,bison,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
+$(eval $(call HOST_template,BISON,bison,$(PKG_VERSION)-$(PKG_RELEASE)))
+$(eval $(call PKG_template,BISON,bison,$(PKG_VERSION)-$(PKG_RELEASE),$(PKG_DEPENDS),$(PKG_DESCR),$(PKG_SECTION)))
TARGET_LDFLAGS+= -lrt
XAKE_FLAGS+= M4=m4
bison-install:
- ${INSTALL_DIR} ${IDIR_BISON}/usr/bin ${IDIR_BISON}/usr/share/bison
- ${INSTALL_BIN} ${WRKINST}/usr/bin/bison ${IDIR_BISON}/usr/bin
- ${CP} ${WRKINST}/usr/share/bison/* ${IDIR_BISON}/usr/share/bison
- $(CP) ./files/yacc ${IDIR_BISON}/usr/bin
+ $(INSTALL_DIR) $(IDIR_BISON)/usr/bin $(IDIR_BISON)/usr/share/bison
+ $(INSTALL_BIN) $(WRKINST)/usr/bin/bison $(IDIR_BISON)/usr/bin
+ $(INSTALL_BIN) ./files/yacc $(IDIR_BISON)/usr/bin
+ $(CP) $(WRKINST)/usr/share/bison/* $(IDIR_BISON)/usr/share/bison
-include ${ADK_TOPDIR}/mk/host-bottom.mk
-include ${ADK_TOPDIR}/mk/pkg-bottom.mk
+include $(ADK_TOPDIR)/mk/host-bottom.mk
+include $(ADK_TOPDIR)/mk/pkg-bottom.mk
diff --git a/package/bison/patches/patch-Makefile_in b/package/bison/patches/patch-Makefile_in
deleted file mode 100644
index cf6ade9c5..000000000
--- a/package/bison/patches/patch-Makefile_in
+++ /dev/null
@@ -1,27 +0,0 @@
---- bison-3.0.1.orig/Makefile.in 2013-11-12 14:57:09.000000000 +0100
-+++ bison-3.0.1/Makefile.in 2013-11-27 18:46:46.000000000 +0100
-@@ -5134,22 +5134,12 @@ $(CROSS_OPTIONS_TEXI): doc/bison.help $(
- doc/refcard.pdf: doc/refcard.tex
- $(AM_V_GEN) cd doc && pdftex $(abs_top_srcdir)/doc/refcard.tex
- $(top_srcdir)/doc/bison.help: src/bison$(EXEEXT)
-- $(AM_V_GEN)src/bison$(EXEEXT) --version >doc/bison.help.tmp
-- $(AM_V_at) src/bison$(EXEEXT) --help >>doc/bison.help.tmp
-+ echo "3.0.1" >doc/bison.help.tmp
-+ echo "no help" >>doc/bison.help.tmp
- $(AM_V_at)$(top_srcdir)/build-aux/move-if-change doc/bison.help.tmp $@
-
- # Depend on configure to get version number changes.
- $(top_srcdir)/doc/bison.1: doc/bison.help doc/bison.x $(top_srcdir)/configure
-- $(AM_V_GEN)$(HELP2MAN) \
-- --include=$(top_srcdir)/doc/bison.x \
-- --output=$@.t src/bison$(EXEEXT)
-- $(AM_V_at)if $(remove_time_stamp) $@ >$@a.t 2>/dev/null && \
-- $(remove_time_stamp) $@.t | cmp $@a.t - >/dev/null 2>&1; then \
-- touch $@; \
-- else \
-- mv $@.t $@; \
-- fi
-- $(AM_V_at)rm -f $@*.t
-
- .gv.eps:
- $(AM_V_GEN) $(MKDIR_P) `echo "./$@" | sed -e 's,/[^/]*$$,,'`
diff --git a/package/bison/patches/patch-doc_bison_help b/package/bison/patches/patch-doc_bison_help
deleted file mode 100644
index c2b452fdf..000000000
--- a/package/bison/patches/patch-doc_bison_help
+++ /dev/null
@@ -1,11 +0,0 @@
---- bison-3.0.1.orig/doc/bison.help 2013-11-12 14:57:56.000000000 +0100
-+++ bison-3.0.1/doc/bison.help 2013-11-27 18:41:48.000000000 +0100
-@@ -4,7 +4,7 @@ Written by Robert Corbett and Richard St
- Copyright (C) 2013 Free Software Foundation, Inc.
- This is free software; see the source for copying conditions. There is NO
- warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
--Usage: src/bison [OPTION]... FILE
-+Usage: bison [OPTION]... FILE
- Generate a deterministic LR or generalized LR (GLR) parser employing
- LALR(1), IELR(1), or canonical LR(1) parser tables. IELR(1) and
- canonical LR(1) support is experimental.
diff --git a/package/flex/Makefile b/package/flex/Makefile
index 1bf505504..b5477a623 100644
--- a/package/flex/Makefile
+++ b/package/flex/Makefile
@@ -1,38 +1,36 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include ${ADK_TOPDIR}/rules.mk
+include $(ADK_TOPDIR)/rules.mk
PKG_NAME:= flex
-PKG_VERSION:= 2.5.35
-PKG_RELEASE:= 3
-PKG_HASH:= a6fe3ac80b5f89769d833efde712f95bb0255bcf9089fa324636a9b8a005c717
+PKG_VERSION:= 2.5.39
+PKG_RELEASE:= 1
+PKG_HASH:= c988bb3ab340aaba16df5a54ab98bb4760599975375c8ac9388a078b7f27e9e8
PKG_DESCR:= fast lexical analyzer
PKG_SECTION:= dev/tools
PKG_BUILDDEP:= m4-host
HOST_BUILDDEP:= m4-host
PKG_URL:= http://flex.sourceforge.net/
-PKG_SITES:= ${MASTER_SITE_SOURCEFORGE:=${PKG_NAME}/}
+PKG_SITES:= $(MASTER_SITE_SOURCEFORGE:=flex/)
PKG_OPTS:= dev
-DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
+include $(ADK_TOPDIR)/mk/host.mk
+include $(ADK_TOPDIR)/mk/package.mk
-include ${ADK_TOPDIR}/mk/host.mk
-include ${ADK_TOPDIR}/mk/package.mk
-
-$(eval $(call HOST_template,FLEX,flex,${PKG_VERSION}-${PKG_RELEASE}))
-$(eval $(call PKG_template,FLEX,flex,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
+$(eval $(call HOST_template,FLEX,flex,$(PKG_VERSION)-$(PKG_RELEASE)))
+$(eval $(call PKG_template,FLEX,flex,$(PKG_VERSION)-$(PKG_RELEASE),$(PKG_DEPENDS),$(PKG_DESCR),$(PKG_SECTION),$(PKG_OPTS)))
hostpost-install:
(cd $(STAGING_HOST_DIR)/usr/bin; ln -sf flex lex)
flex-install:
- ${INSTALL_DIR} ${IDIR_FLEX}/usr/bin
- ${INSTALL_BIN} ${WRKINST}/usr/bin/flex ${IDIR_FLEX}/usr/bin
+ $(INSTALL_DIR) $(IDIR_FLEX)/usr/bin
+ $(INSTALL_BIN) $(WRKINST)/usr/bin/flex $(IDIR_FLEX)/usr/bin
# workaround for dev subpackage
- ${INSTALL_DIR} ${IDIR_FLEX_DEV}/usr/lib
- ${CP} ${WRKINST}/usr/lib/libfl.a \
- ${IDIR_FLEX_DEV}/usr/lib
+ $(INSTALL_DIR) $(IDIR_FLEX_DEV)/usr/lib
+ $(CP) $(WRKINST)/usr/lib/libfl.a \
+ $(IDIR_FLEX_DEV)/usr/lib
-include ${ADK_TOPDIR}/mk/host-bottom.mk
-include ${ADK_TOPDIR}/mk/pkg-bottom.mk
+include $(ADK_TOPDIR)/mk/host-bottom.mk
+include $(ADK_TOPDIR)/mk/pkg-bottom.mk
diff --git a/package/flex/patches/patch-Makefile_in b/package/flex/patches/patch-Makefile_in
deleted file mode 100644
index 6c8103d00..000000000
--- a/package/flex/patches/patch-Makefile_in
+++ /dev/null
@@ -1,10 +0,0 @@
---- flex-2.5.35.orig/Makefile.in 2008-02-26 22:34:10.000000000 +0100
-+++ flex-2.5.35/Makefile.in 2010-10-04 23:21:19.000000000 +0200
-@@ -483,7 +483,6 @@ libfl.a: $(libfl_a_OBJECTS) $(libfl_a_DE
- libfl_pic.a: $(libfl_pic_a_OBJECTS) $(libfl_pic_a_DEPENDENCIES)
- -rm -f libfl_pic.a
- $(libfl_pic_a_AR) libfl_pic.a $(libfl_pic_a_OBJECTS) $(libfl_pic_a_LIBADD)
-- $(RANLIB) libfl_pic.a
- install-binPROGRAMS: $(bin_PROGRAMS)
- @$(NORMAL_INSTALL)
- test -z "$(bindir)" || $(mkdir_p) "$(DESTDIR)$(bindir)"
diff --git a/package/flex/patches/patch-conf_in b/package/flex/patches/patch-conf_in
deleted file mode 100644
index b0391feb7..000000000
--- a/package/flex/patches/patch-conf_in
+++ /dev/null
@@ -1,20 +0,0 @@
---- flex-2.5.35.orig/conf.in 2008-02-26 22:34:02.000000000 +0100
-+++ flex-2.5.35/conf.in 2010-10-04 23:18:48.000000000 +0200
-@@ -162,7 +162,7 @@
-
- /* If using the C implementation of alloca, define if you know the
- direction of stack growth for your system; otherwise it will be
-- automatically deduced at run-time.
-+ automatically deduced at runtime.
- STACK_DIRECTION > 0 => grows toward higher addresses
- STACK_DIRECTION < 0 => grows toward lower addresses
- STACK_DIRECTION = 0 => direction of growth unknown */
-@@ -190,7 +190,7 @@
- /* Define to rpl_realloc if the replacement function should be used. */
- #undef realloc
-
--/* Define to `unsigned' if <sys/types.h> does not define. */
-+/* Define to `unsigned int' if <sys/types.h> does not define. */
- #undef size_t
-
- /* Define as `fork' if `vfork' does not work. */
diff --git a/scripts/help2man b/scripts/help2man
new file mode 100755
index 000000000..742e13d6f
--- /dev/null
+++ b/scripts/help2man
@@ -0,0 +1,2 @@
+#!/usr/bin/env bash
+exit 0