summaryrefslogtreecommitdiff
path: root/sysutils
diff options
context:
space:
mode:
authorsalo <salo@pkgsrc.org>2003-05-22 17:02:53 +0000
committersalo <salo@pkgsrc.org>2003-05-22 17:02:53 +0000
commit14948988b8841fdb7c410fbb9d13331b5a7a8843 (patch)
tree425c29aae049f9cf721e7dee168b9821f0491706 /sysutils
parente89396249b9b03ae4ed463b2073adacc62b8fabf (diff)
downloadpkgsrc-14948988b8841fdb7c410fbb9d13331b5a7a8843.tar.gz
PKGREVISION++
- use included slang library, fixes various issues with colours and character printing (e.g., TERM=wsvt25 in color mode on wscons console or TERM=xterm in xterm). From Pavel Arnost via PR pkg/21539. - add patch from devel/libslang
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/mc/Makefile4
-rw-r--r--sysutils/mc/Makefile.common5
-rw-r--r--sysutils/mc/distinfo3
-rw-r--r--sysutils/mc/patches/patch-aj16
4 files changed, 22 insertions, 6 deletions
diff --git a/sysutils/mc/Makefile b/sysutils/mc/Makefile
index c0fd7f90f4c..0d0f6cb2ac1 100644
--- a/sysutils/mc/Makefile
+++ b/sysutils/mc/Makefile
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.42 2003/05/02 11:56:25 wiz Exp $
+# $NetBSD: Makefile,v 1.43 2003/05/22 17:02:53 salo Exp $
# FreeBSD Id: Makefile,v 1.16 1997/11/30 19:37:48 vanilla Exp
#
-PKGREVISION= 1
+PKGREVISION= 2
COMMENT= Midnight Commander, a free Norton Commander Clone
CONFIGURE_ARGS+= --without-x
diff --git a/sysutils/mc/Makefile.common b/sysutils/mc/Makefile.common
index c61d685c556..3d45efecf7e 100644
--- a/sysutils/mc/Makefile.common
+++ b/sysutils/mc/Makefile.common
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.common,v 1.18 2003/01/10 07:52:18 cjep Exp $
+# $NetBSD: Makefile.common,v 1.19 2003/05/22 17:02:53 salo Exp $
DISTNAME= mc-4.5.51
CATEGORIES+= sysutils
@@ -20,7 +20,7 @@ USE_GMAKE= yes
GNU_CONFIGURE= # defined
CONFIGURE_ARGS+= --without-included-gettext
-CONFIGURE_ARGS+= --with-netrc --with-slang
+CONFIGURE_ARGS+= --with-netrc --with-included-slang
CONFIGURE_ARGS+= --with-samba
CONFIGURE_ARGS+= --without-tk
@@ -45,5 +45,4 @@ CFLAGS+= -DSunOS
.include "../../devel/gettext-lib/buildlink2.mk"
.include "../../devel/glib/buildlink2.mk"
-.include "../../devel/libslang/buildlink2.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/sysutils/mc/distinfo b/sysutils/mc/distinfo
index b2daa127359..1c0c5c4fe30 100644
--- a/sysutils/mc/distinfo
+++ b/sysutils/mc/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.6 2002/10/23 10:38:37 bouyer Exp $
+$NetBSD: distinfo,v 1.7 2003/05/22 17:02:53 salo Exp $
SHA1 (mc-4.5.51.tar.gz) = 24d5d90695266587a2e8190196b32c8f3a4b2406
Size (mc-4.5.51.tar.gz) = 4330056 bytes
@@ -11,3 +11,4 @@ SHA1 (patch-af) = be7b6906f5cd23e28311519b42a1d8c630e98f2e
SHA1 (patch-ag) = 60e697e475647038181d12186a0424c4a6165c59
SHA1 (patch-ah) = a5ef804a13870ae5d100a7f6fb45281303da82c3
SHA1 (patch-ai) = 7bac376900226618f1bb5849cb5ac277bdd4e4f9
+SHA1 (patch-aj) = b9ab663bf8f2d1b048338b85449846869362f125
diff --git a/sysutils/mc/patches/patch-aj b/sysutils/mc/patches/patch-aj
new file mode 100644
index 00000000000..5dd58741277
--- /dev/null
+++ b/sysutils/mc/patches/patch-aj
@@ -0,0 +1,16 @@
+$NetBSD: patch-aj,v 1.1 2003/05/22 17:02:54 salo Exp $
+
+--- slang/slang-mc.h.orig 2000-07-03 16:32:03.000000000 +0200
++++ slang/slang-mc.h 2003-05-22 18:43:06.000000000 +0200
+@@ -25,6 +25,11 @@
+ # endif
+ #endif /* __watcomc__ */
+
++#ifdef __NetBSD__
++#undef unix
++#define unix 1
++#endif
++
+ #ifdef unix
+ # ifndef __unix__
+ # define __unix__ 1