X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/ecdc8bd6717059d3cce793e829a55ef3e474104b..5410980342c3522f4eb4a39cdee06fe9eec88b11:/openwrt/package/maradns/Makefile diff --git a/openwrt/package/maradns/Makefile b/openwrt/package/maradns/Makefile index 67d6b673a..2be8701a5 100644 --- a/openwrt/package/maradns/Makefile +++ b/openwrt/package/maradns/Makefile @@ -18,7 +18,7 @@ include $(TOPDIR)/package/rules.mk $(eval $(call PKG_template,MARADNS,maradns,$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH))) -$(PKG_BUILD_DIR)/.configured: $(PKG_BUILD_DIR)/.prepared +$(PKG_BUILD_DIR)/.configured: (cd $(PKG_BUILD_DIR); rm -rf config.{cache,status} ; \ $(TARGET_CONFIGURE_OPTS) \ ./configure \ @@ -56,6 +56,7 @@ $(PKG_BUILD_DIR)/.built: mkdir -p $(PKG_INSTALL_DIR)/usr/man/man{1,5,8} $(MAKE) -C $(PKG_BUILD_DIR) \ PREFIX="$(PKG_INSTALL_DIR)/usr" \ + RPM_BUILD_ROOT="$(PKG_INSTALL_DIR)" \ install touch $@