From 42dd254f5937274f164a5a7c5fb3c1f80e38e7af Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Fri, 27 Jul 2012 10:45:02 +0200 Subject: full build on Darwin fixes --- package/libnetfilter_cttimeout/Makefile | 28 ++++++++++++++++++++++ .../libnetfilter_cttimeout/patches/patch-ltmain_sh | 11 +++++++++ 2 files changed, 39 insertions(+) create mode 100644 package/libnetfilter_cttimeout/Makefile create mode 100644 package/libnetfilter_cttimeout/patches/patch-ltmain_sh (limited to 'package/libnetfilter_cttimeout') diff --git a/package/libnetfilter_cttimeout/Makefile b/package/libnetfilter_cttimeout/Makefile new file mode 100644 index 000000000..34ca45aa2 --- /dev/null +++ b/package/libnetfilter_cttimeout/Makefile @@ -0,0 +1,28 @@ +# This file is part of the OpenADK project. OpenADK is copyrighted +# material, please see the LICENCE file in the top-level directory. + +include $(TOPDIR)/rules.mk + +PKG_NAME:= libnetfilter_cttimeout +PKG_VERSION:= 1.0.0 +PKG_RELEASE:= 1 +PKG_MD5SUM:= 7697437fc9ebb6f6b83df56a633db7f9 +PKG_DESCR:= API to the fine-grain connection tracking timeout infrastructure +PKG_SECTION:= libs +PKG_DEPENDS:= libnfnetlink +PKG_BUILDDEP:= libnfnetlink +PKG_URL:= http://www.netfilter.org/projects/libnetfilter_cttimeout/ +PKG_SITES:= http://www.netfilter.org/projects/libnetfilter_cttimeout/files/ + +DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.bz2 + +include $(TOPDIR)/mk/package.mk + +$(eval $(call PKG_template,LIBNETFILTER_CTTIMEOUT,libnetfilter-cttimeout,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION})) + +post-install: + $(INSTALL_DIR) $(IDIR_LIBNETFILTER_CTTIMEOUT)/usr/lib + $(CP) $(WRKINST)/usr/lib/libnetfilter_cttimeout*so* \ + $(IDIR_LIBNETFILTER_CTTIMEOUT)/usr/lib/ + +include ${TOPDIR}/mk/pkg-bottom.mk diff --git a/package/libnetfilter_cttimeout/patches/patch-ltmain_sh b/package/libnetfilter_cttimeout/patches/patch-ltmain_sh new file mode 100644 index 000000000..98484bd51 --- /dev/null +++ b/package/libnetfilter_cttimeout/patches/patch-ltmain_sh @@ -0,0 +1,11 @@ +--- libnetfilter_queue-0.0.17.orig/ltmain.sh 2008-04-29 23:33:55.000000000 +0200 ++++ libnetfilter_queue-0.0.17/ltmain.sh 2011-01-15 22:49:28.000000000 +0100 +@@ -1676,7 +1676,7 @@ EOF + # -F/path gives path to uninstalled frameworks, gcc on darwin + # @file GCC response files + -64|-mips[0-9]|-r[0-9][0-9]*|-xarch=*|-xtarget=*|+DA*|+DD*|-q*|-m*| \ +- -t[45]*|-txscale*|-p|-pg|--coverage|-fprofile-*|-F*|@*) ++ -t[45]*|-txscale*|-p|-pg|--coverage|-fprofile-*|-F*|@*|-fstack-protector*|-flto) + + # Unknown arguments in both finalize_command and compile_command need + # to be aesthetically quoted because they are evaled later. -- cgit v1.2.3