diff options
author | Maxim Sobolev <sobomax@FreeBSD.org> | 2000-06-23 21:44:03 +0800 |
---|---|---|
committer | Maxim Sobolev <sobomax@FreeBSD.org> | 2000-06-23 21:44:03 +0800 |
commit | 40a33a607008465f53d5a6195b52da563743c5c1 (patch) | |
tree | 6746aa60a42ef4999ee47c9081c98f357098f148 /deskutils | |
parent | 08436d780099b5b9549d412fe146fb0733c19412 (diff) | |
download | freebsd-ports-gnome-40a33a607008465f53d5a6195b52da563743c5c1.tar.gz freebsd-ports-gnome-40a33a607008465f53d5a6195b52da563743c5c1.tar.zst freebsd-ports-gnome-40a33a607008465f53d5a6195b52da563743c5c1.zip |
- Support LOCALBASE properly (in setting path to custom wish script)
PR: 19470
Submitted by: KATO Tsuguru <tkato@prontomail.ne.jp>
Diffstat (limited to 'deskutils')
-rw-r--r-- | deskutils/cbb/files/patch-01 | 2 | ||||
-rw-r--r-- | deskutils/zorro/Makefile | 3 | ||||
-rw-r--r-- | deskutils/zorro/files/patch-aa | 2 |
3 files changed, 5 insertions, 2 deletions
diff --git a/deskutils/cbb/files/patch-01 b/deskutils/cbb/files/patch-01 index 96ce834a7341..924d43de64b2 100644 --- a/deskutils/cbb/files/patch-01 +++ b/deskutils/cbb/files/patch-01 @@ -8,7 +8,7 @@ +PERL = ${PERL5} VERSION = 0.8.1 -WISH = /usr/bin/wish -+WISH = /usr/bin/wish8.2 ++WISH = ${LOCALBASE}/bin/wish8.2 language = english SUBDIRS = contrib demo docs graphs images languages reports diff --git a/deskutils/zorro/Makefile b/deskutils/zorro/Makefile index 85fec116913d..366ab92461b0 100644 --- a/deskutils/zorro/Makefile +++ b/deskutils/zorro/Makefile @@ -17,6 +17,9 @@ LIB_DEPENDS= tk82.1:${PORTSDIR}/x11-toolkits/tk82 NO_BUILD= yes +post-patch: + @${PERL} -pi -e "s|%%LOCALBASE%%|${LOCALBASE}|g" ${WRKSRC}/zorro + do-install: ${INSTALL_SCRIPT} ${WRKSRC}/zorro ${PREFIX}/bin/zorro ${MKDIR} ${PREFIX}/share/zorro diff --git a/deskutils/zorro/files/patch-aa b/deskutils/zorro/files/patch-aa index 4874763fbe63..a62e966242bd 100644 --- a/deskutils/zorro/files/patch-aa +++ b/deskutils/zorro/files/patch-aa @@ -9,7 +9,7 @@ # ---------------------------------------------------------------------- # AUTHOR: Lindsay Marshall <lindsay.marshall@newcastle.ac.uk> --- 1,6 ---- -! #!/usr/local/bin/wish8.2 +! #!%%LOCALBASE%%/bin/wish8.2 # ! # Version 1.1 Patch 8 # |