Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 418269

Summary: =dev-games/ogre-1.7.4 does not create correct OGRE*.pc files and potentially breaks dev-games/cegui
Product: Gentoo Linux Reporter: Julian Ospald <hasufell>
Component: New packagesAssignee: Gentoo Games <games>
Status: RESOLVED FIXED    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 412675, 418279    
Attachments: ogre-1.7.4.ebuild.diff

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.