ports/190295: [patch] deskutils/recoll: problems with depends & pkg creation
Lawrence The Dreamer Chen
beastie at tardisi.com
Tue May 27 01:30:00 UTC 2014
>Number: 190295
>Category: ports
>Synopsis: [patch] deskutils/recoll: problems with depends & pkg creation
>Confidential: no
>Severity: serious
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Tue May 27 01:30:00 UTC 2014
>Closed-Date:
>Last-Modified:
>Originator: Lawrence "The Dreamer" Chen
>Release: FreeBSD 9.2-RELEASE-p6 amd64
>Organization:
>Environment:
System: FreeBSD zen.lhaven.homeip.net 9.2-RELEASE-p6 FreeBSD 9.2-RELEASE-p6 #0: Tue May 13 08:21:53 UTC 2014 root at amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC amd64
>Description:
Been running recoll on my system for some time, eventually on May 18th,
I got around to trying to update it from ports.
First problem was that it wanted tor build and install some of its
dependencies, only to fail because the dependencies were already installed.
Then it had trouble with package creation.
>How-To-Repeat:
>Fix:
First, I adjusted two the _DEPENDS lines to reference files that are part of the
port, so it won't try to build/install them again.
Next, I removed the *.pyc lines from pkg-plist. Since these files are
removed from STAGEDIR, stands to reason that they shouldn't be in pkg-plist
anymore.
Didn't notice until now that the port got marked BROKEN on May 24th, for the second
problem....
--- patch begins here ---
--- Makefile.orig 2014-05-11 00:11:40.665236000 -0500
+++ Makefile 2014-05-18 07:54:07.234894000 -0500
@@ -40,11 +40,11 @@
ASPELL_LIB_DEPENDS= libaspell.so:${PORTSDIR}/textproc/aspell
ASPELL_CONFIGURE_WITH= aspell
-CHM_RUN_DEPENDS= pychm:${PORTSDIR}/textproc/pychm
+CHM_RUN_DEPENDS= ${PYTHON_SITELIBDIR}/chm/chm.py:${PORTSDIR}/textproc/pychm
DJVU_RUN_DEPENDS= djvutxt:${PORTSDIR}/graphics/djvulibre
-KONQUEROR_RUN_DEPENDS= kwebkitpart:${PORTSDIR}/www/kwebkitpart
+KONQUEROR_RUN_DEPENDS= ${KDE4_PREFIX}/lib/kde4/kwebkitpart.so:${PORTSDIR}/www/kwebkitpart
LATEX_RUN_DEPENDS= detex:${PORTSDIR}/print/detex \
dvips:${PORTSDIR}/print/dvips
--- pkg-plist.orig 2013-11-06 04:47:22.000000000 -0600
+++ pkg-plist 2014-05-18 08:31:00.480894000 -0500
@@ -2,9 +2,7 @@
bin/recollindex
bin/recollq
%%PYTHON%%%%PYTHON_SITELIBDIR%%/recoll/__init__.py
-%%PYTHON%%%%PYTHON_SITELIBDIR%%/recoll/__init__.pyc
%%PYTHON%%%%PYTHON_SITELIBDIR%%/recoll/rclconfig.py
-%%PYTHON%%%%PYTHON_SITELIBDIR%%/recoll/rclconfig.pyc
%%PYTHON%%%%PYTHON_SITELIBDIR%%/recoll/rclextract.so
%%PYTHON%%%%PYTHON_SITELIBDIR%%/recoll/recoll.so
lib/recoll/librecoll.so.%%VERSION%%
--- patch ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list