ports/158731: sysutils/byobu wants module "snack"
Kubota Kazutoshi
kazu at f-tools.jp
Wed Jan 23 04:50:01 UTC 2013
The following reply was made to PR ports/158731; it has been noted by GNATS.
From: Kubota Kazutoshi <kazu at f-tools.jp>
To: bug-followup at FreeBSD.org, tps at vr-web.de
Cc:
Subject: Re: ports/158731: sysutils/byobu wants module "snack"
Date: Wed, 23 Jan 2013 13:43:46 +0900 (JST)
Dear maintainer,
sysutils/byobu needs devel/newt to run configuration program
byobu-config(1) or just press F9 key in byobu session.
The following traceback is output by byobu-config.
% byobu-config
Traceback (most recent call last):
File "/usr/local/bin/byobu-config", line 25, in <module>
import sys, os, os.path, time, string, commands, gettext, glob, snack
ImportError: No module named snack
The module "snack" is installed with devel/newt which is build
WITH_PYTHON option and that file is here:
${PYTHON_SITELIBDIR}/snack.py
So, RUN_DEPENDS should modify like:
--- Makefile.orig 2013-01-23 13:20:50.000000000 +0900
+++ Makefile 2013-01-23 13:24:14.000000000 +0900
@@ -16,7 +16,8 @@
COMMENT= Profile and configuration utilities for GNU Screen
RUN_DEPENDS= ${LOCALBASE}/bin/bash:${PORTSDIR}/shells/bash \
- ${LOCALBASE}/bin/screen:${PORTSDIR}/sysutils/screen
+ ${LOCALBASE}/bin/screen:${PORTSDIR}/sysutils/screen \
+ ${PYTHON_SITELIBDIR}/snack.py:${PORTSDIR}/devel/newt
GNU_CONFIGURE= yes
USE_PYTHON= yes
However this patch doesn't work, because devel/newt is not built with
enabling WITH_PYTHON.
I don't know the correct way, but I hope to solve this problem.
Best regards,
---
Kubota Kazutoshi ($B7&ED0l<w(B / $B$/$\$?$+$:$H$7(B)
More information about the freebsd-ports-bugs
mailing list