summaryrefslogtreecommitdiff
path: root/net/rsync/Makefile
diff options
context:
space:
mode:
authorMaxim Storchak <m.storchak@gmail.com>2020-06-28 14:54:18 +0300
committerRosen Penev <rosenp@gmail.com>2020-06-28 13:56:21 -0700
commite1cd4bcf0a16f08e9b64271c2d3ec554348b7cba (patch)
tree1670787f21bd2b64760a0e79b2b22fa4b74ff977 /net/rsync/Makefile
parent3f00aed153934ee0ee27e0605d6f9f2bbacd9695 (diff)
rsync: fix ipv6 detection
Signed-off-by: Maxim Storchak <m.storchak@gmail.com>
Diffstat (limited to 'net/rsync/Makefile')
-rw-r--r--net/rsync/Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/net/rsync/Makefile b/net/rsync/Makefile
index ff4231a1a..9d154b840 100644
--- a/net/rsync/Makefile
+++ b/net/rsync/Makefile
@@ -20,6 +20,7 @@ PKG_LICENSE:=GPL-3.0-or-later
PKG_LICENSE_FILES:=COPYING
PKG_CPE_ID:=cpe:/a:rsync:rsync
+PKG_FIXUP:=autoreconf
PKG_INSTALL:=1
PKG_BUILD_PARALLEL:=1
@@ -57,6 +58,11 @@ CONFIGURE_ARGS += \
--with$(if $(CONFIG_RSYNC_zlib),,out)-included-zlib \
--$(if $(CONFIG_IPV6),en,dis)able-ipv6
+define Build/Configure
+ $(call Build/Configure/Default)
+ $(MAKE) -C $(PKG_BUILD_DIR) DESTDIR="$(PKG_INSTALL_DIR)" reconfigure
+endef
+
define Package/rsyncd
SECTION:=net
CATEGORY:=Network