diff options
author | Michał Masłowski <mtjm@mtjm.eu> | 2012-01-07 15:08:59 +0100 |
---|---|---|
committer | Michał Masłowski <mtjm@mtjm.eu> | 2012-01-07 15:08:59 +0100 |
commit | 74d2f6ecbd25e398d8e618b1ba3b8b1df8baefe5 (patch) | |
tree | c7ddc46dc8b4d648a7d34903ab0832d9fce63c09 /community/cutter | |
parent | d5d6c758f4c060d2f5a26435fd3a3e8a660d5af8 (diff) |
Rebuilds for lib32.
Manually run the compiler instead of using trivial Makefiles, to
respect user's CFLAGS.
Diffstat (limited to 'community/cutter')
-rw-r--r-- | community/cutter/PKGBUILD | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/community/cutter/PKGBUILD b/community/cutter/PKGBUILD index 010919ae2..ee3a8cfb1 100644 --- a/community/cutter/PKGBUILD +++ b/community/cutter/PKGBUILD @@ -4,7 +4,7 @@ pkgname=cutter pkgver=1.03 -pkgrel=3 +pkgrel=3.1 pkgdesc="TCP/IP Connection cutting on Linux Firewalls and Routers" arch=('i686' 'x86_64' 'mips64el') url="http://www.lowth.com/cutter/" @@ -15,6 +15,8 @@ md5sums=('50093db9b64277643969ee75b83ebbd1') build() { cd $startdir/src/$pkgname-$pkgver - make || return 1 + # The included trivial Makefile ignores CFLAGS and LDFLAGS, so + # running the compiler manually here. + ${CC:-gcc} ${LDFLAGS} ${CFLAGS} -o cutter cutter.c install -D -m 0755 ./cutter $startdir/pkg/usr/bin/tcp-cutter } |