From fba2adeae4a39b8cfa8d5fd92f63d1281d80a68e Mon Sep 17 00:00:00 2001 From: Christian Wiese Date: Fri, 23 Jul 2010 17:34:33 +0200 Subject: [PATCH] xorg-server: fixed compiler flags injection when X11R6 flag is set which failed on "pure" 64 bit targets --- xorg/xorg-server/parse-config | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/xorg/xorg-server/parse-config b/xorg/xorg-server/parse-config index a8906fcb4..5ac211b8f 100644 --- a/xorg/xorg-server/parse-config +++ b/xorg/xorg-server/parse-config @@ -14,10 +14,10 @@ # --- SDE-COPYRIGHT-NOTE-END --- if hasflag X11R6; then - var_append CPP_WRAPPER_INSERT ' ' '*/X11R6/include?-I/usr/X11/include' - var_append GCC_WRAPPER_INSERT ' ' '*/X11R6/include?-I/usr/X11/include' - var_append GCC_WRAPPER_INSERT ' ' '*/X11R6/lib?-L/usr/X11/lib' - var_append GCC_WRAPPER_INSERT ' ' '*/X11R6/lib64?-L/usr/X11/lib64' + var_append CPP_WRAPPER_INSERT ' ' '*/X11R6/include?-I'"$(pkgprefix -r includedir libx11)" + var_append GCC_WRAPPER_INSERT ' ' '*/X11R6/include?-I'"$(pkgprefix -r includedir libx11)" + var_append GCC_WRAPPER_INSERT ' ' '*/X11R6/lib?-L'"$(pkgprefix -r libdir libx11)" + var_append GCC_WRAPPER_INSERT ' ' '*/X11R6/lib64?-L'"$(pkgprefix -r libdir libx11)" fi if atstage cross && pkginstalled -f libx11; then