Fix USE_XLIB to depend on stub file rather than libX11.

Submitted by:	marcus
Approved by:	portmgr (blanket)
This commit is contained in:
Florent Thoumie 2007-05-21 10:21:39 +00:00
parent ca0d773943
commit f8e2a239ac
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=191581

View File

@ -2091,7 +2091,12 @@ USE_SUBMAKE= yes
. if defined(USE_LINUX)
RUN_DEPENDS+= ${LINUXBASE}/usr/X11R6/lib/libXrender.so.1:${PORTSDIR}/x11/linux-xorg-libs
. else
. if ${X_WINDOW_SYSTEM:L} == xorg
BUILD_DEPENDS+= ${X11BASE}/libdata/xorg/libraries:${X_LIBRARIES_PORT}
RUN_DEPENDS+= ${X11BASE}/libdata/xorg/libraries:${X_LIBRARIES_PORT}
. else
LIB_DEPENDS+= X11.6:${X_LIBRARIES_PORT}
. endif
. endif
# Add explicit X options to avoid problems with false positives in configure
.if defined(GNU_CONFIGURE)