FreeBSD Bugzilla – Attachment 83241 Details for
Bug 118938
[patch][update] textproc/ruby-libxml unbreak update to 0.3.8.4 + adopt maintainship
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
_ruby-libxml
_ruby-libxml (text/plain), 2.88 KB, created by
Pietro Cerutti
on 2007-12-21 20:30:00 UTC
(
hide
)
Description:
_ruby-libxml
Filename:
MIME Type:
Creator:
Pietro Cerutti
Created:
2007-12-21 20:30:00 UTC
Size:
2.88 KB
patch
obsolete
>--- Makefile.orig 2007-07-02 21:01:03.000000000 +0200 >+++ Makefile 2007-12-21 21:21:13.000000000 +0100 >@@ -6,30 +6,37 @@ > # > > PORTNAME= libxml >-PORTVERSION= 0.3.2 >+PORTVERSION= 0.3.8.4 > CATEGORIES= textproc ruby >-MASTER_SITES= http://www.rubynet.org/modules/xml/libxml/ >+MASTER_SITES= http://rubyforge.org/frs/download.php/15237/ > PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX} >-DIST_SUBDIR= ruby >+DISTNAME= ${PORTNAME}-ruby-${PORTVERSION} > >-MAINTAINER= ports@FreeBSD.org >+MAINTAINER= gahr@gahr.ch > COMMENT= A friendly API to libxml for Ruby > >-BUILD_DEPENDS= ${LOCALBASE}/bin/xml2-config:${PORTSDIR}/textproc/libxml2 >+BUILD_DEPENDS= rake:${PORTSDIR}/devel/rubygem-rake \ >+ 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 >+PLIST_FILES= %%RUBY_SITEARCHLIBDIR%%/xml/libxml_so.so \ >+ %%RUBY_SITELIBDIR%%/xml/libxml.rb >+PLIST_DIRS= %%RUBY_SITEARCHLIBDIR%%/xml \ >+ %%RUBY_SITELIBDIR%%/xml >+ > USE_RUBY= yes >-USE_RUBY_EXTCONF= yes >+USE_ICONV= yes >+USE_LDCONFIG= yes > >-INSTALL_TARGET= site-install >+post-patch: >+ ${REINPLACE_CMD} -e 's|%%%PREFIX%%%|${PREFIX}|g' \ >+ ${WRKSRC}/ext/xml/extconf.rb > >-.include <bsd.port.pre.mk> >+do-build: >+ cd ${WRKSRC} && rake test > >-.if ${OSVERSION} >= 700042 >-BROKEN= Does not compile with GCC 4.2 >-.endif >+do-install: >+ cd ${WRKSRC} && rake install > >-.include <bsd.port.post.mk> >+.include <bsd.port.mk> >---distinfo.orig 2007-12-21 20:26:39.000000000 +0100 >+++ distinfo 2007-12-21 20:33:21.000000000 +0100 >@@ -1,3 +1,3 @@ >-MD5 (ruby/libxml-0.3.2.tar.bz2) = a3f23a2a3b1c6fc18d46545f7c294dc9 >-SHA256 (ruby/libxml-0.3.2.tar.bz2) = c49bc4a8726cb2043348c426ac72b12e0dc42fc7cebc3c7171610be8e7933b15 >-SIZE (ruby/libxml-0.3.2.tar.bz2) = 25758 >+MD5 (libxml-ruby-0.3.8.4.tar.gz) = 2190715f1a4779a10d2610c39514ba49 >+SHA256 (libxml-ruby-0.3.8.4.tar.gz) = 8b8d091a77cb237789c684f65cb5e48b9920d4b212a7c5e6bd77594547b7809b >+SIZE (libxml-ruby-0.3.8.4.tar.gz) = 59089 >--- files/patch-extconf.rb.orig 2005-08-05 20:03:23.000000000 +0200 >+++ files/patch-extconf.rb 2007-12-21 21:08:54.000000000 +0100 >@@ -1,11 +0,0 @@ >---- 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 >- >--- /dev/null 2007-12-21 21:11:01.000000000 +0100 >+++ files/patch-ext-xml_extconf.rb 2007-12-21 21:01:35.000000000 +0100 >@@ -0,0 +1,11 @@ >+--- ext/xml/extconf.rb.orig 2006-10-20 13:37:49.000000000 +0200 >++++ ext/xml/extconf.rb 2007-12-21 21:01:31.000000000 +0100 >+@@ -92,7 +92,7 @@ >+ $CFLAGS << ' -Wall' >+ end >+ >+-$CFLAGS << ' ' << $INCFLAGS >++$CFLAGS << ' ' << $INCFLAGS << ' ' << "-I /usr/local/include -L /usr/local/lib" >+ $INSTALLFILES = [["libxml.rb", "$(RUBYLIBDIR)", "../xml"]] >+ >+ create_header()
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 118938
: 83241