diff options
author | sobomax <sobomax@FreeBSD.org> | 2000-06-23 21:44:03 +0800 |
---|---|---|
committer | sobomax <sobomax@FreeBSD.org> | 2000-06-23 21:44:03 +0800 |
commit | 75802943a41a8d04904b4f8f73577c1e1f41bd19 (patch) | |
tree | cdb15359f6b17edd36ab0ef3a40572e8e1afb2d9 /devel/spin | |
parent | 8ec81ff63c63edeff820bab082cf56a6e9155929 (diff) | |
download | freebsd-ports-graphics-75802943a41a8d04904b4f8f73577c1e1f41bd19.tar.gz freebsd-ports-graphics-75802943a41a8d04904b4f8f73577c1e1f41bd19.tar.zst freebsd-ports-graphics-75802943a41a8d04904b4f8f73577c1e1f41bd19.zip |
- Support LOCALBASE properly (in setting path to custom wish script)
PR: 19470
Submitted by: KATO Tsuguru <tkato@prontomail.ne.jp>
Diffstat (limited to 'devel/spin')
-rw-r--r-- | devel/spin/Makefile | 3 | ||||
-rw-r--r-- | devel/spin/files/patch-aa | 2 |
2 files changed, 4 insertions, 1 deletions
diff --git a/devel/spin/Makefile b/devel/spin/Makefile index 184c53739e5..9323a74dbf5 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 8b8a59c6f67..6eb41e37995 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. # |