ports/159822: Allow local configure options to finance/gnucash

Armin Gruner ag at muc.de
Tue Aug 16 21:10:13 UTC 2011


>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 at 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:



More information about the freebsd-ports-bugs mailing list