diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2014-06-25 18:32:07 +0200 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2014-06-27 11:03:19 +0200 |
commit | f3e2dd7809b114d3d772a46c7c303716eee0ab77 (patch) | |
tree | 5e8f22912237b46e54b414bdeeb882dffe41e743 /package | |
parent | 45bf2abc94df0dc4e5e1af41e90137a3cd653e7d (diff) |
fix various build errors
Diffstat (limited to 'package')
-rw-r--r-- | package/iptraf/Makefile | 19 | ||||
-rw-r--r-- | package/iptraf/patches/patch-src_Makefile | 8 | ||||
-rw-r--r-- | package/jack2/Makefile | 3 | ||||
-rw-r--r-- | package/miredo/patches/patch-Makefile_am | 11 | ||||
-rw-r--r-- | package/miredo/patches/patch-configure_ac | 13 | ||||
-rw-r--r-- | package/miredo/patches/patch-libteredo_Makefile_am | 13 | ||||
-rw-r--r-- | package/miredo/patches/patch-libtun6_Makefile_am | 19 | ||||
-rw-r--r-- | package/miredo/patches/patch-src_Makefile_am | 43 |
8 files changed, 109 insertions, 20 deletions
diff --git a/package/iptraf/Makefile b/package/iptraf/Makefile index 6f6a8ce8f..ee33115c9 100644 --- a/package/iptraf/Makefile +++ b/package/iptraf/Makefile @@ -15,32 +15,23 @@ PKG_URL:= http://iptraf.seul.org/ PKG_SITES:= ftp://iptraf.seul.org/pub/iptraf/ DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz +WRKSRC= ${WRKDIST}/src include ${ADK_TOPDIR}/mk/package.mk $(eval $(call PKG_template,IPTRAF,iptraf,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION})) CONFIG_STYLE:= manual -BUILD_STYLE:= manual INSTALL_STYLE:= manual TARGET_CPPFLAGS+= -D_GNU_SOURCE TARGET_LDFLAGS+= -ltinfo - -do-build: - ${MAKE} -C ${WRKBUILD}/src \ - ${TARGET_CONFIGURE_OPTS} \ - CFLAGS="${TARGET_CFLAGS}" \ - DEBUG="" \ - INCLUDEDIR="-I../support -I${STAGING_TARGET_DIR}/usr/include" \ - LDOPTS="${TARGET_LDFLAGS}" \ - PLATFORM="-DPLATFORM=\\\"Linux/${ARCH}\\\"" \ - TARGET="/usr/bin" \ - WORKDIR="/var/lib/iptraf" \ - all +XAKE_FLAGS+= PLATFORM="-DPLATFORM=\\\"Linux/${ARCH}\\\"" \ + TARGET="/usr/bin" \ + WORKDIR="/var/lib/iptraf" do-install: ${INSTALL_DIR} ${IDIR_IPTRAF}/usr/bin - ${INSTALL_BIN} ${WRKBUILD}/src/iptraf ${IDIR_IPTRAF}/usr/bin/ + ${INSTALL_BIN} ${WRKBUILD}/iptraf ${IDIR_IPTRAF}/usr/bin/ include ${ADK_TOPDIR}/mk/pkg-bottom.mk diff --git a/package/iptraf/patches/patch-src_Makefile b/package/iptraf/patches/patch-src_Makefile index 15af62737..e03ebb770 100644 --- a/package/iptraf/patches/patch-src_Makefile +++ b/package/iptraf/patches/patch-src_Makefile @@ -1,11 +1,13 @@ $Id$ --- iptraf-3.0.1.orig/src/Makefile 2005-09-13 11:11:17.000000000 +0200 -+++ iptraf-3.0.1/src/Makefile 2013-03-04 11:42:11.000000000 +0100 -@@ -18,7 +18,8 @@ VERSION = -DVERSION=\"$(VERNUMBER)\" ++++ iptraf-3.0.1/src/Makefile 2014-06-25 16:51:56.160654472 +0200 +@@ -17,8 +17,9 @@ VERSION = -DVERSION=\"$(VERNUMBER)\" + # BINDIR = ../../iptraf-$(VERNUMBER).bin.$(ARCH) - CC = gcc +-CC = gcc -LIBS = -L../support -ltextbox -lpanel -lncurses # in this order! ++CC ?= gcc +LIBS ?= +LIBS += -ltextbox -lpanel -lncurses # in this order! diff --git a/package/jack2/Makefile b/package/jack2/Makefile index 210048e6b..aa809826d 100644 --- a/package/jack2/Makefile +++ b/package/jack2/Makefile @@ -9,8 +9,9 @@ PKG_RELEASE:= 1 PKG_MD5SUM:= 9ba759b640f9012d9a5e971a26675c6e PKG_DESCR:= audio connection kit PKG_SECTION:= mm/audio -PKG_DEPENDS:= alsa-lib libsndfile +PKG_DEPENDS:= alsa-lib libsndfile libsamplerate PKG_BUILDDEP:= python2-host alsa-lib libsndfile +PKG_BUILDDEP+= libsamplerate PKG_URL:= http://jackaudio.org PKG_SITES:= http://openadk.org/distfiles/ diff --git a/package/miredo/patches/patch-Makefile_am b/package/miredo/patches/patch-Makefile_am new file mode 100644 index 000000000..887ebf9d3 --- /dev/null +++ b/package/miredo/patches/patch-Makefile_am @@ -0,0 +1,11 @@ +--- miredo-1.2.6.orig/Makefile.am 2012-09-12 15:03:59.000000000 +0200 ++++ miredo-1.2.6/Makefile.am 2014-06-25 18:17:31.653364453 +0200 +@@ -26,7 +26,7 @@ AUTOMAKE_OPTIONS = 1.11 \ + no-dist-gzip \ + no-exeext + +-SUBDIRS = po doc misc compat libteredo libtun6 src ++SUBDIRS = misc compat libteredo libtun6 src + DIST_SUBDIRS = m4 $(SUBDIRS) + noinst_HEADERS = include/gettext.h + EXTRA_DIST = autogen.sh Doxyfile.in diff --git a/package/miredo/patches/patch-configure_ac b/package/miredo/patches/patch-configure_ac index f2e24d7b4..6dacab77e 100644 --- a/package/miredo/patches/patch-configure_ac +++ b/package/miredo/patches/patch-configure_ac @@ -1,6 +1,15 @@ --- miredo-1.2.6.orig/configure.ac 2013-05-23 17:51:41.000000000 +0200 -+++ miredo-1.2.6/configure.ac 2013-11-08 16:09:54.000000000 +0100 -@@ -149,12 +149,17 @@ LIBS="$LIBS_save" ++++ miredo-1.2.6/configure.ac 2014-06-25 18:17:49.829469301 +0200 +@@ -55,8 +55,6 @@ AM_SILENT_RULES([yes]) + # Checks for libraries. + AS_MESSAGE([checking required libraries...]) + AM_BINRELOC +-AM_GNU_GETTEXT_VERSION([0.18.1]) +-AM_GNU_GETTEXT([external]) + + LIBRT="" + AC_CHECK_LIB(rt, clock_gettime, [LIBRT="-lrt"]) +@@ -149,12 +147,17 @@ LIBS="$LIBS_save" AS_MESSAGE([checking optional features...]) # POSIX capabilities diff --git a/package/miredo/patches/patch-libteredo_Makefile_am b/package/miredo/patches/patch-libteredo_Makefile_am new file mode 100644 index 000000000..aeeea6f1b --- /dev/null +++ b/package/miredo/patches/patch-libteredo_Makefile_am @@ -0,0 +1,13 @@ +--- miredo-1.2.6.orig/libteredo/Makefile.am 2013-05-23 17:40:42.000000000 +0200 ++++ miredo-1.2.6/libteredo/Makefile.am 2014-06-25 18:19:47.878146465 +0200 +@@ -17,9 +17,8 @@ + # * http://www.gnu.org/copyleft/gpl.html * + # *********************************************************************** + +-SUBDIRS = . test ++SUBDIRS = . + localedir = @datadir@/locale +-LTLIBINTL = @LTLIBINTL@ + + AM_CPPFLAGS = -I@top_srcdir@/include -I@top_srcdir@ \ + -D_REENTRANT -DLOCALEDIR=\"$(localedir)\" diff --git a/package/miredo/patches/patch-libtun6_Makefile_am b/package/miredo/patches/patch-libtun6_Makefile_am new file mode 100644 index 000000000..3a5cc8c8e --- /dev/null +++ b/package/miredo/patches/patch-libtun6_Makefile_am @@ -0,0 +1,19 @@ +--- miredo-1.2.6.orig/libtun6/Makefile.am 2008-02-16 15:52:07.000000000 +0100 ++++ miredo-1.2.6/libtun6/Makefile.am 2014-06-25 18:22:44.855149653 +0200 +@@ -21,7 +21,6 @@ localedir = @datadir@/locale + + AM_CPPFLAGS = -I@top_srcdir@/include -I@top_srcdir@ \ + -D_REENTRANT -DLOCALEDIR=\"$(localedir)\" +-LIBINTL = @LIBINTL@ + + lib_LTLIBRARIES = libtun6.la + check_PROGRAMS = libtun6-diagnose +@@ -32,7 +31,7 @@ include_libtun6_HEADERS = tun6.h + + # libtun6.a + libtun6_la_SOURCES = tun6.c diag.c +-libtun6_la_LIBADD = @LTLIBINTL@ ../compat/libcompat.la ++libtun6_la_LIBADD = ../compat/libcompat.la + libtun6_la_LDFLAGS = -no-undefined -export-symbols-regex tun6_.* \ + -version-info 1:1:1 + diff --git a/package/miredo/patches/patch-src_Makefile_am b/package/miredo/patches/patch-src_Makefile_am new file mode 100644 index 000000000..dee9552db --- /dev/null +++ b/package/miredo/patches/patch-src_Makefile_am @@ -0,0 +1,43 @@ +--- miredo-1.2.6.orig/src/Makefile.am 2012-09-12 15:03:59.000000000 +0200 ++++ miredo-1.2.6/src/Makefile.am 2014-06-25 18:26:22.564364775 +0200 +@@ -22,8 +22,6 @@ localedir = $(datadir)/locale + top_srcdir = @top_srcdir@ + sysconfdir = @sysconfdir@ + +-LIBINTL = @LIBINTL@ +-LTLIBINTL = @LTLIBINTL@ + LIBCAP = @LIBCAP@ + + AM_CPPFLAGS = -I$(top_srcdir)/include -I$(top_srcdir) -D_REENTRANT \ +@@ -41,7 +39,7 @@ TESTS = + + libmiredo_la_SOURCES = main.c miredo.c miredo.h \ + conf.c conf.h binreloc.c binreloc.h +-libmiredo_la_LIBADD = $(LTLIBINTL) $(LIBCAP) $(BINRELOC_LIBS) \ ++libmiredo_la_LIBADD = $(LIBCAP) $(BINRELOC_LIBS) \ + ../compat/libcompat.la + libmiredo_la_LDFLAGS = -no-undefined -static + #libmiredo_la_LDFLAGS = -no-undefined -release @VERSION@ +@@ -53,7 +51,7 @@ libmiredo_la_LDFLAGS = -no-undefined -st + # miredo + miredo_SOURCES = relayd.c + miredo_LDADD = ../libtun6/libtun6.la ../libteredo/libteredo.la libmiredo.la \ +- @LIBRT@ $(LIBINTL) ++ @LIBRT@ + + # privproc + miredo_privproc_SOURCES = privproc.c privproc.h +@@ -65,11 +63,11 @@ endif + + # miredo-server + miredo_server_SOURCES = serverd.c +-miredo_server_LDADD = ../libteredo/libteredo-server.la libmiredo.la $(LIBINTL) ++miredo_server_LDADD = ../libteredo/libteredo-server.la libmiredo.la + + # miredo-checkconf + miredo_checkconf_SOURCES = checkconf.c +-miredo_checkconf_LDADD = libmiredo.la $(LIBINTL) ++miredo_checkconf_LDADD = libmiredo.la + + install-exec-local: + $(install_sh) -d "$(DESTDIR)$(localstatedir)/run" |