Bug 175623 - [PATCH] graphics/geos: update to 3.3.7
Summary: [PATCH] graphics/geos: update to 3.3.7
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-ports-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-01-27 09:50 UTC by Rainer Hurling
Modified: 2013-02-16 22:50 UTC (History)
0 users

See Also:


Attachments
file.diff (1.84 KB, patch)
2013-01-27 09:50 UTC, Rainer Hurling
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Rainer Hurling freebsd_committer freebsd_triage 2013-01-27 09:50:00 UTC
graphics/geos is at version 3.3.3 from 2012-04-01. The newest version 3.3.7 from 2013-01-22 brings in a lot of bug fixes and improvements.

Fix: The following small patch should update the port to the newest version. This should work on all platforms (only testet on amd64).

Their remains a problem with option RUBY enabled. This breaks the build.

Patch attached with submission follows:
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2013-01-27 09:50:07 UTC
Maintainer of graphics/geos,

Please note that PR ports/175623 has just been submitted.

If it contains a patch for an upgrade, an enhancement or a bug fix
you agree on, reply to this email stating that you approve the patch
and a committer will take care of it.

The full text of the PR can be found at:
    http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/175623

-- 
Edwin Groothuis via the GNATS Auto Assign Tool
edwin@FreeBSD.org
Comment 2 Edwin Groothuis freebsd_committer freebsd_triage 2013-01-27 09:50:08 UTC
State Changed
From-To: open->feedback

Awaiting maintainers feedback (via the GNATS Auto Assign Tool)
Comment 3 Pawel Pekala freebsd_committer freebsd_triage 2013-02-16 22:43:42 UTC
State Changed
From-To: feedback->closed

Committed, with minor changes. Thanks!
Comment 4 dfilter service freebsd_committer freebsd_triage 2013-02-16 22:43:44 UTC
Author: pawel
Date: Sat Feb 16 22:43:35 2013
New Revision: 312389
URL: http://svnweb.freebsd.org/changeset/ports/312389

Log:
  - Update to version 3.3.7 [1]
  - Convert to OptionsNG
  
  PR:		ports/175623 [1]
  Submitted by:	Rainer Hurling <rhurlin@gwdg.de>
  Approved by:	maintainer timeout

Modified:
  head/graphics/geos/Makefile
  head/graphics/geos/distinfo
  head/graphics/geos/pkg-plist

Modified: head/graphics/geos/Makefile
==============================================================================
--- head/graphics/geos/Makefile	Sat Feb 16 22:27:20 2013	(r312388)
+++ head/graphics/geos/Makefile	Sat Feb 16 22:43:35 2013	(r312389)
@@ -1,12 +1,8 @@
-# New ports collection makefile for:	geos
-# Date created:		19 December 2003
-# Whom:		 	Leonardo Martins <lmartins@nepe.eee.ufg.br>
-#
+# Created by: Leonardo Martins <lmartins@nepe.eee.ufg.br>
 # $FreeBSD$
-#
 
 PORTNAME=	geos
-PORTVERSION=	3.3.3
+PORTVERSION=	3.3.7
 CATEGORIES=	graphics geography
 MASTER_SITES=	http://download.osgeo.org/geos/
 
@@ -21,17 +17,15 @@ USE_GMAKE=	yes
 USE_LDCONFIG=	yes
 GNU_CONFIGURE=	yes
 
-OPTIONS=	PYTHON "Enable python bindings" off \
-		PHP    "Enable php bindings" off \
-		RUBY   "Enable ruby bindings" off
+OPTIONS_DEFINE=	PHP PYTHON RUBY
 
 .include <bsd.port.options.mk>
 
-.if defined(WITH_PHP) || defined(WITH_PYTHON) || defined(WITH_RUBY)
+.if ${PORT_OPTIONS:MPHP} || ${PORT_OPTIONS:MPYTHON} || ${PORT_OPTIONS:MRUBY}
 BUILD_DEPENDS+=	swig1.3:${PORTSDIR}/devel/swig13
 .endif
 
-.if defined(WITH_PYTHON)
+.if ${PORT_OPTIONS:MPYTHON}
 USE_PYTHON=		yes
 CONFIGURE_ARGS+=	--enable-python
 PLIST_SUB+=		WITH_PYTHON=""
@@ -39,7 +33,7 @@ PLIST_SUB+=		WITH_PYTHON=""
 PLIST_SUB+=		WITH_PYTHON="@comment "
 .endif
 
