scrollkeeper-rebuilddb is executed too early. Put it at the end of PLIST to

make sure all necessary files are installed.

Fixes a core dump:

$ sudo pkg_add /usr/ports/packages/i386/all/scrollkeeper-0.3.14p1.tgz
Segmentation fault (core dumped)                                       | 19%
scrollkeeper-0.3.14p1: complete

ok espie@
This commit is contained in:
bernd 2006-02-03 16:00:09 +00:00
parent a7df6a3a98
commit 0445ff2d99
2 changed files with 6 additions and 6 deletions

View File

@ -1,10 +1,10 @@
# $OpenBSD: Makefile,v 1.18 2006/01/14 19:38:02 steven Exp $
# $OpenBSD: Makefile,v 1.19 2006/02/03 16:00:09 bernd Exp $
COMMENT= "Scrollkeeper Open Documentation Cataloging System"
VERSION= 0.3.14
DISTNAME= scrollkeeper-${VERSION}
PKGNAME= ${DISTNAME}p1
PKGNAME= ${DISTNAME}p2
SHARED_LIBS= scrollkeeper 1.0
CATEGORIES= textproc

View File

@ -1,4 +1,4 @@
@comment $OpenBSD: PLIST,v 1.13 2005/12/30 08:14:33 steven Exp $
@comment $OpenBSD: PLIST,v 1.14 2006/02/03 16:00:09 bernd Exp $
%%SHARED%%
bin/scrollkeeper-config
bin/scrollkeeper-extract
@ -36,9 +36,6 @@ share/examples/scrollkeeper/
share/examples/scrollkeeper/scrollkeeper.conf
@sample ${SYSCONFDIR}/scrollkeeper.conf
share/libxml2/scrollkeeper.spec
@exec %D/share/libxml2/rebuild
@exec %D/bin/scrollkeeper-rebuilddb -q
@unexec %D/share/libxml2/rebuild
share/locale/am/
share/locale/am/LC_MESSAGES/
share/locale/am/LC_MESSAGES/scrollkeeper.mo
@ -160,5 +157,8 @@ share/xml/scrollkeeper/
share/xml/scrollkeeper/dtds/
share/xml/scrollkeeper/dtds/scrollkeeper-cl.dtd
share/xml/scrollkeeper/dtds/scrollkeeper-omf.dtd
@exec %D/share/libxml2/rebuild
@exec %D/bin/scrollkeeper-rebuilddb -q
@unexec %D/share/libxml2/rebuild
@extraunexec rm -rf /var/db/scrollkeeper/
@extraunexec rm -f /var/log/scrollkeeper.log*