- Fix build with clang

PR:		ports/158105
Submitted by:	Guido Falsi <mad@madpilot.net> (maintainer)
This commit is contained in:
Dennis Herrmann 2012-01-02 16:49:59 +00:00
parent 22b4df1141
commit 1fc02cd6ad
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=288427
2 changed files with 9 additions and 4 deletions

View file

@ -15,6 +15,8 @@ DISTNAME= tdir36src
MAINTAINER= mad@madpilot.net
COMMENT= Train controller simulation
LICENSE= GPLv2
NO_WRKSUBDIR= yes
MAKE_JOBS_SAFE= yes
@ -27,7 +29,7 @@ WX_COMPS= wx:lib
WX_UNICODE= yes
DESKTOP_ENTRIES="Train Director" "${COMMENT}" "" "traindir3" \
"Game;Simulation;StrategyGame;" false
"Game;Simulation;StrategyGame;" ${FALSE}
PLIST_FILES= bin/traindir3

View file

@ -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