flex: disable building po, tools
authorEneas U de Queiroz <cotequeiroz@gmail.com>
Tue, 26 Apr 2022 21:15:00 +0000 (18:15 -0300)
committerRosen Penev <rosenp@gmail.com>
Fri, 29 Apr 2022 22:27:12 +0000 (15:27 -0700)
Amend the patch that disabled tests and docs to remove everything but
the src dir that builds the main flex program--the only file packaged.

Signed-off-by: Eneas U de Queiroz <cotequeiroz@gmail.com>
devel/flex/patches/100-disable-all-dirs-except-src.patch [new file with mode: 0644]
devel/flex/patches/100-disable-tests-docs.patch [deleted file]

diff --git a/devel/flex/patches/100-disable-all-dirs-except-src.patch b/devel/flex/patches/100-disable-all-dirs-except-src.patch
new file mode 100644 (file)
index 0000000..e4e7235
--- /dev/null
@@ -0,0 +1,16 @@
+--- a/Makefile.am
++++ b/Makefile.am
+@@ -42,12 +42,7 @@ EXTRA_DIST = \
+       autogen.sh
+ SUBDIRS = \
+-      src \
+-      doc \
+-      examples \
+-      po \
+-      tests \
+-      tools
++      src
+ # Create the ChangeLog, but only if we're inside a git working directory
diff --git a/devel/flex/patches/100-disable-tests-docs.patch b/devel/flex/patches/100-disable-tests-docs.patch
deleted file mode 100644 (file)
index f7097f2..0000000
+++ /dev/null
@@ -1,13 +0,0 @@
---- a/Makefile.am
-+++ b/Makefile.am
-@@ -43,10 +43,7 @@ EXTRA_DIST = \
- SUBDIRS = \
-       src \
--      doc \
--      examples \
-       po \
--      tests \
-       tools
- # Create the ChangeLog, but only if we're inside a git working directory