pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: pkgsrc-2011Q3 freeze has started



On Thu, Sep 22, 2011 at 02:13:35PM +0200, Joerg Sonnenberger wrote:
> (4) kdelibs4 doesn't build due to missing dependencies.

As suggested by Adam, this is fallout from the recent mk/cmake-Modules
changes. The attached patch is a stop-gap solution and likely should be
refined later. Better ideas?

Joerg
Index: mk/cmake-Modules/Platform/UnixPaths.cmake
===================================================================
--- mk/cmake-Modules/Platform/UnixPaths.cmake
+++ mk/cmake-Modules/Platform/UnixPaths.cmake
@@ -3,11 +3,11 @@
 GET_FILENAME_COMPONENT(_CMAKE_INSTALL_DIR "${CMAKE_ROOT}" PATH)
 GET_FILENAME_COMPONENT(_CMAKE_INSTALL_DIR "${_CMAKE_INSTALL_DIR}" PATH)
 
 LIST(APPEND CMAKE_SYSTEM_PREFIX_PATH
   # Standard
-  / /usr $ENV{BUILDLINK_DIR}
+  / /usr $ENV{BUILDLINK_DIR} $ENV{PREFIX}
   )
 
 SET(CMAKE_SYSTEM_INCLUDE_PATH ${CMAKE_SYSTEM_INCLUDE_PATH}
   # Standard
   $ENV{BUILDLINK_DIR}/include /include /usr/include 



Home | Main Index | Thread Index | Old Index