1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-19 19:59:43 +00:00
freebsd-ports/japanese/groff/files/patch-src:roff:nroff:nroff.sh
OKAZAKI Tetsurou 7d0eb04eb8 Grouping MASTER_SITES and DIST_FILES. [1]
Suppress warning "locale: not found" by nroff as /usr/bin/nroff does. [1]
Support ja_JP.EUC in nroff for backward compatibility.
PORTREVISION up.

Submitted by:	kuriyama [1]
2003-03-25 04:19:56 +00:00

21 lines
615 B
Bash

--- src/roff/nroff/nroff.sh~ Mon Mar 17 18:25:52 2003
+++ src/roff/nroff/nroff.sh Mon Mar 17 18:31:52 2003
@@ -5,7 +5,7 @@
# Default device.
# First try the "locale charmap" command, because it's most reliable.
# On systems where it doesn't exist, look at the environment variables.
-case "`locale charmap 2>/dev/null`" in
+case "`#locale charmap 2>/dev/null`" in
UTF-8)
T=-Tutf8 ;;
ISO-8859-1)
@@ -22,7 +22,7 @@
T=-Tlatin1 ;;
*.IBM-1047)
T=-Tcp1047 ;;
- ja_JP.ujis | ja_JP.eucJP)
+ ja_JP.EUC | ja_JP.eucJP)
T=-Tnippon ;;
*)
case "$LESSCHARSET" in