Date: Mon, 5 Sep 2005 09:08:46 GMT From: skv@FreeBSD.org To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/85735: Force imake respect CC/CXX Message-ID: <200509050908.j8598k7C066861@freefall.freebsd.org> Resent-Message-ID: <200509050910.j859ABgb066938@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 85735 >Category: ports >Synopsis: Force imake respect CC/CXX >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Mon Sep 05 09:10:11 GMT 2005 >Closed-Date: >Last-Modified: >Originator: Sergey Skvortsov >Release: FreeBSD 4.11-STABLE i386 >Organization: <Organization of PR author (multiple lines)> >Environment: <Relevant environment information (multiple lines)> >Description: Force imake respect CC/CXX (accordingly to section 17.14 from "FreeBSD Porter's Handbook"). >How-To-Repeat: <Code/input/activities to reproduce the problem (multiple lines)> >Fix: Index: Makefile =================================================================== RCS file: /home/ncvs/ports/devel/imake-6/Makefile,v retrieving revision 1.7 diff -u -r1.7 Makefile --- Makefile 17 Mar 2005 23:22:07 -0000 1.7 +++ Makefile 5 Sep 2005 09:02:40 -0000 @@ -50,7 +50,9 @@ INSTALL_TARGET= install install.man pre-configure: - @${REINPLACE_CMD} -e 's|%%PTHREAD_CFLAGS%%|${PTHREAD_CFLAGS}|g ; \ + ${REINPLACE_CMD} -E 's|%%PTHREAD_CFLAGS%%|${PTHREAD_CFLAGS}|g ; \ + s|^(#define CcCmd).*|\1 ${CC}|; \ + s|^(#define CplusplusCmd).*|\1 ${CXX}|; \ s|%%PTHREAD_LIBS%%|${PTHREAD_LIBS}|g' \ ${WRKSRC}/cf/FreeBSD.cf >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200509050908.j8598k7C066861>