aboutsummaryrefslogtreecommitdiffstats
path: root/textproc/ruby-libxml
diff options
context:
space:
mode:
authorpav <pav@FreeBSD.org>2005-08-06 02:03:23 +0800
committerpav <pav@FreeBSD.org>2005-08-06 02:03:23 +0800
commit01a4a0d43cbbdeec97d96d605f0f3595738fa921 (patch)
tree291962729f428df8166935cbc7b1be2099f8d381 /textproc/ruby-libxml
parent2a38c4523a85e8b7d2467050e8e10595cee4349b (diff)
downloadfreebsd-ports-gnome-01a4a0d43cbbdeec97d96d605f0f3595738fa921.tar.gz
freebsd-ports-gnome-01a4a0d43cbbdeec97d96d605f0f3595738fa921.tar.zst
freebsd-ports-gnome-01a4a0d43cbbdeec97d96d605f0f3595738fa921.zip
- Fix build on 5.X and 6.X
- Fix plist Approved by: portmgr (marcus)
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
+