View | Details | Raw Unified | Return to bug 189365 | Differences between
and this patch

Collapse All | Expand All

(-)./Makefile (-2 / +1 lines)
Lines 2-8 Link Here
2
# $FreeBSD: head/sysutils/tree/Makefile 339252 2014-01-09 15:17:56Z bapt $
2
# $FreeBSD: head/sysutils/tree/Makefile 339252 2014-01-09 15:17:56Z bapt $
3
3
4
PORTNAME=	tree
4
PORTNAME=	tree
5
PORTVERSION=	1.6.0
5
PORTVERSION=	1.7.0
6
CATEGORIES=	sysutils
6
CATEGORIES=	sysutils
7
MASTER_SITES=	ftp://mama.indstate.edu/linux/tree/ \
7
MASTER_SITES=	ftp://mama.indstate.edu/linux/tree/ \
8
		CENKES
8
		CENKES
Lines 27-31 Link Here
27
	@${MKDIR} ${STAGEDIR}${DOCSDIR}
27
	@${MKDIR} ${STAGEDIR}${DOCSDIR}
28
	${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}
28
	${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}
29
29
30
31
.include <bsd.port.mk>
30
.include <bsd.port.mk>
(-)./distinfo (-2 / +2 lines)
Lines 1-2 Link Here
1
SHA256 (tree-1.6.0.tgz) = 4dc470a74880338b01da41701d8db90d0fb178877e526d385931a007d68d7591
1
SHA256 (tree-1.7.0.tgz) = 6957c20e82561ac4231638996e74f4cfa4e6faabc5a2f511f0b4e3940e8f7b12
2
SIZE (tree-1.6.0.tgz) = 42706
2
SIZE (tree-1.7.0.tgz) = 47082
(-)./files/patch-Makefile (-13 / +12 lines)
Lines 1-6 Link Here
1
--- ./Makefile.orig	2011-06-24 16:25:27.000000000 +0200
1
--- Makefile.orig	2014-05-04 20:11:04.000000000 -0700
2
+++ ./Makefile	2012-09-17 13:38:44.926563330 +0200
2
+++ Makefile	2014-05-04 20:13:48.000000000 -0700
3
@@ -16,14 +16,14 @@
3
@@ -16,28 +16,28 @@
4
 # along with this program; if not, write to the Free Software
4
 # along with this program; if not, write to the Free Software
5
 # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
5
 # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
6
 
6
 
Lines 10-31 Link Here
10
-CC=gcc
10
-CC=gcc
11
+CC?=gcc
11
+CC?=gcc
12
 
12
 
13
 VERSION=1.6.0
13
 VERSION=1.7.0
14
 TREE_DEST=tree
14
 TREE_DEST=tree
15
 BINDIR=${prefix}/bin
15
 BINDIR=${prefix}/bin
16
-MAN=tree.1
16
-MAN=tree.1
17
+MAN=doc/tree.1
17
+MAN=doc/tree.1
18
 MANDIR=${prefix}/man/man1
18
 MANDIR=${prefix}/man/man1
19
 OBJS=tree.o unix.o html.o xml.o hash.o color.o
19
 OBJS=tree.o unix.o html.o xml.o json.o hash.o color.o
20
 
20
 
21
@@ -31,13 +31,13 @@
21
 # Uncomment options below for your particular OS:
22
 
22
 
23
 # Linux defaults:
23
 # Linux defaults:
24
 #CFLAGS=-ggdb -Wall -DLINUX -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64
24
-CFLAGS=-ggdb -Wall -DLINUX -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64
25
-CFLAGS=-O4 -Wall  -DLINUX -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64
25
+#CFLAGS=-ggdb -Wall -DLINUX -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64
26
-LDFLAGS=-s
26
 #CFLAGS=-O4 -Wall  -DLINUX -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64
27
+#CFLAGS=-O4 -Wall  -DLINUX -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64
27
 #LDFLAGS=-s
28
+#LDFLAGS=-s
29
 
28
 
30
 # Uncomment for FreeBSD:
29
 # Uncomment for FreeBSD:
31
-#CFLAGS=-O2 -Wall -fomit-frame-pointer
30
-#CFLAGS=-O2 -Wall -fomit-frame-pointer
Lines 37-43 Link Here
37
 
36
 
38
 # Uncomment for Solaris:
37
 # Uncomment for Solaris:
39
 #CC=cc
38
 #CC=cc
40
@@ -93,13 +93,11 @@
39
@@ -94,13 +94,11 @@
41
 	if [ -f tree.o ]; then rm *.o; fi
40
 	if [ -f tree.o ]; then rm *.o; fi
42
 	rm -f *~
41
 	rm -f *~
43
 
42
 
Lines 45-51 Link Here
45
-	install -d $(BINDIR)
44
-	install -d $(BINDIR)
46
-	install -d $(MANDIR)
45
-	install -d $(MANDIR)
47
-	if [ -e $(TREE_DEST) ]; then \
46
-	if [ -e $(TREE_DEST) ]; then \
48
-		install -s $(TREE_DEST) $(BINDIR)/$(TREE_DEST); \
47
-		install $(TREE_DEST) $(BINDIR)/$(TREE_DEST); \
49
-	fi
48
-	fi
50
-	install doc/$(MAN) $(MANDIR)/$(MAN)
49
-	install doc/$(MAN) $(MANDIR)/$(MAN)
51
+install: $(TREE_DEST)
50
+install: $(TREE_DEST)

Return to bug 189365