diff --git a/net/apache/Makefile b/net/apache/Makefile index 35c648189..d3c6d89a4 100644 --- a/net/apache/Makefile +++ b/net/apache/Makefile @@ -282,6 +282,9 @@ define Build/InstallDev $(INSTALL_DIR) $(1)/usr/share/apache2/build $(CP) $(PKG_INSTALL_DIR)/usr/share/apache2/build/* \ $(1)/usr/share/apache2/build + $(SED) 's%"/usr/bin"%"$(STAGING_DIR)/usr/bin"%' $(1)/usr/bin/apxs + $(SED) 's%/usr/share/apache2/build%$(STAGING_DIR)/usr/share/apache2/build%' \ + $(1)/usr/bin/apxs $(SED) 's%^prefix =.*%prefix = $(STAGING_DIR)/usr%' \ $(1)/usr/share/apache2/build/config_vars.mk endef