Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 16 Aug 2011 23:05:58 +0200 (CEST)
From:      Armin Gruner <ag@muc.de>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/159822: Allow local configure options to finance/gnucash 
Message-ID:  <201108162105.p7GL5wUH005147@magnus.fritz.box>
Resent-Message-ID: <201108162110.p7GLACMO035407@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         159822
>Category:       ports
>Synopsis:       Allow local configure options to finance/gnucash
>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:   Tue Aug 16 21:10:12 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator:     Armin Gruner
>Release:        FreeBSD 8.2-STABLE amd64
>Organization:
muc.de
>Environment:
System: FreeBSD magnus.fritz.box 8.2-STABLE FreeBSD 8.2-STABLE #0 r222840M: Wed Jun 8 02:29:27 CEST 2011 ag@magnus.fritz.box:/usr/obj/usr/src/sys/ATA_CAM amd64
>Description:
	gnucash has the option to support local specific taxes if GNU configure is called
	with --enable-local-specific-tax.
	Howewer, the "usual" paradigm to put build options into /etc/make.conf does not work,
	as CONFIGURE_ARGS cannot be modified.
	With the change in the ports Makefile, one can put

        .if ${.CURDIR:M/usr/ports/finance/gnucash*}
        CONFIGURE_ARGS+=--enable-locale-specific-tax
        .endif

        into ``/etc/make.conf''.
>How-To-Repeat:
>Fix:

--- Makefile.orig	2011-08-16 22:59:24.000000000 +0200
+++ Makefile	2011-08-16 22:22:35.246350938 +0200
@@ -45,7 +45,7 @@
 USE_LDCONFIG=	yes
 CONFIGURE_ENV=	CPPFLAGS="-I${LOCALBASE}/include" \
 		LDFLAGS="-L${LOCALBASE}/lib"
-CONFIGURE_ARGS=	--disable-error-on-warning \
+CONFIGURE_ARGS+= --disable-error-on-warning \
 		--disable-doxygen
 
 MAN1=		gnucash.1
>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201108162105.p7GL5wUH005147>