ports/158105: [maintainer-update] games/traindirector: Respect CXX (fix with clang)
Guido Falsi
mad at madpilot.net
Tue Jun 21 11:40:14 UTC 2011
>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 at 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 at 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:
More information about the freebsd-ports-bugs
mailing list