summaryrefslogtreecommitdiff
path: root/japanese/rskkserv
diff options
context:
space:
mode:
Diffstat (limited to 'japanese/rskkserv')
-rw-r--r--japanese/rskkserv/Makefile1
-rw-r--r--japanese/rskkserv/files/patch-extconf.rb.in13
2 files changed, 14 insertions, 0 deletions
diff --git a/japanese/rskkserv/Makefile b/japanese/rskkserv/Makefile
index dc60d6f583f6..18c2211c893e 100644
--- a/japanese/rskkserv/Makefile
+++ b/japanese/rskkserv/Makefile
@@ -7,6 +7,7 @@
PORTNAME= rskkserv
PORTVERSION= 2.94.12
+PORTREVISION= 1
CATEGORIES= japanese ruby
MASTER_SITES= http://www.unixuser.org/~ysjj/rskkserv/
DIST_SUBDIR= ruby
diff --git a/japanese/rskkserv/files/patch-extconf.rb.in b/japanese/rskkserv/files/patch-extconf.rb.in
new file mode 100644
index 000000000000..9722c0e13f18
--- /dev/null
+++ b/japanese/rskkserv/files/patch-extconf.rb.in
@@ -0,0 +1,13 @@
+--- ext/extconf.rb.in.orig Tue Aug 14 01:06:08 2001
++++ ext/extconf.rb.in Wed Sep 12 01:52:00 2001
+@@ -5,8 +5,8 @@
+ # guessing `rubylibdir' and `rubyarchdir'
+ prefix = "@prefix@"
+ if prefix == CONFIG["prefix"]
+- rubylibdir = CONFIG["rubylibdir"]
+- rubyarchdir = CONFIG["archdir"]
++ rubylibdir = CONFIG["sitelibdir"]
++ rubyarchdir = CONFIG["sitearchdir"]
+ else
+ rubylibdir = prefix + "/lib/ruby/" + CONFIG["MAJOR"] + "." + CONFIG["MINOR"]
+ rubyarchdir = rubylibdir + "/" + CONFIG["arch"]