# HG changeset patch # User Pascal Bellard # Date 1425543275 -3600 # Node ID d9d7fcbb1ab3ceb2eaa1e1c30ed0b0344589eca2 # Parent 23b382a886adb1bb9081c6f3cf80a08bd62ed7df tcsh, vim-tiny, vim: add -ltinfo in LDFLAGS diff -r 23b382a886ad -r d9d7fcbb1ab3 tcsh/receipt --- a/tcsh/receipt Thu Mar 05 08:50:37 2015 +0100 +++ b/tcsh/receipt Thu Mar 05 09:14:35 2015 +0100 @@ -12,9 +12,13 @@ #The following build dep will be necessary when glibc ups to 2.14. #BUILD_DEPENDS="libtirpc" +DEPENDS="ncurses" +BUILD_DEPENDS="ncurses-dev" + # Rules to configure and make the package. compile_rules() { + export LDFLAGS="$LDFLAGS -ltinfo" mkdir -p $DESTDIR/usr/bin touch $DESTDIR/usr/bin/tcsh ./configure $CONFIGURE_ARGS && @@ -28,9 +32,6 @@ { mkdir -p $fs/usr/bin \ $fs/usr/share - cp -a $install/usr/bin/tcsh $fs/usr/bin - cp -ar $install/usr/share/locale $fs/usr/share } - diff -r 23b382a886ad -r d9d7fcbb1ab3 vim-tiny/receipt --- a/vim-tiny/receipt Thu Mar 05 08:50:37 2015 +0100 +++ b/vim-tiny/receipt Thu Mar 05 09:14:35 2015 +0100 @@ -14,11 +14,12 @@ TAGS="text-editor" DEPENDS="ncurses" +BUILD_DEPENDS="ncurses-dev" # Rules to configure and make the package. compile_rules() { - cd $src + export LDFLAGS="$LDFLAGS -ltinfo" # define the place for the global vimrc file (set to /etc/vim/vimrc) # (patch from Arch Linux PKGBUILD) diff -r 23b382a886ad -r d9d7fcbb1ab3 vim/receipt --- a/vim/receipt Thu Mar 05 08:50:37 2015 +0100 +++ b/vim/receipt Thu Mar 05 09:14:35 2015 +0100 @@ -13,11 +13,12 @@ TAGS="text-editor" DEPENDS="ncurses acl diffutils" +BUILD_DEPENDS="ncurses-dev acl-dev diffutils" # Rules to configure and make the package. compile_rules() { - cd $src + export LDFLAGS="$LDFLAGS -ltinfo" # define the place for the global vimrc file (set to /etc/vim/vimrc) # (patch from Arch Linux PKGBUILD)