Date: Tue, 11 Jun 2013 21:38:58 GMT From: "Christopher J. Ruwe" <cjr@cruwe.de> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/179500: finance/gnucash does not install database dependencies Message-ID: <201306112138.r5BLcwga012230@oldred.freebsd.org> Resent-Message-ID: <201306112140.r5BLe4aL019908@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 179500 >Category: ports >Synopsis: finance/gnucash does not install database dependencies >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Tue Jun 11 21:40:04 UTC 2013 >Closed-Date: >Last-Modified: >Originator: Christopher J. Ruwe >Release: 9.1-RELEASE >Organization: >Environment: FreeBSD dijkstra.cruwe.de 9.1-RELEASE FreeBSD 9.1-RELEASE #2: Tue Nov 27 03:45:16 UTC 2012 root@darkstar:/usr/obj/pcbsd-build90/fbsd-source/9.1/sys/GENERIC amd64 >Description: finance/gnucash is a program for private and small to medium business accounting The config-flag "DATABASE" is said to "Enable SQL database backends". The pkg-message informs after installation that to actually use DBs, manually installing databses/libdbi-drivers is required. This is non-optimal. Typically, users associate "enable" with "actually usable", not, as in this case, "theoretically usable if you manually do this and that". >How-To-Repeat: Install finance/gnucash and read pkg-message. Alternatively, just cat it. >Fix: add databases/libdbi-drivers as RUN_DEPENDS Patch attached with submission follows: diff -uNr /poudriere/ports/default/finance/gnucash/Makefile finance/gnucash/Makefile --- /poudriere/ports/default/finance/gnucash/Makefile 2013-04-27 16:50:56.873912995 +0200 +++ finance/gnucash/Makefile 2013-06-11 23:13:10.292359027 +0200 @@ -3,7 +3,7 @@ PORTNAME= gnucash PORTVERSION= 2.4.11 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= finance gnome MASTER_SITES= SF/${PORTNAME}/${PORTNAME}%20%28stable%29/${PORTVERSION} @@ -89,6 +89,7 @@ .if ${PORT_OPTIONS:MDATABASE} CONFIGURE_ARGS+=--enable-dbi LIB_DEPENDS+= dbi:${PORTSDIR}/databases/libdbi +RUN_DEPENDS+= ${LOCALBASE}/lib/dbd:${PORTSDIR}/databases/libdbi-drivers PLIST_SUB+= DATABASE="" .else CONFIGURE_ARGS+=--disable-dbi diff -uNr /poudriere/ports/default/finance/gnucash/pkg-message finance/gnucash/pkg-message --- /poudriere/ports/default/finance/gnucash/pkg-message 2012-09-12 21:15:34.640673883 +0200 +++ finance/gnucash/pkg-message 2013-06-11 23:14:27.416354343 +0200 @@ -1,11 +1,8 @@ ############################################################################### -If you have enabled the DATABASE option and want to use any of the supported -database backends, you also need to install: - -databases/libdbi-drivers - -And select the database type(s) you want to use. +If you have enabled the DATABASE option, databases/libdbi-drivers is +pulled in as a dependency. Database types should be en- or disabled in +databases/libdbi-drivers's options. MySQL, PostgreSQL, and SQLite3 are supported in GnuCash. >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201306112138.r5BLcwga012230>