Opened 10 years ago

Closed 10 years ago

#44989 closed defect (fixed)

streamlog @1.0: don't hardcode /opt/local nor use /usr/local

Reported by: ryandesign (Ryan Carsten Schmidt) Owned by: gtolemans@…
Priority: Normal Milestone:
Component: ports Version: 2.3.1
Keywords: Cc: kurthindenburg (Kurt Hindenburg)
Port: streamlog

Description

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.

Change History (2)

comment:1 Changed 10 years ago by kurthindenburg (Kurt Hindenburg)

Cc: khindenburg@… added

Cc Me!

comment:2 Changed 10 years ago by kurthindenburg (Kurt Hindenburg)

Resolution: fixed
Status: newclosed

done r127884

Note: See TracTickets for help on using tickets.