ports/71840: [PATCH] comms/plp: add USE_GCC=2.95 and unbreak

Yen-Ming Lee leeym at FreeBSD.org
Sat Sep 18 04:20:30 UTC 2004


>Number:         71840
>Category:       ports
>Synopsis:       [PATCH] comms/plp: add USE_GCC=2.95 and unbreak
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sat Sep 18 04:20:16 GMT 2004
>Closed-Date:
>Last-Modified:
>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 at 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:
>Unformatted:



More information about the freebsd-ports-bugs mailing list