ports/65111: [PATCH] net/rdesktop: [Fix CC]

michael johnson ahze at ahze.net
Sat Apr 3 06:10:18 UTC 2004


>Number:         65111
>Category:       ports
>Synopsis:       [PATCH] net/rdesktop: [Fix CC]
>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:   Fri Apr 02 22:10:17 PST 2004
>Closed-Date:
>Last-Modified:
>Originator:     michael johnson
>Release:        FreeBSD 5.2-CURRENT i386
>Organization:
>Environment:
System: FreeBSD gentoo.ahze.net 5.2-CURRENT FreeBSD 5.2-CURRENT #37: Sat Mar 27 18:30:44 EST 2004
>Description:
- Fix CC
CC works for CC=gcc or CC=cc but it is not ccache or distcc friendly.

Port maintainer (matt at fruitsalad.org) is cc'd.

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

--- rdesktop-1.3.1_1.patch begins here ---
Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/net/rdesktop/Makefile,v
retrieving revision 1.25
diff -u -r1.25 Makefile
--- Makefile	4 Feb 2004 05:08:20 -0000	1.25
+++ Makefile	3 Apr 2004 05:55:21 -0000
@@ -17,11 +17,16 @@
 
 USE_XLIB=	yes
 USE_GMAKE=	yes
+USE_REINPLACE=	yes
 USE_OPENSSL=	yes
 HAS_CONFIGURE=	yes
 CONFIGURE_ARGS=	--prefix=${PREFIX}
 DOCS=		doc/AUTHORS doc/TODO doc/*.txt
 MAN1=		rdesktop.1
+
+post-patch:
+	@${REINPLACE_CMD} -e 's|$$cc|${CC}|' \
+		${WRKSRC}/configure
 
 do-install:
 	${INSTALL_PROGRAM} ${WRKSRC}/rdesktop ${PREFIX}/bin
--- rdesktop-1.3.1_1.patch ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list