pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/databases/gramps5 gramps5: fix startup



details:   https://anonhg.NetBSD.org/pkgsrc/rev/b0d7618a4691
branches:  trunk
changeset: 413361:b0d7618a4691
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Wed Mar 18 20:54:33 2020 +0000

description:
gramps5: fix startup

A path included ${DESTDIR} which made the program not start up correctly.

Bump PKGREVISION.

diffstat:

 databases/gramps5/Makefile |  8 ++++++--
 1 files changed, 6 insertions(+), 2 deletions(-)

diffs (24 lines):

diff -r eb3e54a18b09 -r b0d7618a4691 databases/gramps5/Makefile
--- a/databases/gramps5/Makefile        Wed Mar 18 20:11:19 2020 +0000
+++ b/databases/gramps5/Makefile        Wed Mar 18 20:54:33 2020 +0000
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.3 2020/02/18 08:27:48 wiz Exp $
+# $NetBSD: Makefile,v 1.4 2020/03/18 20:54:33 wiz Exp $
 
 DISTNAME=              gramps-5.1.2
-PKGREVISION=           1
+PKGREVISION=           2
 CATEGORIES=            databases
 MASTER_SITES=          ${MASTER_SITE_SOURCEFORGE:=gramps/}
 
@@ -33,6 +33,10 @@
 DEPENDS+=      librsvg-[0-9]*:../../graphics/librsvg
 DEPENDS+=      ${PYPKGPREFIX}-gobject3-[0-9]*:../../devel/py-gobject3
 
+# setup.py target includes ${DESTDIR}, which is wrong
+post-install:
+       ${ECHO} -n ${PREFIX}/share > ${DESTDIR}${PREFIX}/${PYSITELIB}/gramps/gen/utils/resource-path
+
 .include "options.mk"
 
 .include "../../databases/py-bsddb3/buildlink3.mk"



Home | Main Index | Thread Index | Old Index