aboutsummaryrefslogtreecommitdiffstats
path: root/japanese/tkdesk
diff options
context:
space:
mode:
authortaoka <taoka@FreeBSD.org>1999-10-28 00:37:14 +0800
committertaoka <taoka@FreeBSD.org>1999-10-28 00:37:14 +0800
commit79c45c6a49e9c43f98129d67990da8fb2d37278d (patch)
tree9f7d4de6d94ecd4882f977aef62985d71b830317 /japanese/tkdesk
parentbcea2ff38304388236f7dfc8a0b5fbd9288ed465 (diff)
downloadfreebsd-ports-gnome-79c45c6a49e9c43f98129d67990da8fb2d37278d.tar.gz
freebsd-ports-gnome-79c45c6a49e9c43f98129d67990da8fb2d37278d.tar.zst
freebsd-ports-gnome-79c45c6a49e9c43f98129d67990da8fb2d37278d.zip
If WRKDIRPREFIX is defined, there was a problem in the patch stage.
Obtained from: asami-san
Diffstat (limited to 'japanese/tkdesk')
-rw-r--r--japanese/tkdesk/Makefile3
-rw-r--r--japanese/tkdesk/files/pre-patch12
2 files changed, 15 insertions, 0 deletions
diff --git a/japanese/tkdesk/Makefile b/japanese/tkdesk/Makefile
index 5d05f49b3575..158a035f6e54 100644
--- a/japanese/tkdesk/Makefile
+++ b/japanese/tkdesk/Makefile
@@ -29,6 +29,9 @@ CONFIGURE_ENV+= TKCONF_PATH=${LOCALBASE}/lib/tk4.2jp
MAN1= tkdesk.1 cd-tkdesk.1 ed-tkdesk.1 od-tkdesk.1
+pre-patch:
+ @cd ${WRKSRC}; ${PATCH} -s < ${FILESDIR}/pre-patch
+
post-patch:
@/usr/bin/find ${WRKSRC}/tcldesk -name "*.orig" -exec ${RM} {} \;
diff --git a/japanese/tkdesk/files/pre-patch b/japanese/tkdesk/files/pre-patch
new file mode 100644
index 000000000000..df1ed27b212e
--- /dev/null
+++ b/japanese/tkdesk/files/pre-patch
@@ -0,0 +1,12 @@
+--- tkdesk.main.orig Tue Sep 21 15:10:58 1999
++++ tkdesk.main Tue Sep 21 15:11:12 1999
+@@ -45,7 +45,7 @@
+ #
+
+ set tkdesk(version) "1.1"
+-set tkdesk(date) "20.09.98"
++set tkdesk(date) "02.09.98"
+
+ if [info exists env(TKDESK_LIBRARY)] {
+ set tkdesk(library) $env(TKDESK_LIBRARY)
+EOF