Date: Sun, 17 Jul 2005 10:14:47 +0200 From: "Franz Klammer" <klammer@webonaut.com> To: "FreeBSD gnats submit" <FreeBSD-gnats-submit@FreeBSD.org> Subject: ports/83592: [maintainer-update] deskutils/gdesklets - need a py-db package installed Message-ID: <1121588087.0@acer.webonaut.com> Resent-Message-ID: <200507170820.j6H8KKqD083885@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 83592 >Category: ports >Synopsis: [maintainer-update] deskutils/gdesklets - need a py-db package installed >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: maintainer-update >Submitter-Id: current-users >Arrival-Date: Sun Jul 17 08:20:20 GMT 2005 >Closed-Date: >Last-Modified: >Originator: Franz Klammer >Release: FreeBSD 5.4-STABLE i386 >Organization: >Environment: System: FreeBSD 5.4-STABLE #5: Wed Jun 29 13:58:57 CEST 2005 root@acer.webonaut.com:/usr/obj/usr/src/sys/ACER292 >Description: gdesklets - need a py-db package installed since the gconf-support is removed there mus be one db-backend installed. dbm is to insufficient - seems there had to be one of py-gdbm or py-bsddb installed. bsddb is default and gdbm an altenate option. >How-To-Repeat: >Fix: --- gdesklets.db.diff begins here --- diff -Nur gdesklets.orig/Makefile gdesklets/Makefile --- gdesklets.orig/Makefile Thu Jul 14 07:38:35 2005 +++ gdesklets/Makefile Sun Jul 17 09:50:58 2005 @@ -21,11 +21,21 @@ USE_BZIP2= yes USE_GMAKE= yes -USE_LIBTOOL_VER= 15 +USE_LIBTOOL_VER=15 USE_PYTHON= yes USE_X_PREFIX= yes USE_GNOME= gnomehack gnomeprefix gnometarget intlhack librsvg2 pygnomeextras +OPTIONS= GDBM "install py-gdbm instead py-bsddb for config storage" off + +.include <bsd.port.pre.mk> + +.if defined(WITH_GDBM) +RUN_DEPENDS+= ${PYTHON_SITELIBDIR}/gdbm.so:${PORTSDIR}/databases/py-gdbm +.else +RUN_DEPENDS+= ${PYTHON_SITELIBDIR}/_bsddb.so:${PORTSDIR}/databases/py-bsddb +.endif + CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include -I${X11BASE}/include ${PTHREAD_CFLAGS}" \ LDFLAGS="-L${LOCALBASE}/lib -L${X11BASE}/lib ${PTHREAD_LIBS}" @@ -38,4 +48,4 @@ @${PYTHON_CMD} ${PYTHON_LIBDIR}/compileall.py ${PREFIX}/lib/gdesklets @${CAT} ${PKGMESSAGE} -.include <bsd.port.mk> +.include <bsd.port.post.mk> --- gdesklets.db.diff ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1121588087.0>