diff options
author | Alexey Dokuchaev <danfe@FreeBSD.org> | 2014-03-01 10:13:26 +0000 |
---|---|---|
committer | Alexey Dokuchaev <danfe@FreeBSD.org> | 2014-03-01 10:13:26 +0000 |
commit | 6fd102487a8c1e8550cd8ef107ad5b89afe2f5b5 (patch) | |
tree | 253a4dab10cdab827691187497e7cc95ab521fec /games/gtkradiant | |
parent | 9b406bce0cfb7fb4df0f328e6accb31c37e47140 (diff) | |
download | ports-6fd102487a8c1e8550cd8ef107ad5b89afe2f5b5.tar.gz ports-6fd102487a8c1e8550cd8ef107ad5b89afe2f5b5.zip |
Notes
Diffstat (limited to 'games/gtkradiant')
-rw-r--r-- | games/gtkradiant/Makefile | 1 | ||||
-rw-r--r-- | games/gtkradiant/files/patch-SConscript | 20 |
2 files changed, 20 insertions, 1 deletions
diff --git a/games/gtkradiant/Makefile b/games/gtkradiant/Makefile index 6c3bc8807940..366475a4070c 100644 --- a/games/gtkradiant/Makefile +++ b/games/gtkradiant/Makefile @@ -34,7 +34,6 @@ WRKSRC= ${WRKDIR}/GPL/GtkRadiant SUB_FILES= ${PORTNAME} post-patch: - @${REINPLACE_CMD} -e 's/-ldl//' ${WRKSRC}/SConscript @${GREP} -Rl 'defined[[:blank:]]*([[:blank:]]*__linux__[[:blank:]]*) || defined[[:blank:]]*([[:blank:]]*__APPLE__[[:blank:]]*)' ${WRKSRC} | \ ${XARGS} ${REINPLACE_CMD} -e \ 's/\(defined[[:blank:]]*([[:blank:]]*__linux__[[:blank:]]*) || defined[[:blank:]]*([[:blank:]]*__APPLE__[[:blank:]]*)\)/\1 || defined (__FreeBSD__)/' diff --git a/games/gtkradiant/files/patch-SConscript b/games/gtkradiant/files/patch-SConscript new file mode 100644 index 000000000000..e4a32ee145e8 --- /dev/null +++ b/games/gtkradiant/files/patch-SConscript @@ -0,0 +1,20 @@ +--- SConscript.orig 2006-02-11 06:01:20.000000000 +0800 ++++ SConscript +@@ -359,8 +359,6 @@ module_env = g_env.Copy() + module_env['CPPPATH'].append('include') + if ( OS == 'Darwin' ): + module_env['LINKFLAGS'] += '-dynamiclib -ldl ' +-else: +- module_env['LINKFLAGS'] += '-ldl ' + module_env['LIBPREFIX'] = '' + + +@@ -485,7 +483,7 @@ module_env.Install(INSTALL + '/modules', + + radiant_env = g_env.Copy() + radiant_env['CPPPATH'].append('include') +-radiant_env['LINKFLAGS'] += '-ldl -lGL ' ++radiant_env['LINKFLAGS'] += '-lX11 -lGL ' + if ( OS == 'Darwin' ): + radiant_env['CXXFLAGS'] += '-fno-common ' + radiant_env['CCFLAGS'] += '-fno-common ' |