summaryrefslogtreecommitdiff
path: root/package/bridge-utils
diff options
context:
space:
mode:
Diffstat (limited to 'package/bridge-utils')
-rw-r--r--package/bridge-utils/Makefile2
-rw-r--r--package/bridge-utils/patches/patch-configure_in10
-rw-r--r--package/bridge-utils/patches/patch-libbridge_Makefile_in16
3 files changed, 27 insertions, 1 deletions
diff --git a/package/bridge-utils/Makefile b/package/bridge-utils/Makefile
index 318457360..84517448c 100644
--- a/package/bridge-utils/Makefile
+++ b/package/bridge-utils/Makefile
@@ -18,7 +18,7 @@ include ${TOPDIR}/mk/package.mk
$(eval $(call PKG_template,BRIDGE_UTILS,bridge-utils,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
-AUTOTOOL_STYLE:= autoreconf
+AUTOTOOL_STYLE:= autoconf
CONFIGURE_ARGS+= --with-linux-headers=${LINUX_DIR}
bridge-utils-install:
diff --git a/package/bridge-utils/patches/patch-configure_in b/package/bridge-utils/patches/patch-configure_in
new file mode 100644
index 000000000..0b61864cb
--- /dev/null
+++ b/package/bridge-utils/patches/patch-configure_in
@@ -0,0 +1,10 @@
+--- bridge-utils-1.5.orig/configure.in 2011-03-29 02:52:54.000000000 +0200
++++ bridge-utils-1.5/configure.in 2013-11-03 15:09:52.000000000 +0100
+@@ -9,6 +9,7 @@ dnl Checks for programs.
+ AC_PROG_CC
+ AC_PROG_INSTALL
+ AC_PROG_RANLIB
++AC_CHECK_TOOL(AR, ar, ar)
+
+ dnl Checks for header files.
+ AC_HEADER_STDC
diff --git a/package/bridge-utils/patches/patch-libbridge_Makefile_in b/package/bridge-utils/patches/patch-libbridge_Makefile_in
new file mode 100644
index 000000000..b9b8e1aad
--- /dev/null
+++ b/package/bridge-utils/patches/patch-libbridge_Makefile_in
@@ -0,0 +1,16 @@
+--- bridge-utils-1.5.orig/libbridge/Makefile.in 2011-03-29 02:52:54.000000000 +0200
++++ bridge-utils-1.5/libbridge/Makefile.in 2013-11-03 15:05:14.000000000 +0100
+@@ -1,11 +1,11 @@
+
+ KERNEL_HEADERS=-I@KERNEL_HEADERS@
+
+-AR=ar
++AR=@AR@
+ RANLIB=@RANLIB@
+
+ CC=@CC@
+-CFLAGS = -Wall -g $(KERNEL_HEADERS)
++CFLAGS = -Wall @CFLAGS@ $(KERNEL_HEADERS)
+
+ prefix=@prefix@
+ exec_prefix=@exec_prefix@