aboutsummaryrefslogtreecommitdiff
path: root/devel/ruby-intl
diff options
context:
space:
mode:
authorPav Lucistnik <pav@FreeBSD.org>2005-08-09 16:02:01 +0000
committerPav Lucistnik <pav@FreeBSD.org>2005-08-09 16:02:01 +0000
commit2b2c011d66c1ecb9e432c68453c8aa6f27b3e1d3 (patch)
treedebb79c810439a270e18513880f8ff34e9d40de1 /devel/ruby-intl
parent184e973284f009d094ce61fcfe5d998662bb7169 (diff)
Notes
Diffstat (limited to 'devel/ruby-intl')
-rw-r--r--devel/ruby-intl/Makefile8
-rw-r--r--devel/ruby-intl/files/patch-extconf.rb10
2 files changed, 11 insertions, 7 deletions
diff --git a/devel/ruby-intl/Makefile b/devel/ruby-intl/Makefile
index 3677a1d31255..4cbb45a80d82 100644
--- a/devel/ruby-intl/Makefile
+++ b/devel/ruby-intl/Makefile
@@ -24,12 +24,6 @@ USE_RUBY_EXTCONF= yes
WRKSRC= ${WRKDIR}/${PORTNAME}
INSTALL_TARGET= site-install
-.include <bsd.port.pre.mk>
-
-.if ${OSVERSION} >= 502126
-BROKEN= "Does not build on FreeBSD >= 5.x"
-.endif
-
post-install:
.if !defined(NOPORTDOCS)
${MKDIR} ${RUBY_MODEXAMPLESDIR}/po/
@@ -40,4 +34,4 @@ post-install:
${INSTALL_DATA} ${WRKSRC}/README.jp ${RUBY_MODDOCDIR}/ja/
.endif
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/devel/ruby-intl/files/patch-extconf.rb b/devel/ruby-intl/files/patch-extconf.rb
new file mode 100644
index 000000000000..dede2e383696
--- /dev/null
+++ b/devel/ruby-intl/files/patch-extconf.rb
@@ -0,0 +1,10 @@
+--- extconf.rb.orig Wed Aug 25 00:32:00 1999
++++ extconf.rb Tue Aug 9 17:20:04 2005
+@@ -4,6 +4,6 @@
+ $CFLAGS = "-I/usr/local/include";
+ have_library( "xpg4", "setlocale" );
+ have_header( "locale.h" );
+-if ( have_header( "libintl.h" ) and (have_library( "intl", "gettext" ) or have_func( "gettext" )) )
++if ( have_header( "libintl.h" ) and (have_library( "intl", "gettext" , "libintl.h" ) or have_func( "gettext" )) )
+ create_makefile( "intl" );
+ end