diff --git a/templates/util-linux.tmpl b/templates/util-linux.tmpl index 266b77dd74..1d2cec3055 100644 --- a/templates/util-linux.tmpl +++ b/templates/util-linux.tmpl @@ -1,9 +1,10 @@ # Template file for 'util-linux' pkgname=util-linux version=2.12r -patch_files="$pkgname-fix-build.diff" +#patch_files="$pkgname-fix-build.diff" distfiles="http://www.kernel.org/pub/linux/utils/util-linux/$pkgname-$version@.tar.bz2" build_style=gnu_configure +CFLAGS="-I/usr/include" make_install_args="ETC_DIR=$XBPS_DESTDIR/$pkgname-$version/etc SBIN_DIR=$XBPS_DESTDIR/$pkgname-$version/sbin USRSBIN_DIR=$XBPS_DESTDIR/$pkgname-$version/usr/sbin @@ -14,10 +15,12 @@ make_install_args="ETC_DIR=$XBPS_DESTDIR/$pkgname-$version/etc BIN_DIR=$XBPS_DESTDIR/$pkgname-$version/bin VAR_PATH=$XBPS_DESTDIR/$pkgname-$version/var LOG_DIR=$XBPS_DESTDIR/$pkgname-$version/log - MAN_DIR=$XBPS_DESTDIR/$pkgname-$version/share/man - INFO_DIR=$XBPS_DESTDIR/$pkgname-$version/share/info" + MAN_DIR=$XBPS_DESTDIR/$pkgname-$version/usr/share/man + INFO_DIR=$XBPS_DESTDIR/$pkgname-$version/usr/share/info" short_desc="Random collection of Linux utilities" maintainer="Juan RP " checksum=b8e499b338ce9fbd1fb315194b26540ec823c0afc46c9e145ac7a3e38ad57e6b long_desc=" util-linux is a random collection of Linux utilities." + +build_depends="linux-headers-2.6.27.3"