fix build if tinyxml is installed

PR:		163577
Submitted By:	pawel
This commit is contained in:
Oliver Lehmann 2012-06-24 09:32:00 +00:00
parent c8e7ef6c1d
commit 25b6cc30c1
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=299840

View file

@ -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}