aboutsummaryrefslogtreecommitdiffstats
path: root/devel
diff options
context:
space:
mode:
authorknu <knu@FreeBSD.org>2004-08-12 17:12:12 +0800
committerknu <knu@FreeBSD.org>2004-08-12 17:12:12 +0800
commitaafd0cad8598a62933c4c79e65a076b6e50cea88 (patch)
tree1e7144bc3d436e69df131fa5ef1042a7644a70e0 /devel
parentf7205256cf9c359cdae57d283b6fc23746593025 (diff)
downloadfreebsd-ports-gnome-aafd0cad8598a62933c4c79e65a076b6e50cea88.tar.gz
freebsd-ports-gnome-aafd0cad8598a62933c4c79e65a076b6e50cea88.tar.zst
freebsd-ports-gnome-aafd0cad8598a62933c4c79e65a076b6e50cea88.zip
Update to 0.9.1.
Unbreak on FreeBSD 4.x/gcc 2.95.
Diffstat (limited to 'devel')
-rw-r--r--devel/ruby-ncurses/Makefile10
-rw-r--r--devel/ruby-ncurses/distinfo4
-rw-r--r--devel/ruby-ncurses/files/patch-form_wrap.h14
3 files changed, 18 insertions, 10 deletions
diff --git a/devel/ruby-ncurses/Makefile b/devel/ruby-ncurses/Makefile
index f92adbf1644a..0a2d6cb6141a 100644
--- a/devel/ruby-ncurses/Makefile
+++ b/devel/ruby-ncurses/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= ncurses
-PORTVERSION= 0.9
+PORTVERSION= 0.9.1
CATEGORIES= devel ruby
MASTER_SITES= http://download.berlios.de/ncurses-ruby/
PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX}
@@ -25,12 +25,6 @@ INSTALL_TARGET= site-install
DOCS= Changes README THANKS TODO
-.include <bsd.port.pre.mk>
-
-.if ${OSVERSION} < 500000
-BROKEN= "Does not compile on 4.x"
-.endif
-
post-install:
.if !defined(NOPORTDOCS)
${MKDIR} ${RUBY_MODDOCDIR}
@@ -41,4 +35,4 @@ post-install:
${INSTALL_DATA} ${WRKSRC}/examples/* ${RUBY_MODEXAMPLESDIR}/
.endif
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/devel/ruby-ncurses/distinfo b/devel/ruby-ncurses/distinfo
index 0fd89c713285..754e478516ed 100644
--- a/devel/ruby-ncurses/distinfo
+++ b/devel/ruby-ncurses/distinfo
@@ -1,2 +1,2 @@
-MD5 (ruby/ncurses-ruby-0.9.tar.bz2) = 912a59bf9c631be6544afee8a4374470
-SIZE (ruby/ncurses-ruby-0.9.tar.bz2) = 44600
+MD5 (ruby/ncurses-ruby-0.9.1.tar.bz2) = cb99721b492995bb3548b700b6e86fe2
+SIZE (ruby/ncurses-ruby-0.9.1.tar.bz2) = 44726
diff --git a/devel/ruby-ncurses/files/patch-form_wrap.h b/devel/ruby-ncurses/files/patch-form_wrap.h
new file mode 100644
index 000000000000..d11eb1acbe40
--- /dev/null
+++ b/devel/ruby-ncurses/files/patch-form_wrap.h
@@ -0,0 +1,14 @@
+--- form_wrap.h.orig Sat Jul 31 17:54:47 2004
++++ form_wrap.h Thu Aug 12 18:09:07 2004
+@@ -26,6 +26,11 @@
+ #include <form.h>
+ #include <ruby.h>
+
++#ifndef __cplusplus
++#define false 0
++#define true 1
++#endif
++
+ extern VALUE mForm;
+ extern VALUE cFIELD;
+ extern VALUE cFIELDTYPE;