ports/107604: [patch] Fix for net/ruby-net-geoip build error on i386-7-latest
Albert Vernon
f3cun3c02 at sneakemail.com
Sat Jan 6 03:10:17 UTC 2007
>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 at 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 at FreeBSD.org
+MAINTAINER= f3cun3c02 at 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 at 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:
More information about the freebsd-ports-bugs
mailing list