[MacPorts] #44989: streamlog @1.0: don't hardcode /opt/local nor use /usr/local
MacPorts
noreply at macports.org
Sun Sep 14 20:15:20 PDT 2014
#44989: streamlog @1.0: don't hardcode /opt/local nor use /usr/local
--------------------------+-------------------------
Reporter: ryandesign@… | Owner: gtolemans@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.3.1
Keywords: | Port: streamlog
--------------------------+-------------------------
streamlog's CMakeLists.txt hardcodes some include directories:
{{{
include_directories( "/usr/local/include" )
include_directories( "/opt/local/include" )
}}}
In addition it hardcodes its installation directory:
{{{
if(${CMAKE_SYSTEM_NAME} MATCHES "Darwin")
set( MAKE_INSTALL_PREFIX "/opt/local" )
set_target_properties( streamlog PROPERTIES MACOSX_RPATH 1 )
else()
set( MAKE_INSTALL_PREFIX "/usr/local" )
endif()
}}}
We never want to include files from within /usr/local, and the user's
configured MacPorts prefix is not necessarily /opt/local.
--
Ticket URL: <https://trac.macports.org/ticket/44989>
MacPorts <http://www.macports.org/>
Ports system for OS X
More information about the macports-tickets
mailing list