From owner-freebsd-ports-bugs@FreeBSD.ORG Wed May 16 11:00:24 2012 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 986A01065677 for ; Wed, 16 May 2012 11:00:24 +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 796C58FC0A for ; Wed, 16 May 2012 11:00:15 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id q4GB0F6k005930 for ; Wed, 16 May 2012 11:00:15 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id q4GB0FTT005929; Wed, 16 May 2012 11:00:15 GMT (envelope-from gnats) Resent-Date: Wed, 16 May 2012 11:00:15 GMT Resent-Message-Id: <201205161100.q4GB0FTT005929@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, Anderson Soares Ferreira Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1B59D106566B for ; Wed, 16 May 2012 10:54:58 +0000 (UTC) (envelope-from anderson@cnpm.embrapa.br) Received: from inga.cnpm.embrapa.br (inga.cnpm.embrapa.br [200.136.111.23]) by mx1.freebsd.org (Postfix) with ESMTP id 923F58FC14 for ; Wed, 16 May 2012 10:54:57 +0000 (UTC) Received: from caraiba.cnpm.embrapa.br (caraiba.cnpm.embrapa.br [192.168.157.98]) by inga.cnpm.embrapa.br (Postfix) with ESMTP id 60AD27301A for ; Wed, 16 May 2012 07:54:56 -0300 (BRT) Received: from localhost (localhost [127.0.0.1]) by caraiba.cnpm.embrapa.br (Postfix) with ESMTP id 4940A3F42C for ; Wed, 16 May 2012 07:54:56 -0300 (BRT) Received: from caraiba.cnpm.embrapa.br (localhost [127.0.0.1]) by caraiba.cnpm.embrapa.br (Postfix) with ESMTP id 320AD3F42B for ; Wed, 16 May 2012 07:54:56 -0300 (BRT) Received: from caraiba.cnpm.embrapa.br ([127.0.0.1]) by caraiba.cnpm.embrapa.br (caraiba.cnpm.embrapa.br [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 82JGl9qla6Od for ; Wed, 16 May 2012 07:54:55 -0300 (BRT) Received: by caraiba.cnpm.embrapa.br (Postfix, from userid 1100) id B62B13F41D; Wed, 16 May 2012 07:54:55 -0300 (BRT) Message-Id: <20120516105455.B62B13F41D@caraiba.cnpm.embrapa.br> Date: Wed, 16 May 2012 07:54:55 -0300 (BRT) From: Anderson Soares Ferreira To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: Subject: ports/167955: [update] graphics/tinyows: Fix dependency to postgis X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Anderson Soares Ferreira List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 16 May 2012 11:00:24 -0000 >Number: 167955 >Category: ports >Synopsis: [update] graphics/tinyows: Fix dependency to postgis >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: update >Submitter-Id: current-users >Arrival-Date: Wed May 16 11:00:15 UTC 2012 >Closed-Date: >Last-Modified: >Originator: Anderson Soares Ferreira >Release: FreeBSD 8.0-STABLE amd64 >Organization: Embrapa Monitoramento por Satelite >Environment: System: FreeBSD caraiba.cnpm.embrapa.br 8.0-STABLE FreeBSD 8.0-STABLE #1: Wed Apr 28 16:03:13 BRT 2010 anderson@caraiba.cnpm.embrapa.br:/usr/obj/usr/src/sys/CARAIBA amd64 >Description: This patch removes dependency to Postgis library, not needed to enable Postgis support. It also adds option to enable shp2pgsql supports that needs postgresql server and postgis binaries. >How-To-Repeat: >Fix: --- tinyows.patch begins here --- diff -Nru tinyows.old/Makefile tinyows/Makefile --- tinyows.old/Makefile 2012-05-15 20:54:10.000000000 -0300 +++ tinyows/Makefile 2012-05-15 21:47:25.000000000 -0300 @@ -7,7 +7,7 @@ PORTNAME= tinyows PORTVERSION= 1.0.0 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= graphics www geography MASTER_SITES= http://tinyows.org/tracdocs/release/ @@ -15,13 +15,14 @@ COMMENT= High Performance WFS-T server LIB_DEPENDS= xml2:${PORTSDIR}/textproc/libxml2 -BUILD_DEPENDS= ${LOCALBASE}/lib/postgresql/postgis-1.5.so:${PORTSDIR}/databases/postgis - +BUILD_DEPENDS= +USE_PGSQL= YES USE_BZIP2= YES WRKSRC= ${WRKDIR}/${PORTNAME} GNU_CONFIGURE= YES OPTIONS= FASTCGI "Support FASTCGI" on \ + SHP2PGSQL "Enable shp2pgsql support" off .include @@ -30,6 +31,14 @@ CONFIGURE_ARGS+= --with-fastcgi=${LOCALBASE} .endif +.if defined(WITH_SHP2PGSQL) +BUILD_DEPENDS+= ${LOCALBASE}/bin/shp2pgsql:${PORTSDIR}/databases/postgis +CONFIGURE_ARGS+= --with-shp2pgsql=${LOCALBASE}/bin/shp2pgsql +.else +CONFIGURE_ARGS+= --without-shp2pgsql +.endif + + post-install: ${MKDIR} ${WWWDIR}/cgi-bin/ ${INSTALL_PROGRAM} ${WRKSRC}/tinyows ${WWWDIR}/cgi-bin/tinyows --- tinyows.patch ends here --- --- Aviso de confidencialidade: Esta mensagem da Empresa Brasileira de Pesquisa Agropecuária (Embrapa), empresa pública federal regida pelo disposto na Lei Federal nº 5.851, de 7 de dezembro de 1972, é enviada exclusivamente a seu destinatário e pode conter informações confidenciais, protegidas por sigilo profissional. Sua utilização desautorizada é ilegal e sujeita o infrator às penas da lei. Se você a recebeu indevidamente, queira, por gentileza, reenviá-la ao emitente, esclarecendo o equívoco. Confidentiality note: This message from Empresa Brasileira de Pesquisa Agropecuária (Embrapa), a government company established under Brazilian law (5.851/72), is directed exclusively to its addressee and may contain confidential data, protected under professional secrecy rules. Its unauthorized use is illegal and may subject the transgressor to the law's penalties. If you are not the addressee, please send it back, elucidating the failure. >Release-Note: >Audit-Trail: >Unformatted: