aboutsummaryrefslogtreecommitdiffstats
path: root/devel
diff options
context:
space:
mode:
authordelphij <delphij@FreeBSD.org>2006-05-20 15:51:46 +0800
committerdelphij <delphij@FreeBSD.org>2006-05-20 15:51:46 +0800
commit3b9153c2cf1659efbba8f78b287d4f038c2ff510 (patch)
treed8c7e95eb009bae93a99b0e6b0174f6e8bff20af /devel
parentfc419d547ea66bad63f61bcbd67418ba895240e1 (diff)
downloadfreebsd-ports-gnome-3b9153c2cf1659efbba8f78b287d4f038c2ff510.tar.gz
freebsd-ports-gnome-3b9153c2cf1659efbba8f78b287d4f038c2ff510.tar.zst
freebsd-ports-gnome-3b9153c2cf1659efbba8f78b287d4f038c2ff510.zip
Fix the snavigator script in the case that a symbolic link was
in a different place. Submitted by: Andreas Kohn <andreas@syndrom23.de> PR: ports/93975 Approved by: sem (mentor)
Diffstat (limited to 'devel')
-rw-r--r--devel/sourcenav/Makefile2
-rw-r--r--devel/sourcenav/files/patch-snavigator-snavigator-unix-snavigator.in12
2 files changed, 13 insertions, 1 deletions
diff --git a/devel/sourcenav/Makefile b/devel/sourcenav/Makefile
index 1afeb994e4b4..bfcebd16910d 100644
--- a/devel/sourcenav/Makefile
+++ b/devel/sourcenav/Makefile
@@ -7,7 +7,7 @@
PORTNAME= sourcenav
PORTVERSION= 5.1.4
-PORTREVISION= 2
+PORTREVISION= 3
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
diff --git a/devel/sourcenav/files/patch-snavigator-snavigator-unix-snavigator.in b/devel/sourcenav/files/patch-snavigator-snavigator-unix-snavigator.in
new file mode 100644
index 000000000000..5656426cace2
--- /dev/null
+++ b/devel/sourcenav/files/patch-snavigator-snavigator-unix-snavigator.in
@@ -0,0 +1,12 @@
+--- snavigator/snavigator/unix/snavigator.in.orig Mon Feb 27 20:22:56 2006
++++ snavigator/snavigator/unix/snavigator.in Mon Feb 27 20:23:35 2006
+@@ -1,7 +1,8 @@
+ #!/bin/sh
+
+ # the directory where this script lives
+-snbindir=`dirname $0`
++me=`realpath $0`
++snbindir=`dirname $me`
+
+ # navigato is either in ../share/etc/navigato or ../../share/etc/navigato
+