ports/150051: [PATCH] devel/tmake: honor CXX in linking mode

Andriy Gapon avg at icyb.net.ua
Fri Aug 27 20:10:08 UTC 2010


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



More information about the freebsd-ports-bugs mailing list