1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-15 07:56:36 +00:00

Make USE_GTK work properly on 5-CURRENT.

This commit is contained in:
David E. O'Brien 2002-02-25 06:47:38 +00:00
parent 542cacf7a7
commit da9a3bfffb
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=55215

View File

@ -127,6 +127,15 @@ MAKE_ARGS+= CONF_OPT_GUI="--enable-gui=no --without-x --enable-multibyte"
MAKE_ARGS+= CONF_OPT_PERL="--disable-perlinterp --disable-pythoninterp --disable-tclinterp --disable-rubyinterp"
.endif # LITE
# Until the bsd.gnome.mk people fix their damned file
.if defined(WITH_GTK)
USE_XLIB= yes
.endif
.if defined(USE_XLIB)
post-patch:
${PERL} -pi.orig -e 's/ X11 //g' ${WRKSRC}/link.sh
.endif
pre-build:
@(cd ${WRKSRC}; ${MAKE} distclean)
@${PERL} -pi -e 's,8\.2,8.3,' ${WRKSRC}/auto/configure