mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-26 05:02:18 +00:00
remove check for XCB, fix build without MOZILLA_PLUGIN
This commit is contained in:
parent
5e16114ca1
commit
749e74a924
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=230177
@ -7,7 +7,7 @@
|
|||||||
|
|
||||||
PORTNAME= gxine
|
PORTNAME= gxine
|
||||||
PORTVERSION= 0.5.903
|
PORTVERSION= 0.5.903
|
||||||
PORTREVISION= 2
|
PORTREVISION= 3
|
||||||
CATEGORIES= multimedia
|
CATEGORIES= multimedia
|
||||||
MASTER_SITES= SF
|
MASTER_SITES= SF
|
||||||
MASTER_SITE_SUBDIR= xine
|
MASTER_SITE_SUBDIR= xine
|
||||||
@ -25,8 +25,7 @@ USE_GCC= 4.2+
|
|||||||
USE_XORG= x11 xaw ice
|
USE_XORG= x11 xaw ice
|
||||||
MAKE_ARGS+= LDFLAGS=-shared-libgcc
|
MAKE_ARGS+= LDFLAGS=-shared-libgcc
|
||||||
CNU_CONFIGURE= yes
|
CNU_CONFIGURE= yes
|
||||||
CONFIGURE_ARGS+= --without-hal
|
CONFIGURE_ARGS+=--without-hal --with-libintl-prefix=${LOCALBASE}
|
||||||
CONFIGURE_ENV+= CFLAGS="-I${LOCALBASE}/include" LDFLAGS="-L${LOCALBASE}/lib"
|
|
||||||
INSTALLS_ICONS= yes
|
INSTALLS_ICONS= yes
|
||||||
|
|
||||||
MANLANG= "" de es
|
MANLANG= "" de es
|
||||||
@ -36,15 +35,10 @@ MANCOMPRESSED= no
|
|||||||
OPTIONS= MOZILLA_PLUGIN "Install Mozilla plugin" on \
|
OPTIONS= MOZILLA_PLUGIN "Install Mozilla plugin" on \
|
||||||
GNOME "Enable Gnome integration" off \
|
GNOME "Enable Gnome integration" off \
|
||||||
DBUS "Enable dbus support" on \
|
DBUS "Enable dbus support" on \
|
||||||
LIRC "Enable lirc support" off \
|
LIRC "Enable lirc support" off
|
||||||
XCB "Enable XCB support" off
|
|
||||||
|
|
||||||
.include <bsd.port.pre.mk>
|
.include <bsd.port.pre.mk>
|
||||||
|
|
||||||
.if ${OSVERSION} < 700000
|
|
||||||
CFLAGS+= -O2
|
|
||||||
.endif
|
|
||||||
|
|
||||||
.if defined(WITH_GNOME)
|
.if defined(WITH_GNOME)
|
||||||
USE_GNOME+= gnomevfs2 libgnomeui
|
USE_GNOME+= gnomevfs2 libgnomeui
|
||||||
.else
|
.else
|
||||||
@ -75,7 +69,7 @@ CONFIGURE_ARGS+= --disable-lirc
|
|||||||
|
|
||||||
.if defined(WITHOUT_MOZILLA_PLUGIN)
|
.if defined(WITHOUT_MOZILLA_PLUGIN)
|
||||||
LIB_DEPENDS+= js.1:${PORTSDIR}/lang/spidermonkey
|
LIB_DEPENDS+= js.1:${PORTSDIR}/lang/spidermonkey
|
||||||
CONFIGURE_ARGS+=--without-browser-plugin
|
CONFIGURE_ARGS+=--without-browser-plugin --with-spidermonkey
|
||||||
PLIST_SUB+= MOZILLA_PLUGIN="@comment "
|
PLIST_SUB+= MOZILLA_PLUGIN="@comment "
|
||||||
.else
|
.else
|
||||||
USE_GECKO= firefox mozilla seamonkey xulrunner
|
USE_GECKO= firefox mozilla seamonkey xulrunner
|
||||||
@ -90,12 +84,6 @@ CONFIGURE_ARGS+=--disable-libjs
|
|||||||
PLIST_SUB+= MOZILLA_PLUGIN=""
|
PLIST_SUB+= MOZILLA_PLUGIN=""
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
.if defined(WITH_XCB)
|
|
||||||
LIB_DEPENDS+= xcb.2:${PORTSDIR}/x11/libxcb
|
|
||||||
.else
|
|
||||||
CONFIGURE_ARGS+=--without-xcb
|
|
||||||
.endif
|
|
||||||
|
|
||||||
pre-configure:
|
pre-configure:
|
||||||
@${REINPLACE_CMD} -e "/^mkdir_p/s:@mkdir_p@:${MKDIR}:" \
|
@${REINPLACE_CMD} -e "/^mkdir_p/s:@mkdir_p@:${MKDIR}:" \
|
||||||
${WRKSRC}/po/Makefile.in.in
|
${WRKSRC}/po/Makefile.in.in
|
||||||
|
Loading…
Reference in New Issue
Block a user