From: Nicolas Thill Date: Fri, 27 May 2005 04:31:50 +0000 (+0000) Subject: Fix build on Red Hat based systems, where /etc/rc.d/init.d exists (thanks framer99... X-Git-Tag: reboot~32652 X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=58f85e26f7d432d8bb451ec9666b371a91884ce2;p=openwrt%2Fopenwrt.git Fix build on Red Hat based systems, where /etc/rc.d/init.d exists (thanks framer99 for reporting) SVN-Revision: 1071 --- diff --git a/openwrt/package/maradns/Makefile b/openwrt/package/maradns/Makefile index 67d6b673a4..3d790ee9d6 100644 --- a/openwrt/package/maradns/Makefile +++ b/openwrt/package/maradns/Makefile @@ -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 $@