diff options
author | reg <reg@FreeBSD.org> | 2000-02-13 17:09:53 +0800 |
---|---|---|
committer | reg <reg@FreeBSD.org> | 2000-02-13 17:09:53 +0800 |
commit | e7fc58c0fd8cae8c83e0ecb8c8c95260264c472b (patch) | |
tree | ffb402a106163a53b951e435504bb4e2f763a911 /misc/mc/files | |
parent | 4ab9e0dbddf6da1cfa6101b954b1a907928f0c7e (diff) | |
download | freebsd-ports-gnome-e7fc58c0fd8cae8c83e0ecb8c8c95260264c472b.tar.gz freebsd-ports-gnome-e7fc58c0fd8cae8c83e0ecb8c8c95260264c472b.tar.zst freebsd-ports-gnome-e7fc58c0fd8cae8c83e0ecb8c8c95260264c472b.zip |
Enable the internal editor, through using libslang. Compile with
WITH_SLANG=yes.
Diffstat (limited to 'misc/mc/files')
-rw-r--r-- | misc/mc/files/patch-aa | 58 | ||||
-rw-r--r-- | misc/mc/files/patch-af | 11 | ||||
-rw-r--r-- | misc/mc/files/patch-ai | 2 |
3 files changed, 60 insertions, 11 deletions
diff --git a/misc/mc/files/patch-aa b/misc/mc/files/patch-aa index bb31617df7e1..23448d9ce38b 100644 --- a/misc/mc/files/patch-aa +++ b/misc/mc/files/patch-aa @@ -1,6 +1,6 @@ ---- configure.orig Sun Apr 11 04:38:29 1999 -+++ configure Sun May 9 15:58:08 1999 -@@ -3267,15 +3267,15 @@ +--- configure.orig Mon Dec 6 15:49:54 1999 ++++ configure Wed Jan 5 23:31:22 2000 +@@ -3383,15 +3383,15 @@ fi @@ -20,7 +20,25 @@ fi if test "$XGETTEXT" != ":"; then -@@ -10524,13 +10524,13 @@ +@@ -10049,7 +10049,7 @@ + echo $ac_n "(cached) $ac_c" 1>&6 + else + ac_save_LIBS="$LIBS" +-LIBS="-lslang $LIBS" ++LIBS="-lslang -ltermcap $LIBS" + cat > conftest.$ac_ext <<EOF + #line 10055 "configure" + #include "confdefs.h" +@@ -10290,7 +10290,7 @@ + #define HAVE_SYSTEM_SLANG 1 + EOF + +- LSLANG="-lslang" ++ LSLANG="-lslang -ltermcap" + screen_manager="SLang (system-installed library)" + echo "$ac_t""Using system installed SLang library" 1>&6 + rm -f slang/slang.h +@@ -10736,13 +10736,13 @@ if $search_ncurses then @@ -39,7 +57,7 @@ cat >> confdefs.h <<\EOF #define HAS_CURSES 1 EOF -@@ -10546,13 +10546,13 @@ +@@ -10758,13 +10758,13 @@ if $search_ncurses then @@ -58,7 +76,7 @@ cat >> confdefs.h <<\EOF #define HAS_CURSES 1 EOF -@@ -10568,13 +10568,13 @@ +@@ -10780,13 +10780,13 @@ if $search_ncurses then @@ -77,7 +95,7 @@ cat >> confdefs.h <<\EOF #define HAS_CURSES 1 EOF -@@ -10590,13 +10590,13 @@ +@@ -10802,13 +10802,13 @@ if $search_ncurses then @@ -96,7 +114,7 @@ cat >> confdefs.h <<\EOF #define HAS_CURSES 1 EOF -@@ -10655,6 +10655,8 @@ +@@ -10867,6 +10867,8 @@ fi fi @@ -105,7 +123,16 @@ if $search_ncurses then -@@ -11465,7 +11467,7 @@ +@@ -11071,7 +11073,7 @@ + #define HAVE_SYSTEM_SLANG 1 + EOF + +- LSLANG="-lslang" ++ LSLANG="-lslang -ltermcap" + screen_manager="SLang (system-installed library)" + echo "$ac_t""Using system installed SLang library" 1>&6 + rm -f slang/slang.h +@@ -11688,7 +11690,7 @@ vfs/extfs/ftplist vfs/extfs/uzip vfs/extfs/uzoo vfs/extfs/lslR vfs/extfs/ulha vfs/extfs/uha vfs/extfs/ucpio vfs/extfs/deb vfs/extfs/urar vfs/extfs/uar @@ -114,7 +141,7 @@ intl/Makefile po/Makefile.in config.h" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15 -@@ -11684,7 +11686,7 @@ +@@ -11932,7 +11934,7 @@ vfs/extfs/ftplist vfs/extfs/uzip vfs/extfs/uzoo vfs/extfs/lslR vfs/extfs/ulha vfs/extfs/uha vfs/extfs/ucpio vfs/extfs/deb vfs/extfs/urar vfs/extfs/uar @@ -123,3 +150,14 @@ intl/Makefile po/Makefile.in "} +@@ -12237,10 +12239,6 @@ + *) # Relative path. + ac_sub_cache_file="$ac_dots$cache_file" ;; + esac +- case "$ac_given_INSTALL" in +- [/$]*) INSTALL="$ac_given_INSTALL" ;; +- *) INSTALL="$ac_dots$ac_given_INSTALL" ;; +- esac + + echo "running ${CONFIG_SHELL-/bin/sh} $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_sub_srcdir" + # The eval makes quoting arguments work. diff --git a/misc/mc/files/patch-af b/misc/mc/files/patch-af index 11caf8482d15..6175fb0db235 100644 --- a/misc/mc/files/patch-af +++ b/misc/mc/files/patch-af @@ -83,3 +83,14 @@ for I in $(TIFILES); \ do $(INSTALL_DATA) $(srcdir)/$$I $(DESTDIR)$(tidir)/$$I; done $(MKINSTALLDIRS) $(DESTDIR)$(confdir) +--- edit/Makefile.in.orig Wed Jan 5 23:49:36 2000 ++++ edit/Makefile.in Wed Jan 5 23:49:58 2000 +@@ -58,7 +58,7 @@ + + mcedit: + -$(RMF) $(DESTDIR)$(bindir)/$(binprefix)mcedit +- $(LN_S) mc $(DESTDIR)$(bindir)/$(binprefix)mcedit ++ $(LN_S) midc $(DESTDIR)$(bindir)/$(binprefix)mcedit + + showlibdep: + @echo 'OBJS="$(EDITOBJS)"' diff --git a/misc/mc/files/patch-ai b/misc/mc/files/patch-ai index a98f532a9b31..b0147eb27d03 100644 --- a/misc/mc/files/patch-ai +++ b/misc/mc/files/patch-ai @@ -5,7 +5,7 @@ # -DZIP=/usr/bin -+DZIP=%%PREFIX%%/bin ++DZIP=@prefix@/bin XZIP="$DZIP/zip -g" XDZIP="$DZIP/zip -d" XUNZIP="$DZIP/unzip" |