1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-22 08:58:47 +00:00

Update to 0.9.1.

Unbreak on FreeBSD 4.x/gcc 2.95.
This commit is contained in:
Akinori MUSHA 2004-08-12 09:12:12 +00:00
parent 790c513316
commit dc61b8ac46
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=116005
3 changed files with 18 additions and 10 deletions

View File

@ -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>

View File

@ -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

View File

@ -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;