<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix">On 07/08/2013 07:22 PM, Sascha Arnold
      wrote:<br>
    </div>
    <blockquote cite="mid:51DAF550.9090906@dfki.de" type="cite">
      <meta http-equiv="content-type" content="text/html;
        charset=ISO-8859-1">
      <meta http-equiv="CONTENT-TYPE" content="text/html;
        charset=ISO-8859-1">
      <p style="margin-bottom: 0cm" lang="en-US">Hi,<br>
        I need to override two packages in the spacebot package set
        normally provided in the rock package set.<br>
        <br>
        I already overrode them in the source.yml and also applied own
        patches.<br>
        So far it works, but then it won't apply the flags defined in
        cmake_package in libs.autobuild witch are still defined in rock.<br>
        And if I redefine them in the libs.autobuild of the spacebot
        package set I get the message that I have two definitions and
        that the one from rock will be used.<br>
      </p>
    </blockquote>
    &nbsp;- if you only want to override the source information, you do not
    need to redefine the package in spacebot's autobuild files. Simply
    add the updated source information in the overrides: section of
    source.yml<br>
    &nbsp;- if you do want to change how the package is configured, you
    should use setup_package<br>
    <br>
    setup_package 'package_name' do |pkg|<br>
    &nbsp; # Do stuff here<br>
    end<br>
    <br>
    This will allow you to modify the original configuration. You should
    redefine the package using cmake_package, ... only if you want to
    completely replace the configuration.<br>
    <pre class="moz-signature" cols="72">-- 
Sylvain Joyeux (Dr.Ing.)
Senior Researcher

Space &amp; Security Robotics
Underwater Robotics

!!! Achtung, neue Telefonnummer!!!

Standort Bremen:
DFKI GmbH
Robotics Innovation Center
Robert-Hooke-Stra&szlig;e 5
28359 Bremen, Germany

Phone: +49 (0)421 178-454136
Fax:   +49 (0)421 218-454150
E-Mail: <a class="moz-txt-link-abbreviated" href="mailto:robotik@dfki.de">robotik@dfki.de</a>

Weitere Informationen: <a class="moz-txt-link-freetext" href="http://www.dfki.de/robotik">http://www.dfki.de/robotik</a>
-----------------------------------------------------------------------
Deutsches Forschungszentrum fuer Kuenstliche Intelligenz GmbH
Firmensitz: Trippstadter Stra&szlig;e 122, D-67663 Kaiserslautern
Geschaeftsfuehrung: Prof. Dr. Dr. h.c. mult. Wolfgang Wahlster
(Vorsitzender) Dr. Walter Olthoff
Vorsitzender des Aufsichtsrats: Prof. Dr. h.c. Hans A. Aukes
Amtsgericht Kaiserslautern, HRB 2313
Sitz der Gesellschaft: Kaiserslautern (HRB 2313)
USt-Id.Nr.:    DE 148646973
Steuernummer:  19/673/0060/3
----------------------------------------------------------------------- </pre>
  </body>
</html>