tech-pkg archive

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

Re: removing error from USE_X11 without xorg



The only reason python is failing is so we can use this:

# Support for native X11 paths as an option
# This code is no-op for modular X11, however for simplicity don't make it conditional.
SUBST_CLASSES+=                 x11findlib
SUBST_MESSAGE.x11findlib=       Fixing find_library() for native X11.
SUBST_STAGE.x11findlib=         pre-configure
SUBST_FILES.x11findlib=         Lib/ctypes/util.py
SUBST_SED.x11findlib=           -e 's!\(-Wl,-t -o\)!${COMPILER_RPATH_FLAG}${X11BASE}/lib -L${X11BASE}/lib \1!'


Without USE_X11=yes, pkgsrc will strip -L${X11BASE}/lib silently.


Home | Main Index | Thread Index | Old Index