aboutsummaryrefslogtreecommitdiff
path: root/dev/util/cvsps/cvsps-2.1.diff
blob: 756ae79b0a93144c40ae131eea8b465e3daab098 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
diff -Naur cvsps-2.1.orig/Makefile cvsps-2.1/Makefile
--- cvsps-2.1.orig/Makefile	2005-05-26 00:39:40.000000000 -0300
+++ cvsps-2.1/Makefile	2010-02-15 14:47:16.000000000 -0200
@@ -24,10 +24,10 @@
 	$(CC) -o cvsps $(OBJS) -lz
 
 install:
-	[ -d $(prefix)/bin ] || mkdir -p $(prefix)/bin
-	[ -d $(prefix)/share/man/man1 ] || mkdir -p $(prefix)/share/man/man1
-	install cvsps $(prefix)/bin
-	install -m 644 cvsps.1 $(prefix)/share/man/man1
+	[ -d $(DESTDIR)/$(prefix)/bin ] || mkdir -p $(DESTDIR)/$(prefix)/bin
+	[ -d $(DESTDIR)/$(prefix)/share/man/man1 ] || mkdir -p $(DESTDIR)/$(prefix)/share/man/man1
+	install cvsps $(DESTDIR)/$(prefix)/bin
+	install -m 644 cvsps.1 $(DESTDIR)/$(prefix)/share/man/man1
 
 clean:
 	rm -f cvsps *.o cbtcommon/*.o core