Mail archive
alpine-aports

[alpine-aports] [PATCH 1/2] community/xbps: Simplify configure arguments

From: Steven McDonald <steven_at_steven-mcdonald.id.au>
Date: Sat, 22 Sep 2018 16:28:36 +0200

bindir defaults to $prefix/bin, so there is no need to specify it.

localstatedir is only used to derive the location of the package
database by appending db/xbps. /var/db/xbps is what Void uses, as
opposed to /var/lib/xbps/db/xbps, which is what results from the
previous configure arguments. Matching Void here means that a
bootstrapped Void chroot on Alpine will have a usable xbps
installation without having to reinitialise its database and
reinstall all packages.
---
 community/xbps/APKBUILD | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)
diff --git a/community/xbps/APKBUILD b/community/xbps/APKBUILD
index cd79e38e1a..fadc73db74 100644
--- a/community/xbps/APKBUILD
+++ b/community/xbps/APKBUILD
_at_@ -2,7 +2,7 @@
 # Maintainer: André Klitzing <aklitzing_at_gmail.com>
 pkgname=xbps
 pkgver=0.52
-pkgrel=1
+pkgrel=2
 pkgdesc="The X Binary Package System"
 arch="all"
 url="https://github.com/voidlinux/xbps"
_at_@ -24,9 +24,7 @@ build() {
 
 	./configure \
 		--prefix=/usr \
-		--sysconfdir=/etc \
-		--bindir=/usr/bin \
-		--localstatedir=/var/lib/xbps
+		--sysconfdir=/etc
 	make
 }
 
-- 
2.19.0
---
Unsubscribe:  alpine-aports+unsubscribe_at_lists.alpinelinux.org
Help:         alpine-aports+help_at_lists.alpinelinux.org
---
Received on Sat Sep 22 2018 - 16:28:36 GMT