From 7bc36b8010203957d5f1cdf4f743bf41d32cb691 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Tue, 24 Feb 2015 10:50:36 +0100 Subject: [PATCH] apr-util: set fixed dependency in subpkgs. --- srcpkgs/apr-util/template | 34 +++++++++------------------------- 1 file changed, 9 insertions(+), 25 deletions(-) diff --git a/srcpkgs/apr-util/template b/srcpkgs/apr-util/template index 13c6cd0b9d1..b6b1a07a518 100644 --- a/srcpkgs/apr-util/template +++ b/srcpkgs/apr-util/template @@ -1,9 +1,7 @@ # Template file for 'apr-util' pkgname=apr-util version=1.5.4 -revision=1 -# See http://build.voidlinux.eu:8010/builders/armv7l_builder/builds/7623/steps/shell_4/logs/stdio -nocross=1 +revision=2 build_style=gnu-configure # XXX: add freetds and unixodbc modules. configure_args=" @@ -21,16 +19,7 @@ license="Apache-2.0" distfiles="http://www.apache.org/dist/apr/${pkgname}-${version}.tar.bz2" checksum=a6cf327189ca0df2fb9d5633d7326c460fe2b61684745fd7963e79a6dd0dc82e -post_configure() { - if [ "$CROSS_BUILD" ]; then - sed -i -r \ - -e "/^(apr_builddir|apr_builders|top_builddir)=/s:=:=${XBPS_CROSS_BASE}:" \ - -e "/^CC=/s:=.*:=$CC:" \ - -e '/^(C|CPP|CXX|LD)FLAGS=/d' \ - -e '/^LTFLAGS/s:--silent::' \ - build/rules.mk - fi -} +nocross="http://build.voidlinux.eu/builders/armv7l_builder/builds/7623/steps/shell_4/logs/stdio" post_install() { # remove static libs @@ -47,54 +36,49 @@ apr-util-devel_package() { vmove usr/lib/pkgconfig } } - apr-util-db_package() { lib32disabled=yes - depends="apr-util>=${version}" + depends="apr-util-${version}_${revision}" short_desc+=" - Berkeley DB module" pkg_install() { vmove "usr/lib/apr-util-1/apr_dbm_db*" } } - apr-util-gdbm_package() { - depends="apr-util>=${version}" + lib32disabled=yes + depends="apr-util-${version}_${revision}" short_desc+=" - GDBM module" pkg_install() { vmove "usr/lib/apr-util-1/apr_dbm_gdbm*" } } - apr-util-ldap_package() { lib32disabled=yes - depends="apr-util>=${version}" + depends="apr-util-${version}_${revision}" short_desc+=" - LDAP support" pkg_install() { vmove "usr/lib/apr-util-1/apr_ldap*" } } - apr-util-mysql_package() { lib32disabled=yes - depends="apr-util>=${version}" + depends="apr-util-${version}_${revision}" short_desc+=" - MySQL module" pkg_install() { vmove "usr/lib/apr-util-1/apr_dbd_mysql*" } } - apr-util-pgsql_package() { lib32disabled=yes - depends="apr-util>=${version}" + depends="apr-util-${version}_${revision}" short_desc+=" - PostgreSQL module" pkg_install() { vmove "usr/lib/apr-util-1/apr_dbd_pgsql*" } } - apr-util-sqlite_package() { lib32disabled=yes - depends="apr-util>=${version}" + depends="apr-util-${version}_${revision}" short_desc+=" - SQLite module" pkg_install() { vmove "usr/lib/apr-util-1/apr_dbd_sqlite*"