From owner-freebsd-ports-bugs@FreeBSD.ORG Fri Dec 21 20:30:01 2007 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8BEE716A419 for ; Fri, 21 Dec 2007 20:30:01 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 5475813C4F7 for ; Fri, 21 Dec 2007 20:30:01 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.2/8.14.2) with ESMTP id lBLKU1TZ076772 for ; Fri, 21 Dec 2007 20:30:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.2/8.14.1/Submit) id lBLKU11N076769; Fri, 21 Dec 2007 20:30:01 GMT (envelope-from gnats) Resent-Date: Fri, 21 Dec 2007 20:30:01 GMT Resent-Message-Id: <200712212030.lBLKU11N076769@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, "Pietro Cerutti" Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 58DA216A41A for ; Fri, 21 Dec 2007 20:25:36 +0000 (UTC) (envelope-from gahr@gahr.ch) Received: from cpanel03.rubas-s03.net (cpanel03.rubas-s03.net [195.182.222.73]) by mx1.freebsd.org (Postfix) with ESMTP id CA7F613C442 for ; Fri, 21 Dec 2007 20:25:35 +0000 (UTC) (envelope-from gahr@gahr.ch) Received: from 80-218-191-236.dclient.hispeed.ch ([80.218.191.236] helo=gahrtop.localhost) by cpanel03.rubas-s03.net with esmtpa (Exim 4.68) (envelope-from ) id 1J5oR4-0004zn-Jz for FreeBSD-gnats-submit@freebsd.org; Fri, 21 Dec 2007 21:25:34 +0100 Received: from gahrtop.localhost (localhost [127.0.0.1]) by gahrtop.localhost (Postfix) with ESMTP id 712B073063 for ; Fri, 21 Dec 2007 21:23:57 +0100 (CET) Message-Id: <1198268637.62758@gahrtop.localhost> Date: Fri, 21 Dec 2007 21:23:57 +0100 From: "Pietro Cerutti" To: "FreeBSD gnats submit" X-Send-Pr-Version: gtk-send-pr 0.4.8 Cc: Subject: ports/118938: [patch][update] textproc/ruby-libxml unbreak update to 0.3.8.4 + adopt maintainship X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 21 Dec 2007 20:30:01 -0000 >Number: 118938 >Category: ports >Synopsis: [patch][update] textproc/ruby-libxml unbreak update to 0.3.8.4 + adopt maintainship >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Fri Dec 21 20:30:00 UTC 2007 >Closed-Date: >Last-Modified: >Originator: Pietro Cerutti >Release: FreeBSD 8.0-CURRENT i386 >Organization: >Environment: System: FreeBSD 8.0-CURRENT #18: Tue Dec 18 12:48:22 CET 2007 root@gahrtop.localhost:/usr/obj/usr/src/sys/MSI1034 >Description: The following patch: - updates to 0.3.8.4 - sets maintainship to me >How-To-Repeat: >Fix: --- _ruby-libxml begins here --- --- 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 +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 +.include ---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() --- _ruby-libxml ends here --- >Release-Note: >Audit-Trail: >Unformatted: