mirror of
https://github.com/archr-linux/Arch-R.git
synced 2026-03-31 14:41:55 -07:00
grep: make build with libiconv optional
Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
@@ -22,7 +22,9 @@
|
||||
|
||||
. config/options $1
|
||||
|
||||
export LIBS="-liconv"
|
||||
if [ "$ICONV" = "libiconv" ]; then
|
||||
export LIBS="-liconv"
|
||||
fi
|
||||
|
||||
cd $PKG_BUILD
|
||||
./configure --host=$TARGET_NAME \
|
||||
|
||||
@@ -25,8 +25,8 @@ PKG_ARCH="any"
|
||||
PKG_LICENSE="GPL"
|
||||
PKG_SITE="http://www.gnu.org/software/grep/"
|
||||
PKG_URL="ftp://sunsite.cnlab-switch.ch/mirror/gnu/grep/$PKG_NAME-$PKG_VERSION.tar.xz"
|
||||
PKG_DEPENDS="libiconv pcre"
|
||||
PKG_BUILD_DEPENDS="toolchain libiconv pcre"
|
||||
PKG_DEPENDS="$ICONV pcre"
|
||||
PKG_BUILD_DEPENDS="toolchain $ICONV pcre"
|
||||
PKG_PRIORITY="optional"
|
||||
PKG_SECTION="system"
|
||||
PKG_SHORTDESC="grep: This is GNU grep, the fastest grep in the west"
|
||||
|
||||
Reference in New Issue
Block a user