-.if defined(WITH_PHP)
+.if ${PORT_OPTIONS:MPHP}
 BUILD_DEPENDS+=		${LOCALBASE}/bin/php-config:${PORTSDIR}/lang/php5
 CONFIGURE_ARGS+=	--enable-php
 PLIST_SUB+=		WITH_PHP=""
@@ -47,7 +41,7 @@ PLIST_SUB+=		WITH_PHP=""
 PLIST_SUB+=		WITH_PHP="@comment "
 .endif
 
-.if defined(WITH_RUBY)
+.if ${PORT_OPTIONS:MRUBY}
 USE_RUBY=		yes
 CONFIGURE_ARGS+=	--enable-ruby
 CONFIGURE_ENV+=		RUBY="${RUBY}"
@@ -57,6 +51,6 @@ PLIST_SUB+=		WITH_RUBY="@comment "
 .endif
 
 post-install:
-		@${LN} -s ${PREFIX}/lib/libgeos-${PORTVERSION}.so ${PREFIX}/lib/libgeos.so.0
+	@${LN} -s ${PREFIX}/lib/libgeos-${PORTVERSION}.so ${PREFIX}/lib/libgeos.so.0
 
 .include <bsd.port.mk>

Modified: head/graphics/geos/distinfo
==============================================================================
--- head/graphics/geos/distinfo	Sat Feb 16 22:27:20 2013	(r312388)
+++ head/graphics/geos/distinfo	Sat Feb 16 22:43:35 2013	(r312389)
@@ -1,2 +1,2 @@
-SHA256 (geos-3.3.3.tar.bz2) = dfcf4bd70ab212a5b7bad21d01b84748f101a545092b56dafdc3882ef3bddec9
-SIZE (geos-3.3.3.tar.bz2) = 1852272
+SHA256 (geos-3.3.7.tar.bz2) = fd01c21b54a3c48cac3e7885f26d4ca10ea9944238776b8ce03489e5e45c592b
+SIZE (geos-3.3.7.tar.bz2) = 1820984

Modified: head/graphics/geos/pkg-plist
==============================================================================
--- head/graphics/geos/pkg-plist	Sat Feb 16 22:27:20 2013	(r312388)
+++ head/graphics/geos/pkg-plist	Sat Feb 16 22:43:35 2013	(r312389)
@@ -356,7 +356,7 @@ include/geos/util/UnsupportedOperationEx
 include/geos/util/math.h
 include/geos/version.h
 include/geos_c.h
-lib/libgeos-3.3.3.so
+lib/libgeos-3.3.7.so
 lib/libgeos.a
 lib/libgeos.la
 lib/libgeos.so
@@ -365,7 +365,7 @@ lib/libgeos_c.a
 lib/libgeos_c.la
 lib/libgeos_c.so
 lib/libgeos_c.so.8
-@dirrm lib/geos
+@dirrmtry lib/geos
 @dirrm include/geos/util
 @dirrm include/geos/simplify
 @dirrm include/geos/precision
@@ -410,10 +410,10 @@ lib/libgeos_c.so.8
 %%WITH_PYTHON%%%%PYTHON_SITELIBDIR%%/geos/geos.pyc
 %%WITH_PYTHON%%%%PYTHON_SITELIBDIR%%/geos/geos.pyo
 %%WITH_PYTHON%%@dirrm %%PYTHON_SITELIBDIR%%/geos
-%%WITH_PYTHON%%@dirrm %%PYTHON_SITELIBDIR%%
+%%WITH_PYTHON%%@dirrmtry %%PYTHON_SITELIBDIR%%
 %%WITH_RUBY%%%%RUBY_SITEARCHLIBDIR%%/geos.a
 %%WITH_RUBY%%%%RUBY_SITEARCHLIBDIR%%/geos.la
 %%WITH_RUBY%%%%RUBY_SITEARCHLIBDIR%%/geos.so
-%%WITH_RUBY%%@dirrm %%RUBY_SITEARCHLIBDIR%%/
-%%WITH_PHP%%lib/php/20090626/geos.so
-%%WITH_PHP%%@dirrmtry lib/php/20090626
+%%WITH_RUBY%%@dirrmtry %%RUBY_SITEARCHLIBDIR%%/
+%%WITH_PHP%%lib/php/20100525/geos.so
+%%WITH_PHP%%@dirrmtry lib/php/20100525
_______________________________________________
svn-ports-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-ports-all
To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"