openbsd-ports/editors/joe/patches/patch-Makefile_in

31 lines
1.4 KiB
Plaintext

$OpenBSD: patch-Makefile_in,v 1.2 2005/05/24 20:27:49 naddy Exp $
--- Makefile.in.orig Wed May 18 05:21:29 2005
+++ Makefile.in Sat May 21 22:04:12 2005
@@ -257,7 +257,7 @@ EXTRA_DIST = COPYING LIST HACKING Change
syntax/awk.jsf.in syntax/cobol.jsf.in syntax/sed.jsf.in syntax/ps.jsf.in \
cygbuild setup.hint xterm-patch xterm-readme syntax/ada.jsf.in
-sysconf_joedir = $(sysconfdir)/joe
+sysconf_joedir = $(prefix)/share/examples/joe
sysconf_joe_DATA = joerc jmacsrc jstarrc rjoerc jpicorc
MOSTLYCLEANFILES = joerc jmacsrc jstarrc rjoerc jpicorc joe.1
sysconf_syntaxdir = $(sysconf_joedir)/syntax
@@ -272,7 +272,7 @@ sysconf_syntax_DATA = syntax/c.jsf synta
sysconf_charmapsdir = $(sysconf_joedir)/charmaps
sysconf_charmaps_DATA = charmaps/klingon
-sysconf_docdir = $(sysconf_joedir)/doc
+sysconf_docdir = $(prefix)/share/doc/joe
sysconf_doc_DATA = LIST README HINTS ChangeLog HACKING NEWS
man_MANS = joe.1
noinst_HEADERS = b.h blocks.h bw.h cmd.h config.h hash.h help.h kbd.h \
@@ -281,7 +281,7 @@ noinst_HEADERS = b.h blocks.h bw.h cmd.h
ufile.h uformat.h uisrch.h umath.h undo.h usearch.h ushell.h utag.h \
utils.h va.h vfile.h vs.h w.h utf8.h syntax.h i18n.h charmap.h mouse.h
-INCLUDES = -DJOERC="\"$(DESTDIR)$(sysconf_joedir)/\""
+INCLUDES = -DJOERC="\"$(sysconfdir)/joe/\""
joe_LDADD = -lm
joe_SOURCES = b.c blocks.c bw.c cmd.c hash.c help.c kbd.c macro.c main.c menu.c \
path.c poshist.c pw.c queue.c qw.c rc.c regex.c scrn.c tab.c termcap.c \