summaryrefslogtreecommitdiff
path: root/geography/xrmap-base/patches/patch-ab
blob: 1cc992dc5568f321a23884bb97ddebb3429f3154 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
$NetBSD: patch-ab,v 1.2 2017/12/18 14:12:40 jperkin Exp $

--- editkit/Imakefile.orig	2003-05-18 19:41:24.000000000 +0000
+++ editkit/Imakefile
@@ -1,14 +1,6 @@
-XCOMM Should install to /usr or /usr/local ??
-DESTDIR=/usr
-
-XCOMM Name of man subdirectory of DESTDIR:
-MANDIR=/X11R6/man/man1
-
-XCOMM Name of bin subdirectory of DESTDIR: /X11R6/bin or maybe just  /bin
-BINDIR=/X11R6/bin
 
 XCOMM Name of share subdirectory of DESTDIR:
-SHARE_DIR=/share/editkit
+SHARE_DIR=${PREFIX}/share/editkit
 
 XCOMM
 XCOMM Normally -- except for new architectures -- you should be done there.
@@ -17,7 +9,7 @@ XCOMM
 XCOMM Compile options:
 XCOMM
 
-CFLAGS = -O2 -fomit-frame-pointer -pipe -Wall -DTHREED -DGREEK -DJUSTIFY -DSHARE_DIR="\"$(DESTDIR)$(SHARE_DIR)\""
+CFLAGS += -Wall -DTHREED -DGREEK -DJUSTIFY -DSHARE_DIR="\"$(DESTDIR)$(SHARE_DIR)\""
 
 LOCAL_LIBRARIES=$(XLIB)
 DEPLIBS=		# I don't know what I'm doing, and I hate imake!