diff options
author | Oliver Lehmann <oliver@FreeBSD.org> | 2005-10-05 19:35:38 +0000 |
---|---|---|
committer | Oliver Lehmann <oliver@FreeBSD.org> | 2005-10-05 19:35:38 +0000 |
commit | ad711cbd08ec141c9d4be8ecb70d06b204b7825d (patch) | |
tree | c2cf3889bf7b1eb02ef029812ea4c409bed53d29 /games/ember | |
parent | ce4275105007efc24dbd8ee3e485cf5ecc3bd7dd (diff) | |
download | ports-ad711cbd08ec141c9d4be8ecb70d06b204b7825d.tar.gz ports-ad711cbd08ec141c9d4be8ecb70d06b204b7825d.zip |
Notes
Diffstat (limited to 'games/ember')
-rw-r--r-- | games/ember/Makefile | 6 | ||||
-rw-r--r-- | games/ember/files/patch-ember | 3 |
2 files changed, 7 insertions, 2 deletions
diff --git a/games/ember/Makefile b/games/ember/Makefile index 44dadde6229f..7eebbedbf204 100644 --- a/games/ember/Makefile +++ b/games/ember/Makefile @@ -50,7 +50,9 @@ post-patch: s|CEGUI-OGRE_\([A-Z]*=\)|CEGUI_OGRE_\1|g; \ s|\$$CEGUI-OGRE_\([A-Z]*\)|\$$CEGUI_OGRE_\1|g' \ ${WRKSRC}/configure - @${REINPLACE_CMD} -e 's|<SDL/|<|g' \ + @${REINPLACE_CMD} -e '\ + s|<SDL/|<|g; \ + s|libSDL_image-1\.2\.so\.0|libSDL_image\.so|g' \ ${WRKSRC}/configure \ ${WRKSRC}/src/components/ogre/EmberOgre.cpp @${REINPLACE_CMD} -e 's|#include "framework/float_cast.h"||g' \ @@ -64,6 +66,8 @@ post-patch: /Plugin=Plugin_CgProgramManager.so/d; \ s|/usr/lib/OGRE|${X11BASE}/lib/OGRE|' \ ${WRKSRC}/src/components/ogre/plugins.cfg + @${REINPLACE_CMD} -e 's|(br_thread_local_store (br_prepend_prefix ((void \*) "", "\([^"]*\)")))|"${PREFIX}\1"|g' \ + ${WRKSRC}/src/framework/prefix.h .if ${OSVERSION} < 500000 @${REINPLACE_CMD} -e 's|lrintf|(long int)rintf|g' \ ${WRKSRC}/src/components/ogre/environment/meshtree/TStem.cpp \ diff --git a/games/ember/files/patch-ember b/games/ember/files/patch-ember index 0a5e86dfba96..250324cf8d28 100644 --- a/games/ember/files/patch-ember +++ b/games/ember/files/patch-ember @@ -1,6 +1,6 @@ --- /dev/null Mon Oct 3 20:13:37 2005 +++ ember Mon Oct 3 20:17:51 2005 -@@ -0,0 +1,129 @@ +@@ -0,0 +1,130 @@ +#!/bin/sh + + @@ -128,5 +128,6 @@ +echo "Starting Ember...." +#we have to do the LD_PRELOAD thing, because else at least I get an error: libnvidia-tls.so.1: cannot handle TLS data /ehj +[ ! -f $homedata/plugins.cfg ] && cp $etcdir/plugins.cfg $homedata/ ++[ ! -f $homedata/resources.cfg ] && cp $etcdir/resources.cfg $homedata/ +LD_PRELOAD=libGL.so.1 $bindir/ember.bin + |