summaryrefslogtreecommitdiff
path: root/graphics/ogre3d
diff options
context:
space:
mode:
authorOliver Lehmann <oliver@FreeBSD.org>2012-06-24 09:32:00 +0000
committerOliver Lehmann <oliver@FreeBSD.org>2012-06-24 09:32:00 +0000
commit25b6cc30c191f3c31dd3fc841b65bba2c70b3328 (patch)
tree9d70b25739fa94d7e9f67b10bf90a3da8e0fe289 /graphics/ogre3d
parentGive a passing mention of OPTIONSng (diff)
fix build if tinyxml is installed
PR: 163577 Submitted By: pawel
Notes
Notes: svn path=/head/; revision=299840
Diffstat (limited to 'graphics/ogre3d')
-rw-r--r--graphics/ogre3d/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/graphics/ogre3d/Makefile b/graphics/ogre3d/Makefile
index 2f10979c1368..99e6025fce07 100644
--- a/graphics/ogre3d/Makefile
+++ b/graphics/ogre3d/Makefile
@@ -58,7 +58,11 @@ post-patch:
@${REINPLACE_CMD} -e '\
s,defined(__x86_64__),& || defined(__powerpc__) || defined(__ia64__) || defined(__sparc64__) || defined(__alpha__) || defined(__amd64__),' \
${WRKSRC}/OgreMain/include/OgrePlatform.h
-
+ @${REINPLACE_CMD} -e 's|tinyxml.h|../include/tinyxml.h|' \
+ ${WRKSRC}/Tools/XMLConverter/src/tinyxml.cpp \
+ ${WRKSRC}/Tools/XMLConverter/src/tinyxmlerror.cpp \
+ ${WRKSRC}/Tools/XMLConverter/src/tinyxmlparser.cpp \
+ ${WRKSRC}/Tools/XMLConverter/include/OgreXMLPrerequisites.h
post-install:
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}