From bd08435716f671826dbe20074f25f0a838b433d4 Mon Sep 17 00:00:00 2001
From: Wolfram Schneider <wosch@FreeBSD.org>
Date: Tue, 26 Sep 2017 07:58:33 +0000
Subject: [PATCH] sync with english Makefile

PR: 222597
---
 de_DE.ISO8859-1/htdocs/ports/Makefile | 3 +++
 ja_JP.eucJP/htdocs/ports/Makefile     | 3 +++
 ru_RU.KOI8-R/htdocs/ports/Makefile    | 3 +++
 3 files changed, 9 insertions(+)

diff --git a/de_DE.ISO8859-1/htdocs/ports/Makefile b/de_DE.ISO8859-1/htdocs/ports/Makefile
index 30afd90bd5..cf3cff5aea 100644
--- a/de_DE.ISO8859-1/htdocs/ports/Makefile
+++ b/de_DE.ISO8859-1/htdocs/ports/Makefile
@@ -60,6 +60,9 @@ Makefile.gen: categories-alpha.xml categories-grouped.xml index.xml \
 	done
 	${ECHO_CMD} >> Makefile.gen
 
+# set dependencies for parallel build
+categories-grouped.xml master-index.xml statistics.ent: categories-alpha.xml
+
 # this builds: categories-alpha.xml, categories-grouped.xml,
 # master-index.xml, statistics.ent, <category>.xml
 CATEGORYLIST=`grep "^[a-z]" categories | sed -e s"/,.*//"`
diff --git a/ja_JP.eucJP/htdocs/ports/Makefile b/ja_JP.eucJP/htdocs/ports/Makefile
index 6ac8fe035d..1fd67bbac2 100644
--- a/ja_JP.eucJP/htdocs/ports/Makefile
+++ b/ja_JP.eucJP/htdocs/ports/Makefile
@@ -64,6 +64,9 @@ Makefile.gen: categories-alpha.xml categories-grouped.xml index.xml \
 	done
 	${ECHO_CMD} >> Makefile.gen
 
+# set dependencies for parallel build
+categories-grouped.xml master-index.xml statistics.ent: categories-alpha.xml
+
 # this builds: categories-alpha.xml, categories-grouped.xml,
 # master-index.xml, statistics.ent, <category>.xml
 CATEGORYLIST=`grep "^[a-z]" ${DOC_PREFIX}/en_US.ISO8859-1/htdocs/ports/categories | sed -e s"/,.*//"`
diff --git a/ru_RU.KOI8-R/htdocs/ports/Makefile b/ru_RU.KOI8-R/htdocs/ports/Makefile
index eee1261393..f135bbe10d 100644
--- a/ru_RU.KOI8-R/htdocs/ports/Makefile
+++ b/ru_RU.KOI8-R/htdocs/ports/Makefile
@@ -65,6 +65,9 @@ Makefile.gen: categories-alpha.xml categories-grouped.xml index.xml \
 	done
 	${ECHO_CMD} >> Makefile.gen
 
+# set dependencies for parallel build
+categories-grouped.xml master-index.xml statistics.ent: categories-alpha.xml
+
 # this builds: categories-alpha.xml, categories-grouped.xml,
 # master-index.xml, statistics.ent, <category>.xml
 CATEGORYLIST=`grep "^[a-z]" categories | awk -F, '{print $$1}'`