Date: Fri, 27 Aug 2010 23:00:20 +0300 (EEST) From: Andriy Gapon <avg@icyb.net.ua> To: FreeBSD-gnats-submit@FreeBSD.org Cc: jesse@cs.uni-magdeburg.de Subject: ports/150051: [PATCH] devel/tmake: honor CXX in linking mode Message-ID: <201008272000.o7RK0K68057306@trant.local.> Resent-Message-ID: <201008272010.o7RKA5Os043057@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 150051 >Category: ports >Synopsis: [PATCH] devel/tmake: honor CXX in linking mode >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 Aug 27 20:10:05 UTC 2010 >Closed-Date: >Last-Modified: >Originator: Andriy Gapon >Release: FreeBSD 9.0-CURRENT amd64 >Organization: >Environment: System: FreeBSD 9.0-CURRENT amd64 >Description: tmake build system is patched to honor CXX for C++ compilation, but for linking g++ is hardcoded. This patch makes tmake build system use CXX for linking as well. Port maintainer (jesse@cs.uni-magdeburg.de) is cc'd. Please note that maintainer's email seems to bounce. Generated with FreeBSD Port Tools 0.99 >How-To-Repeat: >Fix: --- tmake-1.7_5.patch begins here --- diff -ruN --exclude=CVS /usr/ports/devel/tmake.orig/files/patch-aa /usr/ports/devel/tmake/files/patch-aa --- /usr/ports/devel/tmake.orig/files/patch-aa 2001-01-16 15:26:42.000000000 +0200 +++ /usr/ports/devel/tmake/files/patch-aa 2010-08-27 22:54:35.313405979 +0300 @@ -1,6 +1,6 @@ ---- lib/unix/generic.t Mon Dec 4 03:26:06 2000 -+++ lib/unix/generic.t.new Mon Jan 15 11:42:17 2001 -@@ -205,10 +205,10 @@ +--- lib/unix/generic.t.orig 2000-12-04 04:26:06.000000000 +0200 ++++ lib/unix/generic.t 2010-08-27 22:54:27.797820407 +0300 +@@ -205,13 +205,13 @@ ####### Compiler, tools and options @@ -14,4 +14,8 @@ +CXXFLAGS+= #$ Expand("TMAKE_CXXFLAGS"); ExpandGlue("DEFINES","-D"," -D",""); INCPATH = #$ ExpandPath("INCPATH","-I"," -I",""); #$ Config("staticlib") && DisableOutput(); - LINK = #$ Expand("TMAKE_LINK"); +-LINK = #$ Expand("TMAKE_LINK"); ++LINK = $(CXX) + LFLAGS = #$ Expand("TMAKE_LFLAGS"); + LIBS = $(SUBLIBS) #$ Expand("TMAKE_LIBDIR_FLAGS"); Expand("TMAKE_LIBS"); + #$ Config("staticlib") && EnableOutput(); --- tmake-1.7_5.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?201008272000.o7RK0K68057306>