summaryrefslogtreecommitdiffstats
path: root/graphics/ogre312
diff options
context:
space:
mode:
authoroliver <oliver@FreeBSD.org>2005-10-10 17:35:53 +0000
committeroliver <oliver@FreeBSD.org>2005-10-10 17:35:53 +0000
commit26942f19ed3e9cea1bde12e1e330b0cf6de7784b (patch)
treeb7c664fdc793c3a12bf30c26cc297cd2658785b5 /graphics/ogre312
parentc88285b1a8fc9bfafce6fd2805341196166967de (diff)
downloadFreeBSD-ports-26942f19ed3e9cea1bde12e1e330b0cf6de7784b.zip
FreeBSD-ports-26942f19ed3e9cea1bde12e1e330b0cf6de7784b.tar.gz
- fix build for other 64bit platforms then amd64 (remove NOT_FOR_ARCH)
- fix a problem which made 2 libraries only linked in a static version and no dynamic.
Diffstat (limited to 'graphics/ogre312')
-rw-r--r--graphics/ogre312/Makefile8
1 files changed, 6 insertions, 2 deletions
diff --git a/graphics/ogre312/Makefile b/graphics/ogre312/Makefile
index 218c5bc..ddaed42 100644
--- a/graphics/ogre312/Makefile
+++ b/graphics/ogre312/Makefile
@@ -31,7 +31,6 @@ USE_X_PREFIX= YES
USE_GNOME= gnomehack
USE_SDL= sdl
USE_GMAKE= YES
-NOT_FOR_ARCHS= alpha
post-patch:
@${REINPLACE_CMD} -e '\
@@ -48,11 +47,13 @@ post-patch:
${WRKSRC}/Tools/*/src/Makefile.in
@${REINPLACE_CMD} -e '\
s|\(-L$$(top_builddir)/OgreMain/src\)\([$$ ]*\)|\1/.libs\2|' \
+ ${WRKSRC}/PlatformManagers/SDL/src/Makefile.in \
${WRKSRC}/PlugIns/BSPSceneManager/src/Makefile.in \
${WRKSRC}/PlugIns/CgProgramManager/src/Makefile.in \
${WRKSRC}/PlugIns/EXRCodec/src/Makefile.in \
${WRKSRC}/PlugIns/OctreeSceneManager/src/Makefile.in \
- ${WRKSRC}/PlugIns/ParticleFX/src/Makefile.in
+ ${WRKSRC}/PlugIns/ParticleFX/src/Makefile.in \
+ ${WRKSRC}/RenderSystems/GL/src/Makefile.in
@${REINPLACE_CMD} -e 's|-L$$(top_builddir)/Samples/Common/CEGUIRenderer/src|&/.libs|' \
${WRKSRC}/Samples/Gui/src/Makefile.in
@${REINPLACE_CMD} -e 's|<CEGUI/|<|g' \
@@ -65,6 +66,9 @@ post-patch:
${WRKSRC}/Samples/Common/CEGUIRenderer/src/OgreCEGUITexture.cpp
@${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|g' \
${WRKSRC}/Samples/Terrain/src/Makefile.in
+ @${REINPLACE_CMD} -e '\
+ s,defined(__x86_64__),& || defined(__powerpc__) || defined(__ia64__) || defined(__sparc64__) || defined(__alpha__) || defined(__amd64__),' \
+ ${WRKSRC}/OgreMain/include/OgrePlatform.h
post-install:
.if !defined(NOPORTDOCS)
OpenPOWER on IntegriCloud