mirror of
https://github.com/Stichting-MINIX-Research-Foundation/pkgsrc-ng.git
synced 2025-09-16 07:47:12 -04:00
40 lines
919 B
Plaintext
40 lines
919 B
Plaintext
$NetBSD: patch-aa,v 1.10 2012/11/15 19:31:55 adam Exp $
|
|
|
|
Patch in pkgsrc paths for finding stuff.
|
|
|
|
--- Modules/Platform/UnixPaths.cmake.orig 2012-10-31 15:32:05.000000000 +0000
|
|
+++ Modules/Platform/UnixPaths.cmake
|
|
@@ -48,10 +48,10 @@ list(APPEND CMAKE_SYSTEM_INCLUDE_PATH
|
|
/usr/include/w32api
|
|
|
|
# X11
|
|
- /usr/X11R6/include /usr/include/X11
|
|
+ @X11BASE@/include /usr/X11R6/include /usr/include/X11
|
|
|
|
# Other
|
|
- /usr/pkg/include
|
|
+ @LOCALBASE@/include
|
|
/opt/csw/include /opt/include
|
|
/usr/openwin/include
|
|
)
|
|
@@ -61,16 +61,16 @@ list(APPEND CMAKE_SYSTEM_LIBRARY_PATH
|
|
/usr/lib/w32api
|
|
|
|
# X11
|
|
- /usr/X11R6/lib /usr/lib/X11
|
|
+ @X11BASE@/lib /usr/X11R6/lib /usr/lib/X11
|
|
|
|
# Other
|
|
- /usr/pkg/lib
|
|
+ @LOCALBASE@/lib
|
|
/opt/csw/lib /opt/lib
|
|
/usr/openwin/lib
|
|
)
|
|
|
|
list(APPEND CMAKE_SYSTEM_PROGRAM_PATH
|
|
- /usr/pkg/bin
|
|
+ @LOCALBASE@/bin
|
|
)
|
|
|
|
list(APPEND CMAKE_PLATFORM_IMPLICIT_LINK_DIRECTORIES
|