diff --git a/community/libcmis/APKBUILD b/community/libcmis/APKBUILD
index f771774e7916f255b3277b747099671315731f44..24613d1cd1837cf410bddc1011d325ec05470b53 100644
--- a/community/libcmis/APKBUILD
+++ b/community/libcmis/APKBUILD
@@ -13,6 +13,11 @@ subpackages="$pkgname-dev $pkgname-doc cmis-client:client"
 source="https://github.com/tdf/$pkgname/releases/download/v$pkgver/$pkgname-$pkgver.tar.gz
 	"
 
+prepare() {
+	default_prepare
+	update_config_sub
+}
+
 build() {
 	./configure \
 		--build=$CBUILD \