From 8851c949702544c26018d1b9477b02f3663bd8a0 Mon Sep 17 00:00:00 2001 From: Rosen Penev Date: Wed, 12 Aug 2020 12:50:43 -0700 Subject: [PATCH] libcgroup: don't build tests Speeds up compile. Signed-off-by: Rosen Penev --- libs/libcgroup/Makefile | 3 ++- libs/libcgroup/patches/020-tests.patch | 9 +++++++++ 2 files changed, 11 insertions(+), 1 deletion(-) create mode 100644 libs/libcgroup/patches/020-tests.patch diff --git a/libs/libcgroup/Makefile b/libs/libcgroup/Makefile index 2545c78cf..2258e1145 100644 --- a/libs/libcgroup/Makefile +++ b/libs/libcgroup/Makefile @@ -2,7 +2,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=libcgroup PKG_VERSION:=0.41 -PKG_RELEASE:=2 +PKG_RELEASE:=3 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2 PKG_SOURCE_URL:=@SF/libcg @@ -12,6 +12,7 @@ PKG_MAINTAINER:=Daniel Danzberger PKG_LICENSE:=LGPL-2.1-or-later PKG_LICENSE_FILES:=COPYING +PKG_FIXUP:=autoreconf PKG_INSTALL:=1 PKG_BUILD_PARALLEL:=1 diff --git a/libs/libcgroup/patches/020-tests.patch b/libs/libcgroup/patches/020-tests.patch new file mode 100644 index 000000000..72d64b497 --- /dev/null +++ b/libs/libcgroup/patches/020-tests.patch @@ -0,0 +1,9 @@ +--- a/Makefile.am ++++ b/Makefile.am +@@ -1,5 +1,5 @@ + AUTOMAKE_OPTIONS = foreign +-SUBDIRS = dist doc include samples scripts src tests ++SUBDIRS = dist include samples scripts src + + EXTRA_DIST = README_daemon libcgroup.doxyfile README_systemd +