diff options
author | Christian Weisgerber <naddy@FreeBSD.org> | 2002-10-23 21:00:22 +0000 |
---|---|---|
committer | Christian Weisgerber <naddy@FreeBSD.org> | 2002-10-23 21:00:22 +0000 |
commit | dfa31f08f4d13aff3a6d4ad16d7fec549b6156db (patch) | |
tree | 559b1f58ba2e7eaf3075b51de881f78c72c786af /net | |
parent | Update to 4230 (diff) |
* Update master site and home page.
* Honor CXX/CXXFLAGS.
* Fix C++ for GCC3.
Partly from discussion with and
PR: 44404
Submitted by: Volker Stolz <stolz@i2.informatik.rwth-aachen.de>
Approved by: maintainer
Notes
Notes:
svn path=/head/; revision=68682
Diffstat (limited to 'net')
-rw-r--r-- | net/ntalk/Makefile | 10 | ||||
-rw-r--r-- | net/ntalk/files/patch-ntalk.cpp | 23 | ||||
-rw-r--r-- | net/ntalk/pkg-descr | 2 |
3 files changed, 28 insertions, 7 deletions
diff --git a/net/ntalk/Makefile b/net/ntalk/Makefile index b315ac6e0d62..8eb0a4ce92e2 100644 --- a/net/ntalk/Makefile +++ b/net/ntalk/Makefile @@ -8,15 +8,13 @@ PORTNAME= ntalk PORTVERSION= 0.6.3 CATEGORIES= net -MASTER_SITES= http://network.terramail.pl/files/ +MASTER_SITES= http://network.terramail.pl/ MAINTAINER= gslin@ccca.nctu.edu.tw -USE_REINPLACE= yes -ALL_TARGET= ${PORTNAME} - -post-patch: - @${REINPLACE_CMD} -e "s,-lpthread,${PTHREAD_LIBS},g" ${WRKSRC}/Makefile +do-build: + cd ${WRKSRC}; \ + ${CXX} ${CXXFLAGS} -o ntalk ntalk.cpp -lncurses ${PTHREAD_LIBS} do-install: @${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin diff --git a/net/ntalk/files/patch-ntalk.cpp b/net/ntalk/files/patch-ntalk.cpp new file mode 100644 index 000000000000..d9d3324687bd --- /dev/null +++ b/net/ntalk/files/patch-ntalk.cpp @@ -0,0 +1,23 @@ + +$FreeBSD$ + +--- ntalk.cpp.orig Wed Oct 23 17:27:37 2002 ++++ ntalk.cpp Wed Oct 23 17:31:54 2002 +@@ -44,6 +44,8 @@ + #define WHOIS "10" + #define SRVMESSAGE "11" + ++using namespace std; ++ + + struct color { + int you; +@@ -341,7 +343,7 @@ + a = count(msg.begin(), msg.end(), ';'); + for(x = 0; x < a; x++) + { +- msg.replace(msg.find(';'), 1, '\n'); ++ msg.replace(msg.find(';'), 1, "\n"); + } + + mvwprintw(user_w, 0, 0, "%s", msg.c_str()); diff --git a/net/ntalk/pkg-descr b/net/ntalk/pkg-descr index ffce709d6788..3cdb1532732c 100644 --- a/net/ntalk/pkg-descr +++ b/net/ntalk/pkg-descr @@ -2,4 +2,4 @@ ntalk is a chat console app written with ncurses. It's designed to work in all kinds of networks (LAN/WAN) and to be much more friendly and functional than Unix talk. -WWW: http://kab.w.interia.pl/ +WWW: http://network.terramail.pl/ |