From owner-freebsd-ports-bugs@FreeBSD.ORG Tue Jun 21 11:40:14 2011 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 644C71065673 for ; Tue, 21 Jun 2011 11:40:14 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 3E65D8FC19 for ; Tue, 21 Jun 2011 11:40:14 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id p5LBeEHt005182 for ; Tue, 21 Jun 2011 11:40:14 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id p5LBeEVZ005181; Tue, 21 Jun 2011 11:40:14 GMT (envelope-from gnats) Resent-Date: Tue, 21 Jun 2011 11:40:14 GMT Resent-Message-Id: <201106211140.p5LBeEVZ005181@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Guido Falsi Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 906DA106564A for ; Tue, 21 Jun 2011 11:34:51 +0000 (UTC) (envelope-from mad@madpilot.net) Received: from megatron.madpilot.net (megatron.madpilot.net [88.149.173.206]) by mx1.freebsd.org (Postfix) with ESMTP id 336C68FC08 for ; Tue, 21 Jun 2011 11:34:51 +0000 (UTC) Received: from megatron.madpilot.net (localhost [127.0.0.1]) by megatron.madpilot.net (Postfix) with ESMTP id 504281DE9 for ; Tue, 21 Jun 2011 13:34:50 +0200 (CEST) Received: from megatron.madpilot.net ([127.0.0.1]) by megatron.madpilot.net (megatron.madpilot.net [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id u-nsu4ewc3ds for ; Tue, 21 Jun 2011 13:34:47 +0200 (CEST) Received: by megatron.madpilot.net (Postfix, from userid 1000) id C7F941DDE; Tue, 21 Jun 2011 13:34:47 +0200 (CEST) Message-Id: <20110621113447.C7F941DDE@megatron.madpilot.net> Date: Tue, 21 Jun 2011 13:34:47 +0200 (CEST) From: Guido Falsi To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: Subject: ports/158105: [maintainer-update] games/traindirector: Respect CXX (fix with clang) X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Guido Falsi List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 21 Jun 2011 11:40:14 -0000 >Number: 158105 >Category: ports >Synopsis: [maintainer-update] games/traindirector: Respect CXX (fix with clang) >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: maintainer-update >Submitter-Id: current-users >Arrival-Date: Tue Jun 21 11:40:13 UTC 2011 >Closed-Date: >Last-Modified: >Originator: Guido Falsi >Release: FreeBSD 8.2-STABLE amd64 >Organization: none >Environment: System: FreeBSD megatron.madpilot.net 8.2-STABLE FreeBSD 8.2-STABLE #1: Mon Jun 6 20:10:31 CEST 2011 root@megatron.madpilot.net:/usr/obj/usr/src/sys/MEGATRON amd64 >Description: Fix an hardcoded CXX= in the makefile. This was uncovered by the clang exp run. While there remove MD5, add LICENSE and make portlint happier. >How-To-Repeat: >Fix: diff -ruN traindirector.old/Makefile traindirector/Makefile --- traindirector.old/Makefile 2011-06-21 13:30:19.814763773 +0200 +++ traindirector/Makefile 2011-06-21 13:30:31.324708981 +0200 @@ -15,6 +15,8 @@ MAINTAINER= mad@madpilot.net COMMENT= Train controller simulation +LICENSE= GPLv2 + NO_WRKSUBDIR= yes MAKE_JOBS_SAFE= yes @@ -27,7 +29,7 @@ WX_UNICODE= yes DESKTOP_ENTRIES="Train Director" "${COMMENT}" "" "traindir3" \ - "Game;Simulation;StrategyGame;" false + "Game;Simulation;StrategyGame;" ${FALSE} PLIST_FILES= bin/traindir3 diff -ruN traindirector.old/distinfo traindirector/distinfo --- traindirector.old/distinfo 2011-06-21 13:30:19.823762357 +0200 +++ traindirector/distinfo 2011-06-21 13:30:31.325707986 +0200 @@ -1,3 +1,2 @@ -MD5 (tdir36src.zip) = a121ad6551da09de294dc4319d1a97a5 SHA256 (tdir36src.zip) = 93c0a09c848110cf4a5b108e81a1fd44ffe61f334f12280b7b7bb4a96c3676d7 SIZE (tdir36src.zip) = 231097 diff -ruN traindirector.old/files/patch-Makefile.fc9 traindirector/files/patch-Makefile.fc9 --- traindirector.old/files/patch-Makefile.fc9 2011-06-21 13:30:19.813763372 +0200 +++ traindirector/files/patch-Makefile.fc9 2011-06-21 13:30:31.324708981 +0200 @@ -1,5 +1,5 @@ --- Makefile.fc9.orig 2008-08-31 17:53:10.000000000 +0200 -+++ Makefile.fc9 2009-06-16 10:10:25.855027068 +0200 ++++ Makefile.fc9 2011-06-21 11:52:40.309974439 +0200 @@ -7,7 +7,7 @@ @@ -9,9 +9,12 @@ exec_prefix = ${prefix} INSTALL = /usr/bin/install -c EXEEXT = -@@ -20,16 +20,16 @@ +@@ -18,18 +18,18 @@ + top_srcdir = + top_builddir = LDFLAGS_GUI = - CXX = g++ +-CXX = g++ ++CXX ?= g++ #CXXFLAGS = -g -O0 -pthread -Wall -Wundef -Wno-ctor-dtor-privacy -finput-charset=ISO-8859-1 -CXXFLAGS = -O2 -pthread -Wall -Wundef -Wno-ctor-dtor-privacy -finput-charset=ISO-8859-1 +CXXFLAGS += -pthread -Wall -Wundef -Wno-ctor-dtor-privacy >Release-Note: >Audit-Trail: >Unformatted: