traceroute: revbump to build -dbg pkg.

This commit is contained in:
Juan RP 2014-06-01 07:54:11 +02:00
parent 6be3687546
commit 2f9f5b086d
1 changed files with 3 additions and 5 deletions

View File

@ -1,7 +1,7 @@
# Template file for 'traceroute'
pkgname=traceroute
version=2.0.19
revision=3
revision=4
short_desc="Traces the route taken by packets over an IPv4/IPv6 network"
maintainer="Juan RP <xtraeme@gmail.com>"
license="GPL-2"
@ -10,10 +10,8 @@ distfiles="$SOURCEFORGE_SITE/$pkgname/$pkgname-$version.tar.gz"
checksum=082be58ec3e6fe9717a52160150e2f6d52fa90f8ecb82abf3b363c8150b0607e
do_build() {
if [ -n "$XBPS_CROSS_TRIPLET" ]; then
make LDFLAGS="-L${wrksrc}/libsupp" \
CROSS=${XBPS_CROSS_TRIPLET}- \
CFLAGS="$CFLAGS" ${makejobs}
if [ "$CROSS_BUILD" ]; then
make LDFLAGS="-L${wrksrc}/libsupp $LDFLAGS" CFLAGS="$CFLAGS" CROSS=${XBPS_CROSS_TRIPLET}- ${makejobs}
else
make CFLAGS="$CFLAGS" ${makejobs}
fi