SOURCES: stellarium-moc.patch (NEW) - disable broken moc check

wolf wolf at pld-linux.org
Fri Jun 22 18:10:31 CEST 2007


Author: wolf                         Date: Fri Jun 22 16:10:31 2007 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- disable broken moc check

---- Files affected:
SOURCES:
   stellarium-moc.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SOURCES/stellarium-moc.patch
diff -u /dev/null SOURCES/stellarium-moc.patch:1.1
--- /dev/null	Fri Jun 22 18:10:31 2007
+++ SOURCES/stellarium-moc.patch	Fri Jun 22 18:10:26 2007
@@ -0,0 +1,39 @@
+diff -ruN stellarium-0.9.0./configure.ac stellarium-0.9.0/configure.ac
+--- stellarium-0.9.0./configure.ac	2007-06-06 10:25:19.000000000 +0200
++++ stellarium-0.9.0/configure.ac	2007-06-22 17:18:17.837539383 +0200
+@@ -213,35 +213,6 @@
+ }
+ EOF
+ 
+-AC_MSG_CHECKING(does moc work?)
+-bnv_try_1="moc myqt.h -o moc_myqt.cpp"
+-AC_TRY_EVAL(bnv_try_1)
+-if test x"$ac_status" != x0; then
+-   AC_MSG_ERROR(moc doesn't work)
+-fi
+-AC_MSG_RESULT(yes)
+-AC_MSG_CHECKING(can I compile moc_myqt.cpp?)
+-bnv_try_2="$CXX -c $CXXFLAGS -o moc_myqt.o moc_myqt.cpp"
+-AC_TRY_EVAL(bnv_try_2)
+-if test x"$ac_status" != x0; then
+-   AC_MSG_ERROR(couldn't compile moc_myqt.cpp)
+-fi
+-AC_MSG_RESULT(yes)
+-AC_MSG_CHECKING(can I compile myqt.cpp?)
+-bnv_try_3="$CXX $QTINC -c $CXXFLAGS -o myqt.o myqt.cpp"
+-AC_TRY_EVAL(bnv_try_3)
+-if test x"$ac_status" != x0; then
+-   AC_MSG_ERROR(couldn't compile myqt.cpp)
+-fi
+-AC_MSG_RESULT(yes)
+-AC_MSG_CHECKING(can I link against QT?)
+-nv_try_4="$CXX $LIBS -o myqt myqt.o moc_myqt.o"
+-AC_TRY_EVAL(bnv_try_4)
+-if test x"$ac_status" != x0; then
+-   AC_MSG_ERROR(couldn't link)
+-fi
+-AC_MSG_RESULT(yes)
+-
+ AC_MSG_CHECKING(for mkoctfile)
+ AC_TRY_EVAL(mkoctfile)
+ if test x"$ac_status" != x0; then
================================================================


More information about the pld-cvs-commit mailing list