Index: Makefile =================================================================== RCS file: /home/pcvs/ports/net-im/jabber-pyicq/Makefile,v retrieving revision 1.17 diff -u -r1.17 Makefile --- Makefile 1 Oct 2006 11:56:59 -0000 1.17 +++ Makefile 14 Jan 2007 21:54:53 -0000 @@ -6,6 +6,7 @@ PORTNAME= pyicq PORTVERSION= 0.8 +PORTREVISION= 1 CATEGORIES= net-im MASTER_SITES= http://www.blathersource.org/download.php/pyicq-t/ PKGNAMEPREFIX= jabber- @@ -62,6 +63,7 @@ ${WRKSRC}/src/main.py @${REINPLACE_CMD} -i "" 's|^#!.*$$|#!${LOCAL_PYTHON}|' \ ${WRKSRC}/PyICQt.py + @${RM} -f ${WRKSRC}/src/main.py.orig do-install: ${MKDIR} ${INST_DIR}/src ${INST_DIR}/data Index: files/patch-src_main.py =================================================================== RCS file: files/patch-src_main.py diff -N files/patch-src_main.py --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ files/patch-src_main.py 14 Jan 2007 21:54:53 -0000 @@ -0,0 +1,14 @@ +--- src/main.py.orig Sat Sep 30 16:44:21 2006 ++++ src/main.py Sun Jan 14 19:52:36 2007 +@@ -89,7 +89,10 @@ + import signal + signal.signal(signal.SIGHUP, reloadConfig) + # Load scripts for PID and daemonizing +- from twisted.scripts import twistd ++ try: ++ from twisted.scripts import _twistd_unix as twistd ++ except: ++ from twisted.scripts import twistd + + selectWarning = "Unable to install any good reactors (kqueue, cf, epoll, poll).\nWe fell back to using select. You may have scalability problems.\nThis reactor will not support more than 1024 connections +at a time. You may silence this message by choosing 'select' or 'default' as your reactor in the transport config." + if config.reactor and len(config.reactor) > 0: