From 40a33a607008465f53d5a6195b52da563743c5c1 Mon Sep 17 00:00:00 2001 From: Maxim Sobolev <sobomax@FreeBSD.org> Date: Fri, 23 Jun 2000 13:44:03 +0000 Subject: - Support LOCALBASE properly (in setting path to custom wish script) PR: 19470 Submitted by: KATO Tsuguru <tkato@prontomail.ne.jp> --- devel/spin/Makefile | 3 +++ devel/spin/files/patch-aa | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) (limited to 'devel/spin') diff --git a/devel/spin/Makefile b/devel/spin/Makefile index 184c53739e51..9323a74dbf5a 100644 --- a/devel/spin/Makefile +++ b/devel/spin/Makefile @@ -23,6 +23,9 @@ ALL_TARGET= spin post-extract: @cd ${WRKDIR}/Test && ${SH} ${WRKDIR}/Test/examples +post-patch: + @${PERL} -pi -e "s|%%LOCALBASE%%|${LOCALBASE}|g" ${WRKDIR}/Xspin3.3/xspin3310.tcl + pre-build: cd ${WRKSRC} && ${MAKE} clean diff --git a/devel/spin/files/patch-aa b/devel/spin/files/patch-aa index 8b8a59c6f671..6eb41e379951 100644 --- a/devel/spin/files/patch-aa +++ b/devel/spin/files/patch-aa @@ -2,7 +2,7 @@ +++ ../Xspin3.3/xspin3310.tcl Wed Jun 23 18:30:51 1999 @@ -1,4 +1,4 @@ -#!/usr/local/bin/wish -f -+#!/usr/local/bin/wish8.0 -f ++#!%%LOCALBASE%%/bin/wish8.0 -f #======================================================================# # Tcl/Tk Spin Controller, Gerard J. Holzmann, Bell Laboratories, USA. # -- cgit v1.2.3