blob: 4a04188404130fbed9a5efba8ca27aa344c5c838 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
$NetBSD: patch-ai,v 1.4 2015/12/29 18:17:04 dholland Exp $
Honor X11BASE and COMPILER_RPATH_FLAG.
--- System/Platforms/X/Platform.module.orig Thu May 2 17:18:27 2002
+++ System/Platforms/X/Platform.module Thu May 2 17:19:33 2002
@@ -16,10 +16,10 @@
-- Gui, DualGui and the Browser all rely on these paths
-not_a_real_platform
--C_flag -I/usr/X11R6/include/X11/ -- Expected to contain X11/ headers
+-C_flag -I@X11BASE@/include -- Expected to contain X11/ headers
-- -C_flag -lm
--C_flag -L/usr/X11R6/lib/ -- Expected to contain libX11.a
+-C_flag "@COMPILER_RPATH_FLAG@@X11BASE@/lib -L@X11BASE@/lib" -- Expected to contain libX11.a
-C_flag -lX11
|