I noticed in 5.6 and -current that comms/chirp would fail to start due
to missing 'gtk'. The patch below adds 'x11/py-gtk2' to RUN_DEPENDS.

This is the error you get before applying the patch:

$ chirpw
CHIRP 0.4.0 on OpenBSD laptop1.lan
Traceback (most recent call last):
  File "/usr/local/bin/chirpw", li
    import gtk
ImportError: No module named gtk



$ cvs diff comms/chirp/Makefile
Index: comms/chirp/Makefile
===================================================================
RCS file: /cvs/ports/comms/chirp/Makefile,v
retrieving revision 1.4
diff -u -p -r1.4 Makefile
--- comms/chirp/Makefile        12 Jun 2014 21:54:30 -0000      1.4
+++ comms/chirp/Makefile        11 Nov 2014 04:29:14 -0000
@@ -19,7 +19,8 @@ COMMON_DEPS=  devel/py-serial \
                textproc/libxml,-python
 BUILD_DEPENDS= ${COMMON_DEPS}
 RUN_DEPENDS=   ${COMMON_DEPS} \
-               devel/desktop-file-utils
+               devel/desktop-file-utils \
+               x11/py-gtk2

 NO_TEST=       Yes

Reply via email to