mirror of
https://github.com/void-linux/void-packages.git
synced 2025-07-29 17:02:56 +02:00
nvi: disable threads, enable static.
Fixes #3775. threads and libvi.so only make sense when building with a GUI. Remove unsupported scripts while we are cleaning up.
This commit is contained in:
parent
5b04ce6f3f
commit
9d9bf667b5
1 changed files with 7 additions and 3 deletions
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'nvi'
|
# Template file for 'nvi'
|
||||||
pkgname=nvi
|
pkgname=nvi
|
||||||
version=1.81.6
|
version=1.81.6
|
||||||
revision=15
|
revision=16
|
||||||
patch_args="-Np1"
|
patch_args="-Np1"
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
build_wrksrc=dist
|
build_wrksrc=dist
|
||||||
|
@ -25,8 +25,8 @@ alternatives="
|
||||||
|
|
||||||
do_configure() {
|
do_configure() {
|
||||||
export OPTFLAG="$CFLAGS"
|
export OPTFLAG="$CFLAGS"
|
||||||
./configure ${configure_args} --enable-widechar --enable-threads \
|
./configure ${configure_args} --enable-widechar --disable-shared \
|
||||||
--disable-static vi_cv_path_preserve=/var/tmp --program-prefix=n \
|
vi_cv_path_preserve=/var/tmp --program-prefix=n \
|
||||||
vi_cv_sprintf_count=yes
|
vi_cv_sprintf_count=yes
|
||||||
}
|
}
|
||||||
pre_build() {
|
pre_build() {
|
||||||
|
@ -35,4 +35,8 @@ pre_build() {
|
||||||
post_install() {
|
post_install() {
|
||||||
# remove cat pages.
|
# remove cat pages.
|
||||||
rm -rf ${DESTDIR}/usr/share/man/cat1
|
rm -rf ${DESTDIR}/usr/share/man/cat1
|
||||||
|
# remove lib.
|
||||||
|
rm -f ${DESTDIR}/usr/lib/libvi.a
|
||||||
|
# remove perl + tcl scripts.
|
||||||
|
rm -rf ${DESTDIR}/usr/share/vi/perl ${DESTDIR}/usr/share/vi/tcl
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue