[arch-general] How to specify configure options with makepkg
I'm trying to install psychosynth from AUR. Ogre is one of the deps, but the comments on the psychosynth page say to compile Ogre with devIL, not freeimage, which is the default image loader. Configure says that I can set an option, --disable-freeimage, but where do I set this option when using makepkg to build Ogre? I have installed devil, so it's ready to be used by the configure script, which includes instructions for both freeimage, and devIL. Thanks for any help with this. Nigel.
Look for the build() function in the PKBUILD file of psychosynth. Within this function there should be the line that calls the configure script. So you can add your options there. Edgar Am oder ungefähr am Donnerstag, 10. September 2009, um 12:25:22 schrieb Nigel Henry:
I'm trying to install psychosynth from AUR. Ogre is one of the deps, but the comments on the psychosynth page say to compile Ogre with devIL, not freeimage, which is the default image loader. Configure says that I can set an option, --disable-freeimage, but where do I set this option when using makepkg to build Ogre?
I have installed devil, so it's ready to be used by the configure script, which includes instructions for both freeimage, and devIL.
Thanks for any help with this.
Nigel.
On Thursday 10 September 2009 12:25, Nigel Henry wrote:
I'm trying to install psychosynth from AUR. Ogre is one of the deps, but the comments on the psychosynth page say to compile Ogre with devIL, not freeimage, which is the default image loader. Configure says that I can set an option, --disable-freeimage, but where do I set this option when using makepkg to build Ogre?
I have installed devil, so it's ready to be used by the configure script, which includes instructions for both freeimage, and devIL.
Thanks for any help with this.
Nigel.
Sorry for the noise. Solved the problem just after posting the ?, by looking in the pkgbuild file, where the configure options are listed. Doh! Psychosynth still fails to build though, which maybe because the gcc patch for it, is for gcc4.3, and I have gcc4.4. Nigel.
participants (2)
-
Edgar Kalkowski
-
Nigel Henry