summaryrefslogtreecommitdiffstats
path: root/less
diff options
context:
space:
mode:
Diffstat (limited to 'less')
-rw-r--r--less/Pkgfile4
1 files changed, 3 insertions, 1 deletions
diff --git a/less/Pkgfile b/less/Pkgfile
index 4ca7868..6fbb364 100644
--- a/less/Pkgfile
+++ b/less/Pkgfile
@@ -7,11 +7,13 @@ depends=(ncurses)
name=less
version=429
release=1
-source=(http://www.greenwoodsoftware.com/less/less-429.tar.gz filter)
+source=(http://www.greenwoodsoftware.com/$name/$name-$version.tar.gz filter)
build ()
{
cd $name-$version;
./configure \
+ ${CHOST:+--build=${CHOST}} \
+ ${CTARGET:+--host=${CTARGET}} \
--prefix=$prefix \
--mandir=$mandir;
make;