mirror of
https://git.freebsd.org/ports.git
synced 2025-05-25 07:26:29 -04:00
- Fix build on 5.X and 6.X
- Fix plist Approved by: portmgr (marcus)
This commit is contained in:
parent
9246ffbcf9
commit
e159b27cd5
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=140794
2 changed files with 13 additions and 7 deletions
|
@ -19,16 +19,11 @@ BUILD_DEPENDS= ${LOCALBASE}/bin/xml2-config:${PORTSDIR}/textproc/libxml2
|
||||||
LIB_DEPENDS= xml2.5:${PORTSDIR}/textproc/libxml2
|
LIB_DEPENDS= xml2.5:${PORTSDIR}/textproc/libxml2
|
||||||
|
|
||||||
PLIST_FILES= %%RUBY_SITEARCHLIBDIR%%/xml/libxml.so
|
PLIST_FILES= %%RUBY_SITEARCHLIBDIR%%/xml/libxml.so
|
||||||
|
PLIST_DIRS= %%RUBY_SITEARCHLIBDIR%%/xml
|
||||||
USE_BZIP2= yes
|
USE_BZIP2= yes
|
||||||
USE_RUBY= yes
|
USE_RUBY= yes
|
||||||
USE_RUBY_EXTCONF= yes
|
USE_RUBY_EXTCONF= yes
|
||||||
|
|
||||||
INSTALL_TARGET= site-install
|
INSTALL_TARGET= site-install
|
||||||
|
|
||||||
.include <bsd.port.pre.mk>
|
.include <bsd.port.mk>
|
||||||
|
|
||||||
.if ${OSVERSION} >= 502126
|
|
||||||
BROKEN= "Configure fails on FreeBSD >= 5.x"
|
|
||||||
.endif
|
|
||||||
|
|
||||||
.include <bsd.port.post.mk>
|
|
||||||
|
|
11
textproc/ruby-libxml/files/patch-extconf.rb
Normal file
11
textproc/ruby-libxml/files/patch-extconf.rb
Normal file
|
@ -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
|
||||||
|
|
Loading…
Add table
Reference in a new issue