apr/subversion: fix subversion build and apache-mod-php8 build regression (fixes... 23463/head
authorMichael Heimpold <mhei@heimpold.de>
Fri, 16 Feb 2024 23:21:49 +0000 (00:21 +0100)
committerMichael Heimpold <mhei@heimpold.de>
Fri, 16 Feb 2024 23:28:46 +0000 (00:28 +0100)
The recent upgrade of apr included a change with should fix the subversion build.

Unfortunately, this fix resulted in a build regression of apache-mod-php8.

The new approach is to pass the locations of the apr config helpers
to configure via parameter.

Fixes: 68dd7b7cf632 ("apr: update to 1.7.4")
Signed-off-by: Michael Heimpold <mhei@heimpold.de>
libs/apr/Makefile
net/subversion/Makefile

index f29fe94955312c92c789753f7d527503daa154ab..f1db711794f6cfee212276c44392cabc3d87d6a3 100644 (file)
@@ -88,7 +88,7 @@ define Build/InstallDev
        $(CP) $(PKG_INSTALL_DIR)/usr/share/build-1/* $(1)/usr/share/build-1
        $(SED) '/^prefix=\|^exec_prefix=/s|/usr|$(STAGING_DIR)/usr|' \
                                        $(1)/usr/bin/apr-1-config
-       $(SED) '/^bindir=/s|/usr/bin|$(STAGING_DIR)|' $(1)/usr/bin/apr-1-config
+       $(SED) '/^bindir=/s|/usr|$$$${prefix}|' $(1)/usr/bin/apr-1-config
        $(SED) '/^datadir=/s|/usr|$$$${prefix}|' $(1)/usr/bin/apr-1-config
        $(SED) '/^datarootdir=/s|/usr|$$$${prefix}|' $(1)/usr/bin/apr-1-config
        $(SED) 's,/usr/share/build-1,$(STAGING_DIR)/usr/share/build-1,g' \
index 0e733f284ab3af930b3e6739bc555fa46a367455..944a32eba337ae50fc1572435f03ad55e711c744 100644 (file)
@@ -80,6 +80,8 @@ define Package/subversion-server/conffiles
 endef
 
 CONFIGURE_ARGS += \
+       --with-apr=$(STAGING_DIR)/usr/bin/apr-1-config \
+       --with-apr-util=$(STAGING_DIR)/usr/bin/apu-1-config \
        --without-swig \
        --without-berkeley-db \
        --without-apxs \