aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSören Tempel <soeren+git@soeren-tempel.net>2016-03-09 15:41:46 +0100
committerSören Tempel <soeren+git@soeren-tempel.net>2016-03-09 15:44:03 +0100
commitd7d45dd522c06ce4404d86284876dfe8d05d8619 (patch)
treedcb276d6bc032442ae6690c8bc5c71702766f5ee
parent05410457bdc7eb003b12e74a7f75dc08e17a7698 (diff)
downloadaports-d7d45dd522c06ce4404d86284876dfe8d05d8619.tar.bz2
aports-d7d45dd522c06ce4404d86284876dfe8d05d8619.tar.xz
testing/nvi: enable static disable threads
Threads and libvi.so are only needed when building nvi with a GUI.
-rw-r--r--testing/nvi/APKBUILD8
1 files changed, 5 insertions, 3 deletions
diff --git a/testing/nvi/APKBUILD b/testing/nvi/APKBUILD
index 5e1973ff9d..5d427c704c 100644
--- a/testing/nvi/APKBUILD
+++ b/testing/nvi/APKBUILD
@@ -2,7 +2,7 @@
# Maintainer: Sören Tempel <soeren+alpine@soeren-tempel.net>
pkgname=nvi
pkgver=1.81.6
-pkgrel=0
+pkgrel=1
pkgdesc="Re-implementation of the vi editor"
url="http://www.bostic.com/vi"
arch="all"
@@ -62,8 +62,7 @@ build() {
--localstatedir=/var \
--program-prefix=n \
--enable-widechar \
- --enable-threads \
- --disable-static \
+ --disable-threads \
|| return 1
make || return 1
}
@@ -79,6 +78,9 @@ package() {
# Remove cat man pages.
rm -rf "$pkgdir"/usr/share/man/cat1
+
+ # Remove library.
+ rm -f "$pkgdir"/usr/lib/libvi.a
}
catalog() {