aboutsummaryrefslogtreecommitdiffstats
path: root/deskutils
diff options
context:
space:
mode:
authoryoichi <yoichi@FreeBSD.org>2006-02-20 07:31:00 +0800
committeryoichi <yoichi@FreeBSD.org>2006-02-20 07:31:00 +0800
commit1f972db35dcdcb61e78bf9f759928bc03f0f2860 (patch)
treee26ab036dfcdcd73b73b4642c7625a6c1dcf0dd8 /deskutils
parent66d6501ff6f07f1d126d44c437f1cc3273cb8fb6 (diff)
downloadfreebsd-ports-gnome-1f972db35dcdcb61e78bf9f759928bc03f0f2860.tar.gz
freebsd-ports-gnome-1f972db35dcdcb61e78bf9f759928bc03f0f2860.tar.zst
freebsd-ports-gnome-1f972db35dcdcb61e78bf9f759928bc03f0f2860.zip
Fix build with ruby-1.8.4.
Diffstat (limited to 'deskutils')
-rw-r--r--deskutils/gemcal/Makefile2
-rw-r--r--deskutils/gemcal/files/patch-ruby-ext_extconf.rb.in14
2 files changed, 14 insertions, 2 deletions
diff --git a/deskutils/gemcal/Makefile b/deskutils/gemcal/Makefile
index d62526c09f3a..1e3e6de9c990 100644
--- a/deskutils/gemcal/Makefile
+++ b/deskutils/gemcal/Makefile
@@ -16,8 +16,6 @@ COMMENT= Calendar program for MHC
RUN_DEPENDS= ${RUBY_SITEARCHLIBDIR}/gtk.so:${PORTSDIR}/x11-toolkits/ruby-gtk
-BROKEN= Does not build
-
USE_RUBY= yes
do-build:
diff --git a/deskutils/gemcal/files/patch-ruby-ext_extconf.rb.in b/deskutils/gemcal/files/patch-ruby-ext_extconf.rb.in
new file mode 100644
index 000000000000..86de464c84de
--- /dev/null
+++ b/deskutils/gemcal/files/patch-ruby-ext_extconf.rb.in
@@ -0,0 +1,14 @@
+*** ruby-ext/extconf.rb.in.orig Thu Nov 21 09:04:16 2002
+--- ruby-ext/extconf.rb.in Mon Feb 20 08:26:42 2006
+***************
+*** 1,7 ****
+--- 1,9 ----
+ #!@@MHC_RUBY_PATH@@ -Ke
+ # -*- ruby -*-
+
++ if '@@MHC_DISABLE_PALM@@' == ''
+ require 'mkmf'
++ end
+
+ ################################################################
+ # crate make file.