Author: mvidner
Date: Fri Jul 18 11:16:08 2008
New Revision: 49240
URL: http://svn.opensuse.org/viewcvs/yast?rev=49240&view=rev
Log:
The previous change broke the few packages that do not need
yast2-core. Only use yast2-core.pc when it is present.
Modified:
trunk/devtools/VERSION
trunk/devtools/devtools/bin/y2autoconf
trunk/devtools/package/yast2-devtools.changes
Modified: trunk/devtools/VERSION
URL: http://svn.opensuse.org/viewcvs/yast/trunk/devtools/VERSION?rev=49240&r1=49239&r2=49240&view=diff
==============================================================================
--- trunk/devtools/VERSION (original)
+++ trunk/devtools/VERSION Fri Jul 18 11:16:08 2008
@@ -1 +1 @@
-2.17.2
+2.17.3
Modified: trunk/devtools/devtools/bin/y2autoconf
URL: http://svn.opensuse.org/viewcvs/yast/trunk/devtools/devtools/bin/y2autoconf?rev=49240&r1=49239&r2=49240&view=diff
==============================================================================
--- trunk/devtools/devtools/bin/y2autoconf (original)
+++ trunk/devtools/devtools/bin/y2autoconf Fri Jul 18 11:16:08 2008
@@ -272,12 +272,11 @@
AC_PROG_CC
AC_PROG_CPP
-# core defines it, others use it
-if test $PACKAGE != yast2-core; then
+# If we have core, get its Y2CORE_CFLAGS.
+# When building core itself, it has set Y2CORE_CFLAGS elsewhere already
+PKG_CHECK_EXISTS([yast2-core],[
PKG_CHECK_MODULES(Y2CORE, yast2-core)
-else
- : # core has already defined Y2CORE_CFLAGS
-fi
+])
CFLAGS="${CFLAGS} ${Y2CORE_CFLAGS} -Wall -Wformat=2 -Wmissing-prototypes"
CXXFLAGS="${CXXFLAGS} ${Y2CORE_CFLAGS} -Wall -Wformat=2"
Modified: trunk/devtools/package/yast2-devtools.changes
URL: http://svn.opensuse.org/viewcvs/yast/trunk/devtools/package/yast2-devtools.changes?rev=49240&r1=49239&r2=49240&view=diff
==============================================================================
--- trunk/devtools/package/yast2-devtools.changes (original)
+++ trunk/devtools/package/yast2-devtools.changes Fri Jul 18 11:16:08 2008
@@ -1,4 +1,11 @@
-------------------------------------------------------------------
+Fri Jul 18 11:15:53 CEST 2008 - mvidner@suse.cz
+
+- The previous change broke the few packages that do not need
+ yast2-core. Only use yast2-core.pc when it is present.
+- 2.17.3
+
+-------------------------------------------------------------------
Thu Jul 17 14:16:41 CEST 2008 - mvidner@suse.cz
- Use Y2CORE_CFLAGS, so that we can get rid of