Date: Wed, 23 Oct 2002 13:32:44 +0200 (CEST) From: Volker Stolz <stolz@i2.informatik.rwth-aachen.de> To: FreeBSD-gnats-submit@FreeBSD.org Cc: gslin@ccca.nctu.edu.tw Subject: ports/44404: [patch] build net/ntalk with g++2.95, chase master site Message-ID: <200210231132.g9NBWiPO027249@bsd.localdomain>
next in thread | raw e-mail | index | archive | help
>Number: 44404 >Category: ports >Synopsis: [patch] build net/ntalk with g++2.95, chase master site >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Wed Oct 23 04:40:01 PDT 2002 >Closed-Date: >Last-Modified: >Originator: Volker Stolz >Release: FreeBSD 4.6-STABLE i386 >Organization: Lehrstuhl für Informatik II >Environment: System: FreeBSD bsd.localdomain 4.6-STABLE FreeBSD 4.6-STABLE #3: Mon Oct 7 16:20:29 CEST 2002 root@bsd.localdomain:/opt/src/sys/compile/BSD i386 >Description: - Updated mastersite & WWW - Patch to make Makefile respect CFLAGS - Force usage of gcc 2.95 because the CPP-code won't compile with 3.1 >How-To-Repeat: >Fix: Added file: files/patch-Makefile --- Makefile.orig Wed Oct 23 12:22:46 2002 +++ Makefile Wed Oct 23 13:25:15 2002 @@ -8,12 +8,14 @@ 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} + +USE_GCC= 2.95 post-patch: @${REINPLACE_CMD} -e "s,-lpthread,${PTHREAD_LIBS},g" ${WRKSRC}/Makefile --- pkg-descr.orig Wed Oct 23 13:27:45 2002 +++ pkg-descr Wed Oct 23 13:27:51 2002 @@ -2,4 +2,4 @@ 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/ # This is a shell archive. Save it in a file, remove anything before # this line, and then unpack it by entering "sh file". Note, it may # create directories; files and directories will be owned by you and # have default permissions. # # This archive contains: # # files # files/patch-Makefile # echo c - files mkdir -p files > /dev/null 2>&1 echo x - files/patch-Makefile sed 's/^X//' >files/patch-Makefile << 'END-of-files/patch-Makefile' X--- Makefile.orig Wed Oct 23 12:23:26 2002 X+++ Makefile Wed Oct 23 12:23:58 2002 X@@ -4,8 +4,8 @@ X ## uncomment the following lines if you are X ## using GNU Linux X X-LDFLAGS= -lncurses -pthread X-CFLAGS=-Wall -O2 -DLINUX=1 X+LDFLAGS+= -lncurses -pthread X+CFLAGS+=-Wall -O2 -DLINUX=1 X X ##================================================== X ##================================================== X@@ -20,7 +20,7 @@ X ##================================================== X X ntalk: ntalk.cpp X- g++ -g -o ntalk ntalk.cpp $(LDFLAGS) $(CFLAGS) X+ $(CXX) -g -o ntalk ntalk.cpp $(LDFLAGS) $(CFLAGS) X X clean: X rm -f ntalk END-of-files/patch-Makefile exit >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200210231132.g9NBWiPO027249>