From leeym@utopia.leeym.com  Sat Sep 18 04:19:36 2004
Return-Path: <leeym@utopia.leeym.com>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 0FE3916A4CE
	for <FreeBSD-gnats-submit@freebsd.org>; Sat, 18 Sep 2004 04:19:36 +0000 (GMT)
Received: from utopia.leeym.com (utopia.leeym.com [211.21.137.52])
	by mx1.FreeBSD.org (Postfix) with ESMTP id BC01D43D1D
	for <FreeBSD-gnats-submit@freebsd.org>; Sat, 18 Sep 2004 04:19:35 +0000 (GMT)
	(envelope-from leeym@utopia.leeym.com)
Received: from localhost (localhost [127.0.0.1])
	by utopia.leeym.com (Postfix) with ESMTP id A42C43E9CE8;
	Sat, 18 Sep 2004 12:19:34 +0800 (CST)
Received: from utopia.leeym.com ([127.0.0.1])
 by localhost (utopia.leeym.com [127.0.0.1]) (amavisd-new, port 10024)
 with ESMTP id 87661-02; Sat, 18 Sep 2004 12:19:27 +0800 (CST)
Received: by utopia.leeym.com (Postfix, from userid 1000)
	id 55F433E9CD4; Sat, 18 Sep 2004 12:19:26 +0800 (CST)
Message-Id: <20040918041926.55F433E9CD4@utopia.leeym.com>
Date: Sat, 18 Sep 2004 12:19:26 +0800 (CST)
From: Yen-Ming Lee <leeym@FreeBSD.org>
To: FreeBSD-gnats-submit@freebsd.org
Cc: maurice@castro.aus.net
Subject: [PATCH] comms/plp: add USE_GCC=2.95 and unbreak
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         71840
>Category:       ports
>Synopsis:       [PATCH] comms/plp: add USE_GCC=2.95 and unbreak
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    leeym
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sat Sep 18 04:20:16 GMT 2004
>Closed-Date:    Tue Oct 12 18:14:59 GMT 2004
>Last-Modified:  Tue Oct 12 18:14:59 GMT 2004
>Originator:     Yen-Ming Lee
>Release:        FreeBSD 5.3-BETA4 i386
>Organization:
FreeBSD Taiwan
>Environment:
System: FreeBSD utopia.leeym.com 5.3-BETA4 FreeBSD 5.3-BETA4 #7: Mon Sep 13 05:12:30 CST 2004
>Description:

- add USE_GCC=2.95 and unbreak this port
- replace pkg-plist with PLIST_FILES

Removed file(s):
- pkg-plist

Port maintainer (maurice@castro.aus.net) is cc'd.

Generated with FreeBSD Port Tools 0.63
>How-To-Repeat:
>Fix:

--- plp-1.8_1.patch begins here ---
Index: Makefile
===================================================================
RCS file: /home/pcvs/ports/comms/plp/Makefile,v
retrieving revision 1.12
diff -u -u -r1.12 Makefile
--- Makefile	4 Feb 2004 05:18:58 -0000	1.12
+++ Makefile	18 Sep 2004 04:18:21 -0000
@@ -19,12 +19,9 @@
 
 USE_GMAKE=	yes
 USE_REINPLACE=	yes
+USE_GCC=	2.95
 
-.include <bsd.port.pre.mk>
-
-.if ${OSVERSION} >= 500113
-BROKEN=         "Does not compile (bad C++ code)"
-.endif
+PLIST_FILES=	bin/ncp bin/rfsv
 
 pre-patch:
 .for files in packet.cc socketchan.cc
@@ -32,7 +29,6 @@
 .endfor
 
 do-install:
-	${INSTALL_PROGRAM} ${WRKSRC}/bin/ncp ${PREFIX}/bin
-	${INSTALL_PROGRAM} ${WRKSRC}/bin/rfsv ${PREFIX}/bin
+	cd ${WRKSRC} && ${INSTALL_PROGRAM} ${PLIST_FILES} ${PREFIX}/bin
 
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
Index: pkg-plist
===================================================================
RCS file: pkg-plist
diff -N pkg-plist
--- pkg-plist	29 Jan 2000 07:53:10 -0000	1.1.1.1
+++ /dev/null	1 Jan 1970 00:00:00 -0000
@@ -1,2 +0,0 @@
-bin/ncp
-bin/rfsv
--- plp-1.8_1.patch ends here ---

>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->feedback 
State-Changed-By: leeym 
State-Changed-When: Sat Sep 18 05:13:40 GMT 2004 
State-Changed-Why:  
The maintainer is Cc-ed. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=71840 
Responsible-Changed-From-To: freebsd-ports-bugs->leeym 
Responsible-Changed-By: leeym 
Responsible-Changed-When: Sat Sep 18 05:13:43 GMT 2004 
Responsible-Changed-Why:  
I will take care of this PR. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=71840 
State-Changed-From-To: feedback->closed 
State-Changed-By: leeym 
State-Changed-When: Tue Oct 12 18:14:57 GMT 2004 
State-Changed-Why:  
Committed, thanks. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=71840 
>Unformatted:
