mirror of
https://git.FreeBSD.org/ports.git
synced 2024-10-19 19:59:43 +00:00
Replace explicit XFree86-4-libraries dependencies with USE_XLIB, USE_XPM, and
USE_GL as appropriate.
This commit is contained in:
parent
ec353c081d
commit
a93033552b
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=110331
@ -49,8 +49,7 @@ PLIST_SUB+= SVGA="@comment "
|
||||
.endif
|
||||
|
||||
.if !defined(WITHOUT_X11)
|
||||
LIB_DEPENDS+= X11.6:${PORTSDIR}/x11/XFree86-4-libraries \
|
||||
Xext.6:${PORTSDIR}/x11/XFree86-4-libraries
|
||||
USE_XLIB= yes
|
||||
END_TARGETS+= ${PORTNAME}-x11
|
||||
PLIST_SUB+= X11=""
|
||||
.else
|
||||
@ -58,8 +57,8 @@ PLIST_SUB+= X11="@comment "
|
||||
.endif
|
||||
|
||||
.if !defined(WITHOUT_GLX)
|
||||
LIB_DEPENDS+= GL.1:${PORTSDIR}/x11/XFree86-4-libraries \
|
||||
png.5:${PORTSDIR}/graphics/png \
|
||||
USE_GL= yes
|
||||
LIB_DEPENDS+= png.5:${PORTSDIR}/graphics/png \
|
||||
jpeg.9:${PORTSDIR}/graphics/jpeg
|
||||
END_TARGETS+= ${PORTNAME}-glx
|
||||
PLIST_SUB+= GLX=""
|
||||
|
@ -80,8 +80,7 @@ PLIST_SUB+= SDLGL="@comment "
|
||||
.endif
|
||||
|
||||
.if !defined(WITHOUT_X11)
|
||||
LIB_DEPENDS+= X11.6:${PORTSDIR}/x11/XFree86-4-libraries \
|
||||
Xext.6:${PORTSDIR}/x11/XFree86-4-libraries
|
||||
USE_XLIB= yes
|
||||
MAKE_ARGS+= BUILD_X11=YES
|
||||
REF_TARGETS+= softx
|
||||
PLIST_SUB+= X11=""
|
||||
@ -90,7 +89,7 @@ PLIST_SUB+= X11="@comment "
|
||||
.endif
|
||||
|
||||
.if !defined(WITHOUT_GLX) || defined(WITH_EYECANDY)
|
||||
LIB_DEPENDS+= GL.1:${PORTSDIR}/x11/XFree86-4-libraries
|
||||
USE_GL= yes
|
||||
MAKE_ARGS+= BUILD_GLX=YES
|
||||
REF_TARGETS+= glx
|
||||
PLIST_SUB+= GLX=""
|
||||
|
@ -17,10 +17,10 @@ MAINTAINER= c47g@gmx.at
|
||||
COMMENT= This is SGI's Open Inventor (TM)
|
||||
|
||||
LIB_DEPENDS= freetype.9:${PORTSDIR}/print/freetype2 \
|
||||
jpeg.9:${PORTSDIR}/graphics/jpeg \
|
||||
GLU.1:${PORTSDIR}/x11/XFree86-4-libraries
|
||||
jpeg.9:${PORTSDIR}/graphics/jpeg
|
||||
|
||||
USE_XLIB= yes
|
||||
USE_GL= yes
|
||||
USE_GMAKE= yes
|
||||
USE_ICONV= yes
|
||||
USE_MOTIF= yes
|
||||
|
@ -310,7 +310,7 @@ CONFIGURE_ARGS+=--with-gd \
|
||||
--with-jpeg-dir=${LOCALBASE} \
|
||||
--with-png-dir=${LOCALBASE}
|
||||
.if !defined(WITHOUT_X11)
|
||||
LIB_DEPENDS+= Xpm.4:${PORTSDIR}/x11/XFree86-4-libraries
|
||||
USE_XPM= yes
|
||||
CONFIGURE_ARGS+=--with-xpm-dir=${X11BASE}
|
||||
.endif
|
||||
.if defined(WITH_LZW)
|
||||
|
@ -297,7 +297,7 @@ CONFIGURE_ARGS+=--with-gd \
|
||||
--with-jpeg-dir=${LOCALBASE} \
|
||||
--with-png-dir=${LOCALBASE}
|
||||
.if !defined(WITHOUT_X11)
|
||||
LIB_DEPENDS+= Xpm.4:${PORTSDIR}/x11/XFree86-4-libraries
|
||||
USE_XPM= yes
|
||||
CONFIGURE_ARGS+=--with-xpm-dir=${X11BASE}
|
||||
.endif
|
||||
.if defined(WITH_LZW)
|
||||
|
@ -297,7 +297,7 @@ CONFIGURE_ARGS+=--with-gd \
|
||||
--with-jpeg-dir=${LOCALBASE} \
|
||||
--with-png-dir=${LOCALBASE}
|
||||
.if !defined(WITHOUT_X11)
|
||||
LIB_DEPENDS+= Xpm.4:${PORTSDIR}/x11/XFree86-4-libraries
|
||||
USE_XPM= yes
|
||||
CONFIGURE_ARGS+=--with-xpm-dir=${X11BASE}
|
||||
.endif
|
||||
.if defined(WITH_LZW)
|
||||
|
Loading…
Reference in New Issue
Block a user