aboutsummaryrefslogtreecommitdiff
path: root/sysutils/mapchan/files
diff options
context:
space:
mode:
authorMarcus Alves Grando <mnag@FreeBSD.org>2005-11-14 22:15:21 +0000
committerMarcus Alves Grando <mnag@FreeBSD.org>2005-11-14 22:15:21 +0000
commit3aba2993a70d3a2b76083fddfb3daa67340cf44d (patch)
tree81991bc193f41665ad7194f1a947120b81a91ae4 /sysutils/mapchan/files
parent469130b818532eb8a374d292401abd40f84ef538 (diff)
downloadports-3aba2993a70d3a2b76083fddfb3daa67340cf44d.tar.gz
ports-3aba2993a70d3a2b76083fddfb3daa67340cf44d.zip
Update to 2.0 and unBROKEN
Take MAINTAINER Add SHA256 PR: 89029 Submitted by: "Boris B. Samorodov" <bsam@ipt.ru>
Notes
Notes: svn path=/head/; revision=148285
Diffstat (limited to 'sysutils/mapchan/files')
-rw-r--r--sysutils/mapchan/files/patch-Makefile30
-rw-r--r--sysutils/mapchan/files/patch-examples::default4
-rw-r--r--sysutils/mapchan/files/patch-mapchan.c14
3 files changed, 23 insertions, 25 deletions
diff --git a/sysutils/mapchan/files/patch-Makefile b/sysutils/mapchan/files/patch-Makefile
index 2da209fcd9db..e0dd1d3367f4 100644
--- a/sysutils/mapchan/files/patch-Makefile
+++ b/sysutils/mapchan/files/patch-Makefile
@@ -1,11 +1,23 @@
---- Makefile.orig Sat Dec 23 09:47:25 2000
-+++ Makefile Thu Aug 7 00:43:27 2003
-@@ -11,7 +11,7 @@
- # (2) If your system has not basename() function - uncomment next string
- #DEFS+=-DNOBASENAME
-
--BINDIR=/bin
-+BINDIR=$(PREFIX)/bin
- LDFLAGS=-lutil
+--- Makefile.orig Wed Jul 6 00:16:36 2005
++++ Makefile Mon Nov 14 22:52:35 2005
+@@ -1,6 +1,6 @@
+ #
+ #
+-CFLAGS=-O2
++CFLAGS?=$(CFLAGS)
+ #
+ # Defines:
+ #DEFS=
+@@ -14,9 +14,9 @@
+ # (3) If need call /bin/sh for parsing argument of option -s
+ DEFS+=-DEXEC_SHELL
+
+-BINDIR ?= /bin
+-MAPDIR ?= /etc/mapchan
+-LDFLAGS=-s
++BINDIR?=$(PREFIX)/bin
++MAPDIR?=$(PREFIX)/mapchan
++LDFLAGS=-s -lutil
+ LOADLIBES=-lutil
#--------------------------------------------------------------
CFLAGS += $(DEFS)
diff --git a/sysutils/mapchan/files/patch-examples::default b/sysutils/mapchan/files/patch-examples::default
index 7dfe8d589a15..32e3ff0aaf8b 100644
--- a/sysutils/mapchan/files/patch-examples::default
+++ b/sysutils/mapchan/files/patch-examples::default
@@ -1,5 +1,5 @@
---- examples/default.sample.orig Sat Dec 23 09:47:26 2000
-+++ examples/default.sample Sun Aug 31 13:51:08 2003
+--- examples/default.orig Sat Dec 23 09:47:26 2000
++++ examples/default Sun Aug 31 13:51:08 2003
@@ -1,4 +1,4 @@
-tty5 altkoi.map
+ttyv5 altkoi.map
diff --git a/sysutils/mapchan/files/patch-mapchan.c b/sysutils/mapchan/files/patch-mapchan.c
index 9e6278c0bca5..c373b6ae6235 100644
--- a/sysutils/mapchan/files/patch-mapchan.c
+++ b/sysutils/mapchan/files/patch-mapchan.c
@@ -9,17 +9,3 @@
#endif
#define BUFSIZE 4096
-@@ -51,10 +51,10 @@
-
- char usage[] = { "\nUsage:\n\nmapchan [-q] [-s shell] [-f file]\
- [-h]\n\nwhere:\n\
--\tshell - shell, if not /bin/sh
-+\tshell - shell, if not /bin/sh\n\
- \tfile - input file\n\
--\t-q - force and quiet
--\t-h - print this screen and exit.\n" };
-+\t-q - force and quiet\n\
-+\t-h - print this screen and exit.\n" };
-
- int pty_fd; /* дескриптор master */
- int tty_fd; /* дескриптор slave */