diff options
Diffstat (limited to 'community/cutter/PKGBUILD')
-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 } |