Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 418269 - =dev-games/ogre-1.7.4 does not create correct OGRE*.pc files and potentially breaks dev-games/cegui
Summary: =dev-games/ogre-1.7.4 does not create correct OGRE*.pc files and potentially ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 412675 418279
  Show dependency tree
 
Reported: 2012-05-30 16:57 UTC by Julian Ospald
Modified: 2012-05-30 18:03 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
ogre-1.7.4.ebuild.diff (ogre-1.7.4.ebuild.diff,459 bytes, patch)
2012-05-30 16:57 UTC, Julian Ospald
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Julian Ospald 2012-05-30 16:57:59 UTC
Created attachment 313617 [details, diff]
ogre-1.7.4.ebuild.diff

reference: https://bugs.gentoo.org/show_bug.cgi?id=412043#c4

before patch (thread tbb):
$ cat /usr/lib64/pkgconfig/OGRE.pc
prefix=/usr
exec_prefix=${prefix}
libdir=${prefix}/lib64
includedir=${prefix}/include
plugindir=${libdir}/OGRE

Name: OGRE
Description: Object-Oriented Graphics Rendering Engine
Version: 1.7.4
URL: http://www.ogre3d.org
Libs: -L${libdir} -lOgreMain 
Cflags: -I${includedir} -I${includedir}/OGRE

#####

after patch (thread tbb):
$ cat /usr/lib64/pkgconfig/OGRE.pc
prefix=/usr
exec_prefix=${prefix}
libdir=${prefix}/lib64
includedir=${prefix}/include
plugindir=${libdir}/OGRE

Name: OGRE
Description: Object-Oriented Graphics Rendering Engine
Version: 1.7.4
URL: http://www.ogre3d.org
Libs: -L${libdir} -lOgreMain  -lpthread
Cflags: -I${includedir} -I${includedir}/OGRE -pthread


As a result cegui will not be correctly built, because it uses those pkgconfig files.

note: OGRE_CONFIG_THREADS=1 is not supported for linux and can/must be ignored.
http://www.ogre3d.org/tikiwiki/tiki-index.php?page=CMake+Quick+Start+Guide&tikiversion=Linux

I think a revbump would be reasonable, because people may still be left with those old files.
Comment 1 Mr. Bones. (RETIRED) gentoo-dev 2012-05-30 17:52:36 UTC
fixed.