[arch-commits] Commit in iptables/trunk (PKGBUILD)

Ronald van Haren ronald at archlinux.org
Sat Mar 24 09:42:16 EDT 2012


    Date: Saturday, March 24, 2012 @ 09:42:15
  Author: ronald
Revision: 154239

upgpkg: iptables 1.4.12.2-3

use another buildfix; remove weird LDFLAGS; remove unset commands in package() function

Modified:
  iptables/trunk/PKGBUILD

----------+
 PKGBUILD |   12 +++---------
 1 file changed, 3 insertions(+), 9 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2012-03-24 13:41:41 UTC (rev 154238)
+++ PKGBUILD	2012-03-24 13:42:15 UTC (rev 154239)
@@ -4,7 +4,7 @@
 
 pkgname=iptables
 pkgver=1.4.12.2
-pkgrel=2
+pkgrel=3
 pkgdesc='Linux kernel packet control tool'
 arch=('i686' 'x86_64')
 license=('GPL2')
@@ -43,12 +43,9 @@
   sed -i '87 i libxt_RATEEST.so: libxt_RATEEST.oo' extensions/GNUmakefile.in
   sed -i '88 i \\t${AM_VERBOSE_CCLD} ${CCLD} ${AM_LDFLAGS} -lm -shared ${LDFLAGS} -o $@ $<;\n' extensions/GNUmakefile.in
 
-  # buildfix from LFS
-  sed  -i  '/if_packet/i#define __aligned_u64 __u64 __attribute__((aligned(8)))' extensions/libxt_pkttype.c
+  # use system one
+  rm include/linux/types.h
 
- # FS#25358: libxt_statistic.so undefined symbol: lround 
- export LDFLAGS='-lm'
-
  ./configure --prefix=/usr \
      --libexecdir=/usr/lib/iptables --sysconfdir=/etc \
      --with-xtlibdir=/usr/lib/iptables \
@@ -62,9 +59,6 @@
 package() {
   cd "${srcdir}/${pkgname}-${pkgver}"
 
-  unset CFLAGS
-  unset LDFLAGS
-
   make DESTDIR="${pkgdir}" install
 
   cd "${srcdir}"



More information about the arch-commits mailing list