summaryrefslogtreecommitdiffstats
path: root/japanese/tkdesk
diff options
context:
space:
mode:
authortaoka <taoka@FreeBSD.org>1999-10-27 16:37:14 +0000
committertaoka <taoka@FreeBSD.org>1999-10-27 16:37:14 +0000
commit79c45c6a49e9c43f98129d67990da8fb2d37278d (patch)
tree9f7d4de6d94ecd4882f977aef62985d71b830317 /japanese/tkdesk
parentbcea2ff38304388236f7dfc8a0b5fbd9288ed465 (diff)
downloadFreeBSD-ports-79c45c6a49e9c43f98129d67990da8fb2d37278d.zip
FreeBSD-ports-79c45c6a49e9c43f98129d67990da8fb2d37278d.tar.gz
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 5d05f49..158a035 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 0000000..df1ed27
--- /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
OpenPOWER on IntegriCloud