summaryrefslogtreecommitdiff
path: root/japanese
diff options
context:
space:
mode:
authorSatoshi Taoka <taoka@FreeBSD.org>1999-10-27 16:37:14 +0000
committerSatoshi Taoka <taoka@FreeBSD.org>1999-10-27 16:37:14 +0000
commit17d9fc035b13fb3423c2b946b8e37f62ceb92dd8 (patch)
treeec8c8251b888ef8860cebf7cc2108a71f78ecf8c /japanese
parentUpdate to v1.4. (diff)
If WRKDIRPREFIX is defined, there was a problem in the patch stage.
Obtained from: asami-san
Notes
Notes: svn path=/head/; revision=22696
Diffstat (limited to 'japanese')
-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