diff options
author | Waldemar Brodkorb <mail@waldemar-brodkorb.de> | 2012-07-27 10:45:02 +0200 |
---|---|---|
committer | Waldemar Brodkorb <mail@waldemar-brodkorb.de> | 2012-07-27 10:45:02 +0200 |
commit | 42dd254f5937274f164a5a7c5fb3c1f80e38e7af (patch) | |
tree | 9d2f1aa0333e04af8493d6a5f533b6e243bf5d2b /package/tmsnc/patches/patch-src_Makefile | |
parent | 7f0a66667a815bb8e28b4c8b93666b92a667b485 (diff) |
full build on Darwin fixes
Diffstat (limited to 'package/tmsnc/patches/patch-src_Makefile')
-rw-r--r-- | package/tmsnc/patches/patch-src_Makefile | 101 |
1 files changed, 61 insertions, 40 deletions
diff --git a/package/tmsnc/patches/patch-src_Makefile b/package/tmsnc/patches/patch-src_Makefile index f6ac328e1..a8766c810 100644 --- a/package/tmsnc/patches/patch-src_Makefile +++ b/package/tmsnc/patches/patch-src_Makefile @@ -1,18 +1,27 @@ $Id: update-patches 24 2008-08-31 14:56:13Z wbx $ --- tmsnc-0.3.2.orig/src/Makefile 2006-10-17 13:14:22.000000000 +0200 -+++ tmsnc-0.3.2/src/Makefile 2009-06-02 01:13:54.000000000 +0200 ++++ tmsnc-0.3.2/src/Makefile 2012-07-26 13:54:39.000000000 +0200 +@@ -23,7 +23,7 @@ pkglibdir = $(libdir)/tmsnc + pkgincludedir = $(includedir)/tmsnc + top_builddir = .. + am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd +-INSTALL = /usr/bin/install -c ++INSTALL = /Volumes/adk/openadk/scripts/install -c + install_sh_DATA = $(install_sh) -c -m 644 + install_sh_PROGRAM = $(install_sh) -c + install_sh_SCRIPT = $(install_sh) -c @@ -35,8 +35,8 @@ POST_INSTALL = : NORMAL_UNINSTALL = : PRE_UNINSTALL = : POST_UNINSTALL = : -build_triplet = i686-pc-linux-gnu -host_triplet = i686-pc-linux-gnu -+build_triplet = x86_64-pc-linux-gnu -+host_triplet = i586-pc-linux-gnu ++build_triplet = i686-apple-darwin10 ++host_triplet = mipsel-openadk-linux-gnu bin_PROGRAMS = tmsnc$(EXEEXT) subdir = src DIST_COMMON = $(noinst_HEADERS) $(srcdir)/Makefile.am \ -@@ -74,21 +74,21 @@ HEADERS = $(noinst_HEADERS) +@@ -74,41 +74,41 @@ HEADERS = $(noinst_HEADERS) ETAGS = etags CTAGS = ctags DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) @@ -31,39 +40,47 @@ $Id: update-patches 24 2008-08-31 14:56:13Z wbx $ -CPPFLAGS = -CURSES_INCLUDEDIR = -CURSES_LIBS = -lncurses -lpanel -lform -+ACLOCAL = ${SHELL} /home/wbx/alix1c/openadk/build_i586/w-tmsnc-0.3.2-1/tmsnc-0.3.2/missing --run aclocal-1.9 ++ACLOCAL = ${SHELL} /Volumes/adk/openadk/build_qemu_mipsel_uclibc/w-tmsnc-0.3.2-1/tmsnc-0.3.2/missing --run aclocal-1.9 +AMDEP_FALSE = +AMDEP_TRUE = # -+AMTAR = ${SHELL} /home/wbx/alix1c/openadk/build_i586/w-tmsnc-0.3.2-1/tmsnc-0.3.2/missing --run tar -+AUTOCONF = ${SHELL} /home/wbx/alix1c/openadk/build_i586/w-tmsnc-0.3.2-1/tmsnc-0.3.2/missing --run autoconf -+AUTOHEADER = ${SHELL} /home/wbx/alix1c/openadk/build_i586/w-tmsnc-0.3.2-1/tmsnc-0.3.2/missing --run autoheader -+AUTOMAKE = ${SHELL} /home/wbx/alix1c/openadk/build_i586/w-tmsnc-0.3.2-1/tmsnc-0.3.2/missing --run automake-1.9 ++AMTAR = ${SHELL} /Volumes/adk/openadk/build_qemu_mipsel_uclibc/w-tmsnc-0.3.2-1/tmsnc-0.3.2/missing --run tar ++AUTOCONF = ${SHELL} /Volumes/adk/openadk/build_qemu_mipsel_uclibc/w-tmsnc-0.3.2-1/tmsnc-0.3.2/missing --run autoconf ++AUTOHEADER = ${SHELL} /Volumes/adk/openadk/build_qemu_mipsel_uclibc/w-tmsnc-0.3.2-1/tmsnc-0.3.2/missing --run autoheader ++AUTOMAKE = ${SHELL} /Volumes/adk/openadk/build_qemu_mipsel_uclibc/w-tmsnc-0.3.2-1/tmsnc-0.3.2/missing --run automake-1.9 +AWK = gawk -+CC = /home/wbx/alix1c/openadk/cross_i586/host/bin/i586-linux-gnu-gcc ++CC = /Volumes/adk/openadk/host_mipsel_uclibc/bin/mipsel-openadk-linux-uclibc-gcc +CCDEPMODE = depmode=none -+CFLAGS = -fwrapv -fno-ident -Os -pipe -march=geode -fomit-frame-pointer -fstack-protector-all -+CPP = /home/wbx/alix1c/openadk/cross_i586/host/bin/i586-linux-gnu-gcc -E -+CPPFLAGS = -I/home/wbx/alix1c/openadk/cross_i586/target/usr/include -DNDEBUG -+CURSES_INCLUDEDIR = -I/home/wbx/alix1c/openadk/cross_i586/target/include -DRENAMED_NCURSES -+CURSES_LIBS = -L/home/wbx/alix1c/openadk/cross_i586/target/lib -lncurses -lpanel -lform ++CFLAGS = -fwrapv -fno-ident -fhonour-copts -fomit-frame-pointer -Os -pipe ++CPP = /Volumes/adk/openadk/host_mipsel_uclibc/bin/mipsel-openadk-linux-uclibc-gcc -E ++CPPFLAGS = -DNDEBUG -I/Volumes/adk/openadk/target_mipsel_uclibc/usr/include ++CURSES_INCLUDEDIR = -I/Volumes/adk/openadk/target_mipsel_uclibc/include ++CURSES_LIBS = -L/Volumes/adk/openadk/target_mipsel_uclibc/lib -lncurses -lpanel -lform CYGPATH_W = echo DEFS = -DHAVE_CONFIG_H DEPDIR = .deps -@@ -102,13 +102,13 @@ INSTALL_DATA = ${INSTALL} -m 644 + ECHO_C = + ECHO_N = -n + ECHO_T = +-EGREP = /bin/grep -E ++EGREP = /usr/bin/grep -E + EXEEXT = +-GREP = /bin/grep ++GREP = /usr/bin/grep + INSTALL_DATA = ${INSTALL} -m 644 INSTALL_PROGRAM = ${INSTALL} INSTALL_SCRIPT = ${INSTALL} INSTALL_STRIP_PROGRAM = ${SHELL} $(install_sh) -c -s -LDFLAGS = -LIBICONV = -+LDFLAGS = -Wl,-O2 -Wl,-rpath -Wl,/usr/lib -Wl,-rpath-link -Wl,/home/wbx/alix1c/openadk/cross_i586/target/usr/lib -L/home/wbx/alix1c/openadk/cross_i586/target/lib -L/home/wbx/alix1c/openadk/cross_i586/target/usr/lib -+LIBICONV = /home/wbx/alix1c/openadk/cross_i586/target/usr/lib/libiconv.so -Wl,-rpath -Wl,/home/wbx/alix1c/openadk/cross_i586/target/usr/lib ++LDFLAGS = -L/Volumes/adk/openadk/target_mipsel_uclibc/lib -L/Volumes/adk/openadk/target_mipsel_uclibc/usr/lib -Wl,-O2 -Wl,-rpath -Wl,/usr/lib -Wl,-rpath-link -Wl,/Volumes/adk/openadk/target_mipsel_uclibc/usr/lib ++LIBICONV = /Volumes/adk/openadk/target_mipsel_uclibc/usr/lib/libiconv.so -Wl,-rpath -Wl,/Volumes/adk/openadk/target_mipsel_uclibc/usr/lib LIBOBJS = LIBS = -LTLIBICONV = -+LTLIBICONV = -L/home/wbx/alix1c/openadk/cross_i586/target/usr/lib -liconv -R/home/wbx/alix1c/openadk/cross_i586/target/usr/lib ++LTLIBICONV = -L/Volumes/adk/openadk/target_mipsel_uclibc/usr/lib -liconv -R/Volumes/adk/openadk/target_mipsel_uclibc/usr/lib LTLIBOBJS = -MAKEINFO = ${SHELL} /home/jonas/tmsnc/missing --run makeinfo -+MAKEINFO = ${SHELL} /home/wbx/alix1c/openadk/build_i586/w-tmsnc-0.3.2-1/tmsnc-0.3.2/missing --run makeinfo ++MAKEINFO = ${SHELL} /Volumes/adk/openadk/build_qemu_mipsel_uclibc/w-tmsnc-0.3.2-1/tmsnc-0.3.2/missing --run makeinfo OBJEXT = o OPENSSL_FALSE = # OPENSSL_TRUE = @@ -76,9 +93,9 @@ $Id: update-patches 24 2008-08-31 14:56:13Z wbx $ -SSLLIB = -lssl -lcrypto -STRIP = +SHELL = /bin/bash -+SSLINC = -I/home/wbx/alix1c/openadk/cross_i586/target/usr/include -+SSLLIB = -L/home/wbx/alix1c/openadk/cross_i586/target/usr/lib -lssl -lcrypto -+STRIP = i586-linux-strip ++SSLINC = -I/Volumes/adk/openadk/target_mipsel_uclibc/usr/include ++SSLLIB = -L/Volumes/adk/openadk/target_mipsel_uclibc/usr/lib -lssl -lcrypto ++STRIP = /Volumes/adk/openadk/host_mipsel_uclibc/bin/mipsel-openadk-linux-uclibc-strip TALKFILTERS_FALSE = TALKFILTERS_TRUE = # TFLIB = @@ -94,16 +111,18 @@ $Id: update-patches 24 2008-08-31 14:56:13Z wbx $ am__quote = am__tar = ${AMTAR} chof - "$$tardir" am__untar = ${AMTAR} xf - - bindir = ${exec_prefix}/bin +-bindir = ${exec_prefix}/bin -build = i686-pc-linux-gnu -build_alias = --build_cpu = i686 -+build = x86_64-pc-linux-gnu -+build_alias = x86_64-linux-gnu -+build_cpu = x86_64 - build_os = linux-gnu - build_vendor = pc ++bindir = /usr/bin ++build = i686-apple-darwin10 ++build_alias = i686-apple-darwin10 + build_cpu = i686 +-build_os = linux-gnu +-build_vendor = pc -datadir = ${datarootdir} ++build_os = darwin10 ++build_vendor = apple +datadir = /usr/share datarootdir = ${prefix}/share docdir = ${datarootdir}/doc/${PACKAGE} @@ -112,25 +131,27 @@ $Id: update-patches 24 2008-08-31 14:56:13Z wbx $ -host = i686-pc-linux-gnu -host_alias = -host_cpu = i686 -+host = i586-pc-linux-gnu -+host_alias = i586-linux -+host_cpu = i586 ++host = mipsel-openadk-linux-gnu ++host_alias = mipsel-openadk-linux ++host_cpu = mipsel host_os = linux-gnu - host_vendor = pc +-host_vendor = pc ++host_vendor = openadk htmldir = ${docdir} includedir = ${prefix}/include infodir = ${datarootdir}/info -install_sh = /home/jonas/tmsnc/install-sh -+install_sh = /home/wbx/alix1c/openadk/build_i586/w-tmsnc-0.3.2-1/tmsnc-0.3.2/install-sh ++install_sh = /Volumes/adk/openadk/build_qemu_mipsel_uclibc/w-tmsnc-0.3.2-1/tmsnc-0.3.2/install-sh libdir = ${exec_prefix}/lib -libexecdir = ${exec_prefix}/libexec -+libexecdir = /usr/sbin ++libexecdir = /usr/libexec localedir = ${datarootdir}/locale -localstatedir = ${prefix}/var -mandir = ${datarootdir}/man +-mkdir_p = mkdir -p -- +localstatedir = /var +mandir = /usr/share/man - mkdir_p = mkdir -p -- ++mkdir_p = $(mkinstalldirs) oldincludedir = /usr/include pdfdir = ${docdir} -prefix = /usr/local @@ -143,12 +164,12 @@ $Id: update-patches 24 2008-08-31 14:56:13Z wbx $ -sysconfdir = ${prefix}/etc -target_alias = +sysconfdir = /etc -+target_alias = i586-linux ++target_alias = mipsel-openadk-linux tmsnc_VERSION = 0.3.2 -LDADD = -lssl -lcrypto -lncurses -lpanel -lform -INCLUDES = -+LDADD = -L/home/wbx/alix1c/openadk/cross_i586/target/usr/lib -lssl -lcrypto -L/home/wbx/alix1c/openadk/cross_i586/target/lib -lncurses -lpanel -lform /home/wbx/alix1c/openadk/cross_i586/target/usr/lib/libiconv.so -Wl,-rpath -Wl,/home/wbx/alix1c/openadk/cross_i586/target/usr/lib -L/home/wbx/alix1c/openadk/cross_i586/target/usr/lib -liconv -R/home/wbx/alix1c/openadk/cross_i586/target/usr/lib -+INCLUDES = -I/home/wbx/alix1c/openadk/cross_i586/target/usr/include -I/home/wbx/alix1c/openadk/cross_i586/target/include -DRENAMED_NCURSES ++LDADD = -L/Volumes/adk/openadk/target_mipsel_uclibc/usr/lib -lssl -lcrypto -L/Volumes/adk/openadk/target_mipsel_uclibc/lib -lncurses -lpanel -lform /Volumes/adk/openadk/target_mipsel_uclibc/usr/lib/libiconv.so -Wl,-rpath -Wl,/Volumes/adk/openadk/target_mipsel_uclibc/usr/lib -L/Volumes/adk/openadk/target_mipsel_uclibc/usr/lib -liconv -R/Volumes/adk/openadk/target_mipsel_uclibc/usr/lib ++INCLUDES = -I/Volumes/adk/openadk/target_mipsel_uclibc/usr/include -I/Volumes/adk/openadk/target_mipsel_uclibc/include AM_CFLAGS = -Wall tmsnc_SOURCES = misc.c main.c conf.c login.c sig.c menu.c ui.c list.c charset.c core_misc.c core_net.c core_ssl.c core_p2p.c dialog.c filters.c event.c debug.c noinst_HEADERS = misc.h main.h conf.h login.h sig.h menu.h ui.h list.h charset.h core_misc.h core_net.h core_ssl.h core_p2p.h core.h dialog.h filters.h event.h |