blob: 60643a8af25e964e5b182d7cdfcf586e01f703d1 (
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
|
$NetBSD: patch-Makefile,v 1.2 2013/10/16 23:28:49 roy Exp $
DESTDIR and curses support.
--- Makefile.orig 2006-05-18 08:27:43.000000000 +0000
+++ Makefile
@@ -22,9 +22,10 @@ LINK := gcc
LFLAGS :=
LIBS :=
+DESTDIR=
PREFIX=/usr/local
-BINDIR=$(PREFIX)/bin
-MANDIR=$(PREFIX)/man/man1
+BINDIR=$(DESTDIR)$(PREFIX)/bin
+MANDIR=$(DESTDIR)$(PREFIX)/man/man1
TWEAK := main.o keytab.o actions.o search.o rcfile.o buffer.o btree.o
@@ -34,7 +35,7 @@ ifeq ($(SLANG),yes)
LIBS += -lslang
TWEAK += slang.o
else
-LIBS += -lncurses
+LIBS += -lcurses
TWEAK += curses.o
endif
|