From owner-freebsd-ports-bugs@FreeBSD.ORG Fri Jul 15 18:10:13 2011 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 A2D0A1065672 for ; Fri, 15 Jul 2011 18:10:13 +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 805818FC1D for ; Fri, 15 Jul 2011 18:10:13 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id p6FIADvb027278 for ; Fri, 15 Jul 2011 18:10:13 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id p6FIADTb027277; Fri, 15 Jul 2011 18:10:13 GMT (envelope-from gnats) Resent-Date: Fri, 15 Jul 2011 18:10:13 GMT Resent-Message-Id: <201107151810.p6FIADTb027277@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, Rainer Hurling Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 10FEA106566B for ; Fri, 15 Jul 2011 18:06:04 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from red.freebsd.org (red.freebsd.org [IPv6:2001:4f8:fff6::22]) by mx1.freebsd.org (Postfix) with ESMTP id DBCDC8FC0C for ; Fri, 15 Jul 2011 18:06:03 +0000 (UTC) Received: from red.freebsd.org (localhost [127.0.0.1]) by red.freebsd.org (8.14.4/8.14.4) with ESMTP id p6FI63A2030535 for ; Fri, 15 Jul 2011 18:06:03 GMT (envelope-from nobody@red.freebsd.org) Received: (from nobody@localhost) by red.freebsd.org (8.14.4/8.14.4/Submit) id p6FI63RB030534; Fri, 15 Jul 2011 18:06:03 GMT (envelope-from nobody) Message-Id: <201107151806.p6FI63RB030534@red.freebsd.org> Date: Fri, 15 Jul 2011 18:06:03 GMT From: Rainer Hurling To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: ports/158952: [maintainer][patch] math/saga: adding support for graphics/vigra 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, 15 Jul 2011 18:10:13 -0000 >Number: 158952 >Category: ports >Synopsis: [maintainer][patch] math/saga: adding support for graphics/vigra >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: maintainer-update >Submitter-Id: current-users >Arrival-Date: Fri Jul 15 18:10:13 UTC 2011 >Closed-Date: >Last-Modified: >Originator: Rainer Hurling >Release: FreeBSD 9.0-CURRENT amd64 >Organization: >Environment: FreeBSD x.x.x 9.0-CURRENT FreeBSD 9.0-CURRENT #0: Tue Jul 12 17:07:40 CEST 2011 x@x.x.x:/usr/obj/usr/src/sys/XXX amd64 >Description: The patch adds optional support for graphics/vigra. With ViGrA library SAGA GIS is able to build the nine additional modules under category 'Imagery - ViGrA'. >How-To-Repeat: >Fix: Patch attached with submission follows: diff -Naur saga.orig/Makefile saga/Makefile --- saga.orig/Makefile 2011-06-29 17:30:25.000000000 +0200 +++ saga/Makefile 2011-07-15 19:25:46.000000000 +0200 @@ -7,7 +7,7 @@ PORTNAME= saga PORTVERSION= 2.0.7 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= math MASTER_SITES= SF/saga-gis/SAGA%20-%20${PORTVERSION:C/\.[[:digit:]]*$//}/SAGA%20${PORTVERSION} DISTNAME= ${PORTNAME}_${PORTVERSION} @@ -38,7 +38,8 @@ OPTIONS= UNICODE "Enable Unicode Support" On \ PYTHON "Enable Python bindings" On \ - HARU "Enable Haru Free PDF Library (optional)" Off + HARU "Enable Haru Free PDF Library (optional)" Off \ + VIGRA "Enable 'Vision with Generic Algorithms' Library" Off .include @@ -69,6 +70,14 @@ PLIST_SUB+= HARU="@comment " .endif +.if defined(WITH_VIGRA) +BUILD_DEPENDS+= ${LOCALBASE}/lib/libvigraimpex.so:${PORTSDIR}/graphics/vigra +RUN_DEPENDS+= ${LOCALBASE}/lib/libvigraimpex.so:${PORTSDIR}/graphics/vigra +PLIST_SUB+= VIGRA="" +.else +PLIST_SUB+= VIGRA="@comment " +.endif + .include post-patch: diff -Naur saga.orig/pkg-plist saga/pkg-plist --- saga.orig/pkg-plist 2011-06-27 09:20:52.000000000 +0200 +++ saga/pkg-plist 2011-07-15 19:24:58.000000000 +0200 @@ -138,6 +138,8 @@ lib/saga/libtin_viewer.so lib/saga/libtransect.la lib/saga/libtransect.so +%%VIGRA%%lib/saga/libvigra.la +%%VIGRA%%lib/saga/libvigra.so share/saga/saga_icon_32.xpm share/saga/saga_tip.txt @dirrm share/saga >Release-Note: >Audit-Trail: >Unformatted: