diff options
author | wxs <wxs@FreeBSD.org> | 2008-11-27 10:41:25 +0800 |
---|---|---|
committer | wxs <wxs@FreeBSD.org> | 2008-11-27 10:41:25 +0800 |
commit | 8ed91f9023106d49e97cf10cc57517493435cf2f (patch) | |
tree | 125c907ebd8c86af583ee89ad3b6417af1dd2a85 | |
parent | 0858d4c7fc1a9048b3b960d5108e6dd18b865e1c (diff) | |
download | freebsd-ports-gnome-8ed91f9023106d49e97cf10cc57517493435cf2f.tar.gz freebsd-ports-gnome-8ed91f9023106d49e97cf10cc57517493435cf2f.tar.zst freebsd-ports-gnome-8ed91f9023106d49e97cf10cc57517493435cf2f.zip |
- Unbreak by linking with /usr/local/lib instead of /usr/X11R6.
Submitted by: mad@madpilot.net (maintainer, via ports mailing list)
-rw-r--r-- | games/traindirector/Makefile | 3 | ||||
-rw-r--r-- | games/traindirector/files/patch-Makefile.fc9 | 9 |
2 files changed, 6 insertions, 6 deletions
diff --git a/games/traindirector/Makefile b/games/traindirector/Makefile index 37556c26e915..20af296700a0 100644 --- a/games/traindirector/Makefile +++ b/games/traindirector/Makefile @@ -7,6 +7,7 @@ PORTNAME= traindirector PORTVERSION= 3.5 +PORTREVISION= 1 CATEGORIES= games MASTER_SITES= http://www.backerstreet.com/traindir/ DISTNAME= tdir35src @@ -14,8 +15,6 @@ DISTNAME= tdir35src MAINTAINER= mad@madpilot.net COMMENT= Train controller simulation -BROKEN= linker error (linker error: http://T64.TecNik93.com/logs/7-STABLE-FTP/traindirector-3.5.log) - NO_WRKSUBDIR= yes USE_GMAKE= yes diff --git a/games/traindirector/files/patch-Makefile.fc9 b/games/traindirector/files/patch-Makefile.fc9 index 182d3bc90351..252e30e7556e 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 18:53:10.000000000 +0300 -+++ Makefile.fc9 2008-09-07 04:07:22.000000000 +0300 +--- Makefile.fc9.orig 2008-08-31 18:53:10.000000000 +0200 ++++ Makefile.fc9 2008-11-26 17:42:43.000000000 +0100 @@ -20,16 +20,16 @@ LDFLAGS_GUI = CXX = g++ @@ -8,15 +8,16 @@ +CXXFLAGS += -pthread -Wall -Wundef -Wno-ctor-dtor-privacy #CPPFLAGS = -D__WXDEBUG__ -DGTK_NO_CHECK_CASTS -pthread -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D_LARGEFILE_SOURCE=1 -DwxUSE_UNICODE=1 -I. -CPPFLAGS = -DGTK_NO_CHECK_CASTS -pthread -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D_LARGEFILE_SOURCE=1 -DwxUSE_UNICODE=1 -I. -I/usr/include/wx-2.8 -I/usr/lib/wx/include/gtk2-unicode-release-2.8 +-LDFLAGS = -pthread -L/usr/X11R6/lib +CPPFLAGS += -DGTK_NO_CHECK_CASTS -pthread -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D_LARGEFILE_SOURCE=1 -DwxUSE_UNICODE=1 -I. -I/usr/local/include/wx-2.8 -I/usr/local/lib/wx/include/gtk2-unicode-release-2.8 - LDFLAGS = -pthread -L/usr/X11R6/lib ++LDFLAGS = -pthread -L/usr/local/lib WX_LIB_FLAVOUR = TOOLKIT = GTK TOOLKIT_LOWERCASE = gtk TOOLKIT_VERSION = 2 -EXTRALIBS = -pthread -L/usr/X11R6/lib -lz -ldl -lm -EXTRALIBS_GUI = -Wl,--export-dynamic -pthread -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lm -lpangoxft-1.0 -lpangox-1.0 -lpango-1.0 -lgobject-2.0 -lgmodule-2.0 -ldl -lgthread-2.0 -lglib-2.0 -lXinerama -lXxf86vm -lpng -lz -ljpeg -ltiff -+EXTRALIBS = -pthread -L/usr/X11R6/lib -lz -lm ++EXTRALIBS = -pthread -L/usr/local/lib -lz -lm +EXTRALIBS_GUI = -Wl,--export-dynamic -pthread -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lm -lpangoxft-1.0 -lpangox-1.0 -lpango-1.0 -lgobject-2.0 -lgmodule-2.0 -lgthread-2.0 -lglib-2.0 -lXinerama -lXxf86vm -lpng -lz -ljpeg -ltiff EXTRALIBS_SDL = HOST_SUFFIX = |