Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 3 Apr 2004 01:04:10 -0500 (EST)
From:      michael johnson <ahze@ahze.net>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        matt@fruitsalad.org
Subject:   ports/65111: [PATCH] net/rdesktop: [Fix CC]
Message-ID:  <200404030604.i3364AUL004940@gentoo.ahze.net>
Resent-Message-ID: <200404030610.i336AHgD027297@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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@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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200404030604.i3364AUL004940>