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 - -.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 +.include 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 + #include + ++#ifndef __cplusplus ++#define false 0 ++#define true 1 ++#endif ++ + extern VALUE mForm; + extern VALUE cFIELD; + extern VALUE cFIELDTYPE;