patchCERTI - Patches: patch #6938, Use CMAKE_INSTALL_PREFIX to find...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

patch #6938: Use CMAKE_INSTALL_PREFIX to find files certi installs there

Submitter:  Mathias Fröhlich <frohlich>
Submitted:  Fri 09 Oct 2009 08:31:38 PM UTC
   
 
Category:  CERTI Priority:  5 - Normal
Status:  Ready For Test Privacy:  Public
Assigned to:  erk Open/Closed:  Closed

Wed 21 Oct 2009 10:54:05 AM UTC, comment #3: 

Will be in 3.3.3

Eric NOULARD <erk>
Group administrator
Fri 16 Oct 2009 09:48:38 PM UTC, comment #2: 

I did restore
the /usr/local/share/federations FED File search
in the Unix case in order not to break CERTI 3.3.x
backward compatibility.

The /usr/local/share/federations is only used
as the last try and only on unix platform.

see:
http://lists.nongnu.org/archive/html/certi-devel/2009-10/msg00010.html

Now in CVS HEAD.

Eric NOULARD <erk>
Group administrator
Fri 09 Oct 2009 09:15:28 PM UTC, comment #1: 

Hi Mathias,

Reviewed+tested (Linux 64 bits).
That's patch is fine.

Just applied to CVS HEAD.
Thank you Mathias.

Eric NOULARD <erk>
Group administrator
Fri 09 Oct 2009 08:31:38 PM UTC, original submission:  


Hi,

The attached change defines PACKAGE_INSTALL_PREFIX as the path cmake will install the files by the install target.
This path is used to locate fed/xml object model files and rtia.
For the object model files this replaces a hard coded /usr/local with the real install prefix. In case of the rtia search, the search order is extended.

As before this setting the CERTI_HOME/CERTI_RTIA environment variable is still evaluated before the compiled in installation prefix. So the compiled in path could be overwritten if needed.

The patch is tested on solaris8/linux and for a 32 bit bompile on windows xp 64.

Please review/apply!

Thanks

Mathias

Mathias Fröhlich <frohlich>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attached Files
file #18837:  install-prefix.diff added by frohlich (9KiB - text/x-patch)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by erk (Posted a comment)
  • -email is unavailable- added by frohlich (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

     

    Follow 5 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2009-10-21 erk Open/ClosedOpen Closed
    2009-10-09 erk Assigned toNone erk
        CategoryNone CERTI
        StatusNone Ready For Test
    2009-10-09 frohlich Attached File- Added install-prefix.diff, #18837

    Back to the top

    Powered by Savane 3.13-aa77.
    Corresponding source code