pkgsrc/editors/ex/patches/patch-aa

54 lines
1.4 KiB
Text

$NetBSD: patch-aa,v 1.4 2004/02/18 21:29:10 kristerw Exp $
--- Makefile.orig 2004-01-03 23:22:47.000000000 +0900
+++ Makefile 2004-02-16 07:24:39.000000000 +0900
@@ -83,13 +83,15 @@
BINDIR = bin
LIBEXECDIR = libexec
MANDIR = man
-DESTDIR = /usr/local
-PRESERVEDIR = /var/preserve
+#DESTDIR = /usr/local
+DESTDIR = ${PREFIX}
+PRESERVEDIR = /var/tmp/vi.recover
#
# A BSD-like install program. GNU install will fit well here, too.
#
-INSTALL = /usr/ucb/install
+#INSTALL = /usr/ucb/install
+INSTALL = ${BSD_INSTALL}
#
# Compiler and linker flags.
@@ -140,9 +142,9 @@
# advanced multibyte character support etc. which might not be present
# on your system.
#
-REINC = -I./libuxre -DUXRE
-RELIB = -L./libuxre -luxre
-RETGT = uxre
+#REINC = -I./libuxre -DUXRE
+#RELIB = -L./libuxre -luxre
+#RETGT = uxre
#
# These settings should be correct for any modern Unix.
@@ -182,7 +184,7 @@
# On System V, the terminfo library may be more accurate than the termcap
# file. To use it, link against the curses library.
#
-#TERMLIB = curses
+TERMLIB = curses
#
# You may also get terminfo access by using the ncurses library.
#
@@ -191,7 +193,7 @@
# The preferred choice for ex on Linux and other systems that provide a good
# termcap file is the 2.11BSD termcap library included here.
#
-TERMLIB = termlib
+#TERMLIB = termlib
#
# Since ex uses sbrk() internally, a conflict with the libc's version of