aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/dirdiff
diff options
context:
space:
mode:
authorkris <kris@FreeBSD.org>2004-03-06 20:08:50 +0800
committerkris <kris@FreeBSD.org>2004-03-06 20:08:50 +0800
commit96ce3f7e61f389580e43b97eacc773e54b78cf2f (patch)
tree8f0368b8d32ae7decfc28e2a600723836e7bd310 /sysutils/dirdiff
parentdef8319cb38f88ed5c4aee65c0c0136e184d0104 (diff)
downloadfreebsd-ports-gnome-96ce3f7e61f389580e43b97eacc773e54b78cf2f.tar.gz
freebsd-ports-gnome-96ce3f7e61f389580e43b97eacc773e54b78cf2f.tar.zst
freebsd-ports-gnome-96ce3f7e61f389580e43b97eacc773e54b78cf2f.zip
Fix build on amd64 (add -fPIC). Respect CFLAGS. Switch to tcl/tk 8.4.
Bump PORTREVISION. Approved by: maintainer
Diffstat (limited to 'sysutils/dirdiff')
-rw-r--r--sysutils/dirdiff/Makefile7
-rw-r--r--sysutils/dirdiff/files/patch-aa18
2 files changed, 7 insertions, 18 deletions
diff --git a/sysutils/dirdiff/Makefile b/sysutils/dirdiff/Makefile
index 6ac3f3c6186f..7bd526dc3e15 100644
--- a/sysutils/dirdiff/Makefile
+++ b/sysutils/dirdiff/Makefile
@@ -7,13 +7,14 @@
PORTNAME= dirdiff
PORTVERSION= 1.2
-CATEGORIES= sysutils
+PORTREVISION= 1
+CATEGORIES= sysutils tcl84 tk84
MASTER_SITES= ftp://samba.org/pub/paulus/
MAINTAINER= grog@FreeBSD.Org
COMMENT= A graphical diff tool
-BUILD_DEPENDS= tclsh8.2:${PORTSDIR}/lang/tcl82
-RUN_DEPENDS= wish8.2:${PORTSDIR}/x11-toolkits/tk82
+BUILD_DEPENDS= tclsh8.4:${PORTSDIR}/lang/tcl84
+RUN_DEPENDS= wish8.4:${PORTSDIR}/x11-toolkits/tk84
.include <bsd.port.mk>
diff --git a/sysutils/dirdiff/files/patch-aa b/sysutils/dirdiff/files/patch-aa
index b572902cc7c6..0e634a2067df 100644
--- a/sysutils/dirdiff/files/patch-aa
+++ b/sysutils/dirdiff/files/patch-aa
@@ -1,23 +1,11 @@
-diff -wur dirdiff-1.2/Makefile work/dirdiff-1.2/Makefile
---- Makefile Wed Mar 14 15:10:19 2001
-+++ work/dirdiff-1.2/Makefile Mon May 7 15:39:30 2001
+--- Makefile.orig Tue Mar 13 20:40:19 2001
++++ Makefile Fri Mar 5 04:55:10 2004
@@ -6,7 +6,7 @@
INSTALL=install
# You may need to change the -I arguments depending on your system
-CFLAGS=-O3 -I/usr/include/tcl8.3/ -I/usr/include/tcl
-+CFLAGS=-O2 -I/usr/local/include/tcl -I/usr/local/include/tcl8.2/
++CFLAGS+=-fPIC -I/usr/local/include/tcl8.4/
all: filecmp.so.0.0
-diff -wur dirdiff-1.2/dirdiff work/dirdiff-1.2/dirdiff
---- dirdiff Wed Mar 14 15:00:41 2001
-+++ work/dirdiff-1.2/dirdiff Mon May 7 15:41:35 2001
-@@ -1,6 +1,6 @@
- #!/bin/sh
- # Tcl ignores the next line \
--exec wish "$0" -- "${1+$@}"
-+exec wish8.2 "$0" -- "${1+$@}"
-
- # Copyright (C) 1999-2001 Paul Mackerras. All rights reserved.
- # This program is free software; it may be used, copied, modified