aboutsummaryrefslogtreecommitdiffstats
path: root/graphics
diff options
context:
space:
mode:
authoroliver <oliver@FreeBSD.org>2005-10-11 01:35:53 +0800
committeroliver <oliver@FreeBSD.org>2005-10-11 01:35:53 +0800
commit26942f19ed3e9cea1bde12e1e330b0cf6de7784b (patch)
treeb7c664fdc793c3a12bf30c26cc297cd2658785b5 /graphics
parentc88285b1a8fc9bfafce6fd2805341196166967de (diff)
downloadfreebsd-ports-gnome-26942f19ed3e9cea1bde12e1e330b0cf6de7784b.tar.gz
freebsd-ports-gnome-26942f19ed3e9cea1bde12e1e330b0cf6de7784b.tar.zst
freebsd-ports-gnome-26942f19ed3e9cea1bde12e1e330b0cf6de7784b.zip
- 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')
-rw-r--r--graphics/ogre312/Makefile8
-rw-r--r--graphics/ogre3d/Makefile8
-rw-r--r--graphics/ogre3d12/Makefile8
3 files changed, 18 insertions, 6 deletions
diff --git a/graphics/ogre312/Makefile b/graphics/ogre312/Makefile
index 218c5bc23778..ddaed421207f 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)
diff --git a/graphics/ogre3d/Makefile b/graphics/ogre3d/Makefile
index 218c5bc23778..ddaed421207f 100644
--- a/graphics/ogre3d/Makefile
+++ b/graphics/ogre3d/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)
diff --git a/graphics/ogre3d12/Makefile b/graphics/ogre3d12/Makefile
index 218c5bc23778..ddaed421207f 100644
--- a/graphics/ogre3d12/Makefile
+++ b/graphics/ogre3d12/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)