aboutsummaryrefslogtreecommitdiff
path: root/print/muttprint/Makefile
diff options
context:
space:
mode:
authorAdam Weinberger <adamw@FreeBSD.org>2014-09-08 14:39:39 +0000
committerAdam Weinberger <adamw@FreeBSD.org>2014-09-08 14:39:39 +0000
commit59799e3572db0252159036178a5d421826c828b3 (patch)
treec91b5219164abfbb9ed033ae40e704b5dc6b897f /print/muttprint/Makefile
parentb28c2f7ac35956b08712501461be681fd4c7cba9 (diff)
downloadports-59799e3572db0252159036178a5d421826c828b3.tar.gz
ports-59799e3572db0252159036178a5d421826c828b3.zip
So it looks like mutprint-langinfo is not built for the russian/ port.
Add a simple PLIST_SUB switch to account for this.
Notes
Notes: svn path=/head/; revision=367634
Diffstat (limited to 'print/muttprint/Makefile')
-rw-r--r--print/muttprint/Makefile7
1 files changed, 7 insertions, 0 deletions
diff --git a/print/muttprint/Makefile b/print/muttprint/Makefile
index 580c79e589c1..8074e326438e 100644
--- a/print/muttprint/Makefile
+++ b/print/muttprint/Makefile
@@ -30,6 +30,13 @@ CUPS_RUN_DEPENDS= cupstestppd:${PORTSDIR}/print/cups-base \
PAPERSIZE= letter
.endif
+# muttprint-langinfo is not built for russian/muttprint
+.if defined(MASTERDIR)
+PLIST_SUB+= LANGINFO="@comment "
+.else
+PLIST_SUB+= LANGINFO=""
+.endif
+
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MCUPS}