iptables: disable static to allow building all extensions.

This commit is contained in:
Juan RP 2013-11-17 07:59:54 +01:00
parent 27109ff929
commit 907949e395
2 changed files with 16 additions and 6 deletions

View file

@ -0,0 +1,11 @@
--- extensions/GNUmakefile.in 2012-03-27 12:14:05.000000000 -0400
+++ extensions/GNUmakefile.in 2012-03-27 16:03:48.378790221 -0400
@@ -21,7 +21,7 @@
kinclude_CPPFLAGS = @kinclude_CPPFLAGS@
AM_CFLAGS = ${regular_CFLAGS}
-AM_CPPFLAGS = ${regular_CPPFLAGS} -I${top_builddir}/include -I${top_builddir} -I${top_srcdir}/include ${kinclude_CPPFLAGS}
+AM_CPPFLAGS = ${CPPFLAGS} ${regular_CPPFLAGS} -I${top_builddir}/include -I${top_builddir} -I${top_srcdir}/include ${kinclude_CPPFLAGS}
AM_DEPFLAGS = -Wp,-MMD,$(@D)/.$(@F).d,-MT,$@
AM_LDFLAGS = @noundef_LDFLAGS@

View file

@ -1,9 +1,11 @@
# Template file for 'iptables' # Template file for 'iptables'
pkgname=iptables pkgname=iptables
version=1.4.20 version=1.4.20
revision=2 revision=3
build_style=gnu-configure build_style=gnu-configure
configure_args="--enable-libipq --enable-shared --enable-static --enable-bpf-compiler" configure_args="--enable-libipq --enable-shared --enable-devel --enable-bpf-compiler"
hostmakedepends="pkg-config"
makedepends="libpcap-devel"
short_desc="Linux IPv[46] packet filtering ruleset" short_desc="Linux IPv[46] packet filtering ruleset"
maintainer="Juan RP <xtraeme@gmail.com>" maintainer="Juan RP <xtraeme@gmail.com>"
homepage="http://www.netfilter.org/" homepage="http://www.netfilter.org/"
@ -11,8 +13,6 @@ license="GPL-2"
distfiles="$homepage/projects/iptables/files/$pkgname-$version.tar.bz2" distfiles="$homepage/projects/iptables/files/$pkgname-$version.tar.bz2"
checksum=109b8c7ca90b4536bc5de869ae705f6d5efcc0c08ef3003755aad3ed6d2d49ad checksum=109b8c7ca90b4536bc5de869ae705f6d5efcc0c08ef3003755aad3ed6d2d49ad
makedepends="libpcap-devel"
if [ "$CROSS_BUILD" ]; then if [ "$CROSS_BUILD" ]; then
hostmakedepends="automake libtool gettext-devel pkg-config" hostmakedepends="automake libtool gettext-devel pkg-config"
pre_configure() { pre_configure() {
@ -42,10 +42,9 @@ post_install() {
} }
iptables-devel_package() { iptables-devel_package() {
depends="${sourcepkg}-${version}_${revision}" depends="${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files" short_desc+=" - development files"
pkg_install() { pkg_install() {
vmove "usr/lib/*.a"
vmove "usr/lib/*.so" vmove "usr/lib/*.so"
vmove usr/include vmove usr/include
vmove usr/lib/pkgconfig vmove usr/lib/pkgconfig