[mythtv] Changeset [21867] breaks building with packaging/rpm/mythtv.spec

Nigel Pearson nigel at ind.tansu.com.au
Thu Sep 17 01:07:20 UTC 2009


On 17/09/2009, at 5:50 AM, James Twyford wrote:

> http://svn.mythtv.org/trac/changeset/21867
>
> I dunno how this change broke building with the spec

I don't have an RPM test environment yet, but I think I see
the problem - there is a substitution in there. Try this patch?


% svn diff packaging/rpm/mythtv.spec
Index: packaging/rpm/mythtv.spec
===================================================================
--- ../packaging/rpm/mythtv.spec        (revision 21864)
+++ ../packaging/rpm/mythtv.spec        (working copy)
@@ -970,7 +970,7 @@
      echo "QMAKE_PROJECT_DEPTH = 0" >> settings.pro
      find . -name \*.pro \
          -exec sed -i -e "s,INCLUDEPATH += .\+/include/ 
mythtv,INCLUDEPATH += $temp%{_includedir}/mythtv," {} \; \
-        -exec sed -i -e "s,TARGETDEPS += \$\${LIBDIR}/ 
libmyth,TARGETDEPS += $temp%{_libdir}/libmyth," {} \; \
+        -exec sed -i -e "s,DEPLIBS = \$\${LIBDIR},DEPLIBS = $temp% 
{_libdir}," {} \; \
          -exec sed -i -e "s,\$\${PREFIX}/include/mythtv,$temp% 
{_includedir}/mythtv," {} \;
      echo "INCLUDEPATH -= \$\${PREFIX}/include" >> settings.pro
      echo "INCLUDEPATH -= %{_includedir}"       >> settings.pro




--
Nigel Pearson, nigel at ind.tansu.com.au|"Now the world has gone to bed.
Telstra Net. Eng., Sydney, Australia | Darkness won't engulf my head.
Office: 9202 3900    Fax:  9212 6348 | I can see by infrared.
Mobile: 0408 664435  Home: 9792 6998 | How I hate the night." -Marvin



More information about the mythtv-dev mailing list