Fix build on Red Hat based systems, where /etc/rc.d/init.d exists (thanks framer99...
authorNicolas Thill <nico@openwrt.org>
Fri, 27 May 2005 04:31:50 +0000 (04:31 +0000)
committerNicolas Thill <nico@openwrt.org>
Fri, 27 May 2005 04:31:50 +0000 (04:31 +0000)
SVN-Revision: 1071

openwrt/package/maradns/Makefile

index 67d6b673a4b0a37cc9e0d64fa29f0e2acc6412b5..3d790ee9d6679539e37f4ef7ed3f348c5512857b 100644 (file)
@@ -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 $@