nvi: switch to program prefix 'n' n{foo}.

This commit is contained in:
Juan RP 2015-10-30 16:19:01 +01:00
parent f21f8030e5
commit ee74e2df25
1 changed files with 8 additions and 8 deletions

View File

@ -1,7 +1,7 @@
# Template file for 'nvi'
pkgname=nvi
version=1.81.6
revision=11
revision=12
patch_args="-Np1"
build_pie=yes
build_style=gnu-configure
@ -16,18 +16,18 @@ distfiles="http://pkgs.fedoraproject.org/repo/pkgs/nvi/nvi-${version}.tar.bz2/88
checksum=3441b8e3247b2b6dd19b5fd38355fe6593b2a92e960ecb3dd00d676f63d06b59
alternatives="
ex:/usr/bin/ex:/usr/bin/nvi-ex
ex:/usr/share/man/man1/ex.1:/usr/share/man/man1/nvi-ex.1
vi:/usr/bin/vi:/usr/bin/nvi-vi
vi:/usr/share/man/man1/vi.1:/usr/share/man/man1/nvi-vi.1
view:/usr/bin/view:/usr/bin/nvi-view
view:/usr/share/man/man1/view.1:/usr/share/man/man1/nvi-view.1
ex:/usr/bin/ex:/usr/bin/nex
ex:/usr/share/man/man1/ex.1:/usr/share/man/man1/nex.1
vi:/usr/bin/vi:/usr/bin/nvi
vi:/usr/share/man/man1/vi.1:/usr/share/man/man1/nvi.1
view:/usr/bin/view:/usr/bin/nview
view:/usr/share/man/man1/view.1:/usr/share/man/man1/nview.1
"
do_configure() {
export OPTFLAG="$CFLAGS"
./configure ${configure_args} --enable-widechar --enable-threads \
--disable-static vi_cv_path_preserve=/var/tmp --program-prefix=nvi- \
--disable-static vi_cv_path_preserve=/var/tmp --program-prefix=n \
vi_cv_sprintf_count=yes
}
pre_build() {