opnsense-ports/devel/ruby-intl/files/patch-extconf.rb
Franco Fichtner 8cb1a96ede ports: pull in a snapshot of the FreeBSD ports tree
Taken from:	https://github.com/freebsd/freebsd-ports.git
Commit id:	5070672073b68be364139bc6b3a89100bd17d331
2014-11-09 14:03:21 +01:00

10 lines
455 B
Ruby

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