Index: flex/2.6.4/Makefile
===================================================================
--- flex/2.6.4/Makefile (revision 28)
+++ flex/2.6.4/Makefile (revision 29)
@@ -128,6 +128,7 @@
extra_configure_switches += --mandir=/usr/share/man
extra_configure_switches += --disable-dependency-tracking
extra_configure_switches += --disable-rpath
+
ifeq ($(__ENABLE_STATIC__),yes)
extra_configure_switches += --enable-static=yes
else
@@ -143,6 +144,7 @@
$(APPLY_PATCHES)
@cp -a $(CONFIG_GUESS) $(CONFIG_SUB) $(SRC_DIR)/build-aux
@( cd $(SRC_DIR) ; \
+ autoreconf -vif ; \
sed -i "/math.h/a #include <malloc.h>" src/flexdef.h ; \
)
@touch $@
Index: flex/2.6.4-ppc32/Makefile
===================================================================
--- flex/2.6.4-ppc32/Makefile (revision 28)
+++ flex/2.6.4-ppc32/Makefile (revision 29)
@@ -86,6 +86,7 @@
extra_configure_switches += --bindir=/usr/bin/32
extra_configure_switches += --disable-dependency-tracking
extra_configure_switches += --disable-rpath
+
ifeq ($(__ENABLE_STATIC__),yes)
extra_configure_switches += --enable-static=yes
else
@@ -101,6 +102,7 @@
$(APPLY_PATCHES)
@cp -a $(CONFIG_GUESS) $(CONFIG_SUB) $(SRC_DIR)/build-aux
@( cd $(SRC_DIR) ; \
+ autoreconf -vif ; \
sed -i "/math.h/a #include <malloc.h>" src/flexdef.h ; \
)
@touch $@
Index: flex/2.6.4-x86_32/Makefile
===================================================================
--- flex/2.6.4-x86_32/Makefile (revision 28)
+++ flex/2.6.4-x86_32/Makefile (revision 29)
@@ -83,6 +83,7 @@
extra_configure_switches += --bindir=/usr/bin/32
extra_configure_switches += --disable-dependency-tracking
extra_configure_switches += --disable-rpath
+
ifeq ($(__ENABLE_STATIC__),yes)
extra_configure_switches += --enable-static=yes
else
@@ -98,6 +99,7 @@
$(APPLY_PATCHES)
@cp -a $(CONFIG_GUESS) $(CONFIG_SUB) $(SRC_DIR)/build-aux
@( cd $(SRC_DIR) ; \
+ autoreconf -vif ; \
sed -i "/math.h/a #include <malloc.h>" src/flexdef.h ; \
)
@touch $@