diff options
author | dhn <dhn@FreeBSD.org> | 2012-01-03 00:49:59 +0800 |
---|---|---|
committer | dhn <dhn@FreeBSD.org> | 2012-01-03 00:49:59 +0800 |
commit | f9278b67d83b0dcf3b16befc6df5d430724d0c37 (patch) | |
tree | 7ef85b4f111b35ec2e7ede393dad9f0e2faedecb /games | |
parent | 2877c3a8db6e35a414c5264bd5da72ea3cb86192 (diff) | |
download | freebsd-ports-gnome-f9278b67d83b0dcf3b16befc6df5d430724d0c37.tar.gz freebsd-ports-gnome-f9278b67d83b0dcf3b16befc6df5d430724d0c37.tar.zst freebsd-ports-gnome-f9278b67d83b0dcf3b16befc6df5d430724d0c37.zip |
- Fix build with clang
PR: ports/158105
Submitted by: Guido Falsi <mad@madpilot.net> (maintainer)
Diffstat (limited to 'games')
-rw-r--r-- | games/traindirector/Makefile | 4 | ||||
-rw-r--r-- | games/traindirector/files/patch-Makefile.fc9 | 9 |
2 files changed, 9 insertions, 4 deletions
diff --git a/games/traindirector/Makefile b/games/traindirector/Makefile index 5de02f8e2dd4..f08d2cd351cc 100644 --- a/games/traindirector/Makefile +++ b/games/traindirector/Makefile @@ -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 diff --git a/games/traindirector/files/patch-Makefile.fc9 b/games/traindirector/files/patch-Makefile.fc9 index 228cda47c2c6..552b5348e53c 100644 --- a/games/traindirector/files/patch-Makefile.fc9 +++ b/games/traindirector/files/patch-Makefile.fc9 @@ -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 |