1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-25 04:43:33 +00:00

remove check for XCB, fix build without MOZILLA_PLUGIN

This commit is contained in:
Max Brazhnikov 2009-03-15 21:18:29 +00:00
parent 5e16114ca1
commit 749e74a924
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=230177

View File

@ -7,7 +7,7 @@
PORTNAME= gxine
PORTVERSION= 0.5.903
PORTREVISION= 2
PORTREVISION= 3
CATEGORIES= multimedia
MASTER_SITES= SF
MASTER_SITE_SUBDIR= xine
@ -25,8 +25,7 @@ USE_GCC= 4.2+
USE_XORG= x11 xaw ice
MAKE_ARGS+= LDFLAGS=-shared-libgcc
CNU_CONFIGURE= yes
CONFIGURE_ARGS+= --without-hal
CONFIGURE_ENV+= CFLAGS="-I${LOCALBASE}/include" LDFLAGS="-L${LOCALBASE}/lib"
CONFIGURE_ARGS+=--without-hal --with-libintl-prefix=${LOCALBASE}
INSTALLS_ICONS= yes
MANLANG= "" de es
@ -36,15 +35,10 @@ MANCOMPRESSED= no
OPTIONS= MOZILLA_PLUGIN "Install Mozilla plugin" on \
GNOME "Enable Gnome integration" off \
DBUS "Enable dbus support" on \
LIRC "Enable lirc support" off \
XCB "Enable XCB support" off
LIRC "Enable lirc support" off
.include <bsd.port.pre.mk>
.if ${OSVERSION} < 700000
CFLAGS+= -O2
.endif
.if defined(WITH_GNOME)
USE_GNOME+= gnomevfs2 libgnomeui
.else
@ -75,7 +69,7 @@ CONFIGURE_ARGS+= --disable-lirc
.if defined(WITHOUT_MOZILLA_PLUGIN)
LIB_DEPENDS+= js.1:${PORTSDIR}/lang/spidermonkey
CONFIGURE_ARGS+=--without-browser-plugin
CONFIGURE_ARGS+=--without-browser-plugin --with-spidermonkey
PLIST_SUB+= MOZILLA_PLUGIN="@comment "
.else
USE_GECKO= firefox mozilla seamonkey xulrunner
@ -90,12 +84,6 @@ CONFIGURE_ARGS+=--disable-libjs
PLIST_SUB+= MOZILLA_PLUGIN=""
.endif
.if defined(WITH_XCB)
LIB_DEPENDS+= xcb.2:${PORTSDIR}/x11/libxcb
.else
CONFIGURE_ARGS+=--without-xcb
.endif
pre-configure:
@${REINPLACE_CMD} -e "/^mkdir_p/s:@mkdir_p@:${MKDIR}:" \
${WRKSRC}/po/Makefile.in.in