# HG changeset patch # User Michael Schloh von Bennewitz # Date 1231938166 -3600 # Node ID 02f650e4c5d86ce190810d3cc086c793dcb3265c # Parent 14e53a73c5a53928b25b7933f5f630547ead4320 Correct build logic affecting all other packages dependent on Openwin. diff -r 14e53a73c5a5 -r 02f650e4c5d8 x11/x11.spec --- a/x11/x11.spec Wed Jan 14 14:02:00 2009 +0100 +++ b/x11/x11.spec Wed Jan 14 14:02:46 2009 +0100 @@ -32,7 +32,7 @@ Group: Meta License: PD Version: 0 -Release: 20080101 +Release: 20090106 # list of sources Source0: rc.x11 @@ -86,7 +86,6 @@ # search for include directory for incdir in \ /usr/openwin/include \ - /usr/openwin/share/include \ /usr/[xX]/include \ /usr/[xX]11*/include \ /usr/[xX]386/include \ @@ -110,6 +109,9 @@ ; do if [ -f "$incdir/X11/Intrinsic.h" ]; then x11_incdir="$incdir" + if [ -d "/usr/openwin/share/include" ]; then + x11_incdir="$x11_incdir /usr/openwin/share/include" + fi break fi done