summaryrefslogtreecommitdiff
path: root/devel/cvs-fast-export/patches/patch-Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'devel/cvs-fast-export/patches/patch-Makefile')
-rw-r--r--devel/cvs-fast-export/patches/patch-Makefile11
1 files changed, 6 insertions, 5 deletions
diff --git a/devel/cvs-fast-export/patches/patch-Makefile b/devel/cvs-fast-export/patches/patch-Makefile
index a68c7e36423..7c7738995f1 100644
--- a/devel/cvs-fast-export/patches/patch-Makefile
+++ b/devel/cvs-fast-export/patches/patch-Makefile
@@ -1,4 +1,4 @@
-$NetBSD: patch-Makefile,v 1.3 2013/08/05 02:10:07 gdt Exp $
+$NetBSD: patch-Makefile,v 1.4 2014/02/26 10:29:27 wiedi Exp $
* Add "all" target.
* Use ${PREFIX} variable.
@@ -6,18 +6,19 @@ $NetBSD: patch-Makefile,v 1.3 2013/08/05 02:10:07 gdt Exp $
--- Makefile.orig 2013-05-22 03:23:56.000000000 +0000
+++ Makefile
-@@ -3,8 +3,9 @@
+@@ -3,9 +3,9 @@
# Build requirements: A C compiler, yacc, lex, and asciidoc.
INSTALL = install
-prefix?=/usr/local
+prefix=$(PREFIX)
target=$(DESTDIR)$(prefix)
+-LEX=/usr/bin/flex
+mandir=$(PKGMANDIR)
- LEX=/usr/bin/flex
VERSION=0.5
-@@ -25,6 +26,8 @@ OBJS=gram.o lex.o main.o cvsutil.o revdi
+
+@@ -25,6 +25,8 @@ OBJS=gram.o lex.o main.o cvsutil.o revdi
revlist.o atom.o revcvs.o generate.o export.o \
nodehash.o tags.o authormap.o graph.o
@@ -26,7 +27,7 @@ $NetBSD: patch-Makefile,v 1.3 2013/08/05 02:10:07 gdt Exp $
cvs-fast-export: $(OBJS)
cc $(CFLAGS) -o $@ $(OBJS)
-@@ -56,9 +59,9 @@ clean:
+@@ -56,9 +58,9 @@ clean:
install: cvs-fast-export.1 all
$(INSTALL) -d "$(target)/bin"