aboutsummaryrefslogtreecommitdiff
path: root/textproc/ruby-libxml
diff options
context:
space:
mode:
authorPav Lucistnik <pav@FreeBSD.org>2005-08-05 18:03:23 +0000
committerPav Lucistnik <pav@FreeBSD.org>2005-08-05 18:03:23 +0000
commite159b27cd5a2560fd0e7eb0c098c31b95673a19f (patch)
treebe14c9fa74e12ce6947c170c540d4babda78e80e /textproc/ruby-libxml
parent9246ffbcf91dc60621f5cbc3ba1f413363a927f9 (diff)
downloadports-e159b27cd5a2560fd0e7eb0c098c31b95673a19f.tar.gz
ports-e159b27cd5a2560fd0e7eb0c098c31b95673a19f.zip
Notes
Diffstat (limited to 'textproc/ruby-libxml')
-rw-r--r--textproc/ruby-libxml/Makefile9
-rw-r--r--textproc/ruby-libxml/files/patch-extconf.rb11
2 files changed, 13 insertions, 7 deletions
diff --git a/textproc/ruby-libxml/Makefile b/textproc/ruby-libxml/Makefile
index 00ba49901a22..445f58f442c8 100644
--- a/textproc/ruby-libxml/Makefile
+++ b/textproc/ruby-libxml/Makefile
@@ -19,16 +19,11 @@ BUILD_DEPENDS= ${LOCALBASE}/bin/xml2-config:${PORTSDIR}/textproc/libxml2
LIB_DEPENDS= xml2.5:${PORTSDIR}/textproc/libxml2
PLIST_FILES= %%RUBY_SITEARCHLIBDIR%%/xml/libxml.so
+PLIST_DIRS= %%RUBY_SITEARCHLIBDIR%%/xml
USE_BZIP2= yes
USE_RUBY= yes
USE_RUBY_EXTCONF= yes
INSTALL_TARGET= site-install
-.include <bsd.port.pre.mk>
-
-.if ${OSVERSION} >= 502126
-BROKEN= "Configure fails on FreeBSD >= 5.x"
-.endif
-
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/textproc/ruby-libxml/files/patch-extconf.rb b/textproc/ruby-libxml/files/patch-extconf.rb
new file mode 100644
index 000000000000..19da6467187b
--- /dev/null
+++ b/textproc/ruby-libxml/files/patch-extconf.rb
@@ -0,0 +1,11 @@
+--- extconf.rb.orig Sun Dec 8 07:55:26 2002
++++ extconf.rb Fri Aug 5 19:50:43 2005
+@@ -23,7 +23,7 @@
+ dir_config('xml2')
+
+
+-unless have_library('m', 'atan')
++unless have_library('m', 'atan', 'math.h')
+ crash('need libm')
+ end
+