Mailinglist Archive: opensuse-buildservice (348 mails)
| < Previous | Next > |
[opensuse-buildservice] %prefix variable not being substituted
- From: Matt Williams <matt@xxxxxxxxxxxx>
- Date: Fri, 2 Apr 2010 00:46:25 +0100
- Message-id: <n2vdc9412191004011646n2e0f6934z21f30cc5272273de@xxxxxxxxxxxxxx>
I'm trying to update OGRE in the games project
(https://build.opensuse.org/package/show?package=ogre&project=games)
to the latest version but in the process of updating the .spec file
for some reason the %prefix variable isn't being substituted.
I call (in %prep but maybe it should be in %build) CMake with something like:
cmake .. -DCMAKE_INSTALL_PREFIX=%prefix
which I would expect to get turned in to:
cmake .. -DCMAKE_INSTALL_PREFIX=/usr
but it doesn't as can be seen at
https://build.opensuse.org/package/rawlog?arch=x86_64&package=ogre&project=games&repository=openSUSE_11.2
(search for "CMAKE_INSTALL_PREFIX").
Now, I assume this is caused by something I'm doing wrong but I can;t
work out what it is. Can anyone be of any help?
Regards,
Matt Williams
http://milliams.com
--
To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-buildservice+help@xxxxxxxxxxxx
(https://build.opensuse.org/package/show?package=ogre&project=games)
to the latest version but in the process of updating the .spec file
for some reason the %prefix variable isn't being substituted.
I call (in %prep but maybe it should be in %build) CMake with something like:
cmake .. -DCMAKE_INSTALL_PREFIX=%prefix
which I would expect to get turned in to:
cmake .. -DCMAKE_INSTALL_PREFIX=/usr
but it doesn't as can be seen at
https://build.opensuse.org/package/rawlog?arch=x86_64&package=ogre&project=games&repository=openSUSE_11.2
(search for "CMAKE_INSTALL_PREFIX").
Now, I assume this is caused by something I'm doing wrong but I can;t
work out what it is. Can anyone be of any help?
Regards,
Matt Williams
http://milliams.com
--
To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-buildservice+help@xxxxxxxxxxxx
| < Previous | Next > |