- use OPT_CONFIGURE_*
This commit is contained in:
parent
e80a770c59
commit
1df7965f6a
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=337838
1 changed files with 3 additions and 10 deletions
|
@ -36,6 +36,9 @@ ICONV_CONFIGURE_ON= ${ICONV_CONFIGURE_ARG}
|
||||||
ICONV_CONFIGURE_OFF= --with-libiconv-prefix=no
|
ICONV_CONFIGURE_OFF= --with-libiconv-prefix=no
|
||||||
VPX_LIB_DEPENDS= libvpx.so:${PORTSDIR}/multimedia/libvpx
|
VPX_LIB_DEPENDS= libvpx.so:${PORTSDIR}/multimedia/libvpx
|
||||||
VPX_CONFIGURE_OFF= --without-vpx
|
VPX_CONFIGURE_OFF= --without-vpx
|
||||||
|
XPM_USE= xorg=xpm,x11
|
||||||
|
XPM_CONFIGURE_ON= --with-x
|
||||||
|
XPM_CONFIGURE_OFF= --with-xpm=no
|
||||||
|
|
||||||
.include <bsd.port.options.mk>
|
.include <bsd.port.options.mk>
|
||||||
|
|
||||||
|
@ -43,16 +46,6 @@ PKGCONFIGDIR?= ${LOCALBASE}/libdata/pkgconfig
|
||||||
# force gdlib-config --ldflags
|
# force gdlib-config --ldflags
|
||||||
LDFLAGS+= -L${LOCALBASE}/lib
|
LDFLAGS+= -L${LOCALBASE}/lib
|
||||||
|
|
||||||
# honor global WITHOUT_X11
|
|
||||||
.if !defined(WITHOUT_X11)
|
|
||||||
.if ${PORT_OPTIONS:MXPM}
|
|
||||||
USE_XORG= xpm x11
|
|
||||||
GNU_CONFIGURE_ARGS+= --with-x
|
|
||||||
.else
|
|
||||||
GNU_CONFIGURE_ARGS+= --with-xpm=no
|
|
||||||
.endif
|
|
||||||
.endif
|
|
||||||
|
|
||||||
# The GD_FONTS environment variable can be set to specify the gzipped
|
# The GD_FONTS environment variable can be set to specify the gzipped
|
||||||
# tar-ball containing the fonts in bdf format and the bdf file names.
|
# tar-ball containing the fonts in bdf format and the bdf file names.
|
||||||
# The tarball is the first argument, the tiny, small, medium-bold,
|
# The tarball is the first argument, the tiny, small, medium-bold,
|
||||||
|
|
Loading…
Reference in a new issue