- Fix build on 5.X and 6.X

- Fix plist

Approved by:	portmgr (marcus)
This commit is contained in:
Pav Lucistnik 2005-08-05 18:03:23 +00:00
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

View file

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

View 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