Date: Sat, 6 Jan 2007 03:01:43 GMT From: Albert Vernon<f3cun3c02@sneakemail.com> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/107604: [patch] Fix for net/ruby-net-geoip build error on i386-7-latest Message-ID: <200701060301.l0631hSi086256@www.freebsd.org> Resent-Message-ID: <200701060310.l063AHxt067599@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 107604 >Category: ports >Synopsis: [patch] Fix for net/ruby-net-geoip build error on i386-7-latest >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Sat Jan 06 03:10:16 GMT 2007 >Closed-Date: >Last-Modified: >Originator: Albert Vernon >Release: FreeBSD 6.0-CURRENT >Organization: >Environment: FreeBSD aev.sonicpond.com 6.0-RELEASE FreeBSD 6.0-RELEASE #0: Tue Jan 17 10:42:54 PST 2006 root@hive.sonicpond.com:/usr/src/sys/i386/compile/HIVE-01 i386 >Description: A typo in the working directory's Makefile is passing invalid arguments to the C compiler. The error log is here: http://pointyhat.freebsd.org/errorlogs/i386-errorlogs/e.7.2007010205/ruby18-net-geoip-0.06_5.log I would also like to become the maintainer for this port and obtain an @freebsd.org alias. >How-To-Repeat: >Fix: Insert a space between -Wall and -O2. See the attached patch. Patch attached with submission follows: diff -Naur ruby-net-geoip.prev/Makefile ruby-net-geoip/Makefile --- ruby-net-geoip.prev/Makefile Wed Dec 13 11:14:16 2006 +++ ruby-net-geoip/Makefile Fri Jan 5 21:29:03 2007 @@ -7,14 +7,13 @@ PORTNAME= net-geoip PORTVERSION= 0.06 -PORTREVISION= 5 +PORTREVISION= 6 CATEGORIES= net ruby -MASTER_SITES= http://www.gigavenue.com/mirrors/ruby/ \ - http://www.maxmind.com/download/geoip/api/ruby/ +MASTER_SITES= http://www.maxmind.com/download/geoip/api/ruby/ PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX} DIST_SUBDIR= ruby -MAINTAINER= ports@FreeBSD.org +MAINTAINER= f3cun3c02@sneakemail.com COMMENT= A Ruby extension that wraps around libGeoIP LIB_DEPENDS= GeoIP.5:${PORTSDIR}/net/GeoIP diff -Naur ruby-net-geoip.prev/pkg-descr ruby-net-geoip/pkg-descr --- ruby-net-geoip.prev/pkg-descr Wed Oct 9 06:00:11 2002 +++ ruby-net-geoip/pkg-descr Fri Jan 5 21:33:05 2007 @@ -2,4 +2,3 @@ hostname. Author: Sean Chittenden <sean@chittenden.org> -WWW: http://www.rubynet.org/modules/net/geoip/ diff -Naur ruby-net-geoip.prev/work/net-geoip-0.06/Makefile ruby-net-geoip/work/net-geoip-0.06/Makefile --- ruby-net-geoip.prev/work/net-geoip-0.06/Makefile Fri Jan 5 21:23:46 2007 +++ ruby-net-geoip/work/net-geoip-0.06/Makefile Fri Jan 5 21:27:30 2007 @@ -41,7 +41,7 @@ LIBRUBYARG_STATIC = -l$(RUBY_SO_NAME)-static RUBY_EXTCONF_H = extconf.h -CFLAGS = -fPIC -g -Wall-O2 -fno-strict-aliasing -pipe -fPIC -I/usr/local/include +CFLAGS = -fPIC -g -Wall -O2 -fno-strict-aliasing -pipe -fPIC -I/usr/local/include INCFLAGS = -I. -I. -I/usr/local/lib/ruby/1.8/i386-freebsd6 -I. CPPFLAGS = -DRUBY_EXTCONF_H=\"$(RUBY_EXTCONF_H)\" -I/usr/local/include CXXFLAGS = $(CFLAGS) >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200701060301.l0631hSi086256>