aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--japanese/xpdf/Makefile4
-rw-r--r--korean/xpdf/Makefile4
2 files changed, 8 insertions, 0 deletions
diff --git a/japanese/xpdf/Makefile b/japanese/xpdf/Makefile
index 3ee0de51d4b3..910992c84f93 100644
--- a/japanese/xpdf/Makefile
+++ b/japanese/xpdf/Makefile
@@ -24,6 +24,10 @@ INSTALL_FILES= Adobe-Japan1.cidToUnicode ISO-2022-JP.unicodeMap \
EUC-JP.unicodeMap Shift-JIS.unicodeMap \
README dot.xpdfrc
+.if defined(WITHOUT_X11)
+BROKEN= "Broken dependency when WITHOUT_X11 set"
+.endif
+
do-build:
@${SED} -e 's|%%PREFIX%%|${PREFIX}|g' \
-e 's|%%X11BASE%%|${X11BASE}|g' \
diff --git a/korean/xpdf/Makefile b/korean/xpdf/Makefile
index 580406c76fa5..0943d6997c37 100644
--- a/korean/xpdf/Makefile
+++ b/korean/xpdf/Makefile
@@ -22,6 +22,10 @@ USE_X_PREFIX= yes
INSTALL_FILES= Adobe-Korea1.cidToUnicode ISO-2022-KR.unicodeMap \
README dot.xpdfrc
+.if defined(WITHOUT_X11)
+BROKEN= Broken dependency when WITHOUT_X11 set
+.endif
+
do-build:
@${SED} -e 's|%%PREFIX%%|${PREFIX}|g' \
-e 's|%%X11BASE%%|${X11BASE}|g' \