diff options
author | Makoto Matsushita <matusita@FreeBSD.org> | 2005-12-26 07:02:11 +0000 |
---|---|---|
committer | Makoto Matsushita <matusita@FreeBSD.org> | 2005-12-26 07:02:11 +0000 |
commit | 14eb650bffac22adb8eb99c27ad733a80801a7f3 (patch) | |
tree | bb61c71b744e1809a71af0ed2aa669f038462a28 /irc/keitairc | |
parent | 04a43e666daf9bd837f474faacbd643197ebd219 (diff) | |
download | ports-14eb650bffac22adb8eb99c27ad733a80801a7f3.tar.gz ports-14eb650bffac22adb8eb99c27ad733a80801a7f3.zip |
Notes
Diffstat (limited to 'irc/keitairc')
-rw-r--r-- | irc/keitairc/Makefile | 3 | ||||
-rw-r--r-- | irc/keitairc/files/patch-keitairc | 20 |
2 files changed, 22 insertions, 1 deletions
diff --git a/irc/keitairc/Makefile b/irc/keitairc/Makefile index 962bc897ca94..4892d46f45e0 100644 --- a/irc/keitairc/Makefile +++ b/irc/keitairc/Makefile @@ -7,6 +7,7 @@ PORTNAME= keitairc PORTVERSION= 1.29 +PORTREVISION= 1 CATEGORIES= irc MASTER_SITES= http://keitairc.sourceforge.jp/ DISTNAME= ${PORTNAME} @@ -30,7 +31,7 @@ EXTRACT_CMD= ${CP} EXTRACT_BEFORE_ARGS= -p EXTRACT_AFTER_ARGS= ${WRKDIR} -do-patch: +post-patch: ${REINPLACE_CMD} -e "s,^#!/usr/bin/perl$$,#!${PERL}," ${WRKSRC}/keitairc do-install: diff --git a/irc/keitairc/files/patch-keitairc b/irc/keitairc/files/patch-keitairc new file mode 100644 index 000000000000..e3d869cf522c --- /dev/null +++ b/irc/keitairc/files/patch-keitairc @@ -0,0 +1,20 @@ +--- keitairc.dist Mon Dec 26 14:59:24 2005 ++++ keitairc Mon Dec 26 15:02:49 2005 +@@ -70,7 +70,8 @@ + + # irc component + POE::Component::IRC->new('keitairc'); +-POE::Session->new( ++POE::Session->create( ++ inline_states => { + _start => \&on_irc_start, + irc_join => \&on_irc_join, + irc_part => \&on_irc_part, +@@ -79,6 +80,7 @@ + irc_topic => \&on_irc_topic, + irc_332 => \&on_irc_topicraw, + irc_ctcp_action => \&on_irc_ctcp_action, ++ } + ); + + # web server component |