aboutsummaryrefslogtreecommitdiffstats
path: root/www
diff options
context:
space:
mode:
authorjkim <jkim@FreeBSD.org>2009-04-11 06:27:39 +0800
committerjkim <jkim@FreeBSD.org>2009-04-11 06:27:39 +0800
commit2629398e852ab7ffaea60f9ee32d5050b0d57259 (patch)
tree45b954115bdeb2bfaffc5a513a7192cce7bf39c7 /www
parentbf5f03300249bd83fc6b6e8837475e0f5202fef2 (diff)
downloadfreebsd-ports-gnome-2629398e852ab7ffaea60f9ee32d5050b0d57259.tar.gz
freebsd-ports-gnome-2629398e852ab7ffaea60f9ee32d5050b0d57259.tar.zst
freebsd-ports-gnome-2629398e852ab7ffaea60f9ee32d5050b0d57259.zip
Replace xulrunner with libxul.
Reviewed by: marcus
Diffstat (limited to 'www')
-rw-r--r--www/mplayer-plugin/Makefile8
-rw-r--r--www/mplayer-plugin/files/patch-configure11
2 files changed, 15 insertions, 4 deletions
diff --git a/www/mplayer-plugin/Makefile b/www/mplayer-plugin/Makefile
index e66beb78d20c..94f86072414e 100644
--- a/www/mplayer-plugin/Makefile
+++ b/www/mplayer-plugin/Makefile
@@ -7,7 +7,7 @@
PORTNAME= mplayerplug-in
PORTVERSION= 3.55
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= www multimedia
MASTER_SITES= SF/mplayerplug-in
@@ -18,7 +18,7 @@ RUN_DEPENDS= mplayer:${PORTSDIR}/multimedia/mplayer
USE_GETTEXT= yes
USE_GMAKE= yes
-USE_GECKO= firefox mozilla seamonkey xulrunner
+USE_GECKO= firefox mozilla seamonkey libxul
USE_WEBPLUGINS= gecko*
WEBPLUGINS_FILES=mplayerplug-in.so mplayerplug-in.xpt mplayerplug-in-wmp.so \
mplayerplug-in-qt.so mplayerplug-in-rm.so \
@@ -30,7 +30,8 @@ GNU_CONFIGURE= yes
CONFIGURE_ARGS= --enable-gmp
USE_GNOME= gnometarget
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include -DBSD" \
- LDFLAGS="-L${LOCALBASE}/lib"
+ LDFLAGS="-L${LOCALBASE}/lib" \
+ GECKO_XPIDL="${XPIDL}"
USE_XORG= x11 xpm xt
.include <bsd.port.pre.mk>
@@ -40,7 +41,6 @@ post-patch:
@${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|g ; \
s|make|${GMAKE}|g' \
${WRKSRC}/Makefile.in
- @${REINPLACE_CMD} -e 's|mozilla-|${GECKO}-|g' ${WRKSRC}/configure
@${REINPLACE_CMD} -e 's|/etc/|${PREFIX}/etc/|g' \
${WRKSRC}/Source/plugin-setup.cpp
diff --git a/www/mplayer-plugin/files/patch-configure b/www/mplayer-plugin/files/patch-configure
new file mode 100644
index 000000000000..6b1e401114dc
--- /dev/null
+++ b/www/mplayer-plugin/files/patch-configure
@@ -0,0 +1,11 @@
+--- configure.orig 2008-06-24 09:15:05.000000000 -0400
++++ configure 2009-04-10 17:04:02.000000000 -0400
+@@ -3789,7 +3789,7 @@
+ if test $succeeded = yes; then
+ MOZPLUG_CFLAGS="${MOZPLUG_CFLAGS} -I`$PKG_CONFIG --variable=includedir libxul`"
+ MOZILLA_HOME=`$PKG_CONFIG --variable=libdir libxul`
+-GECKO_IDLDIR=`$PKG_CONFIG --variable=idldir libxul`
++GECKO_IDLDIR=`$PKG_CONFIG --variable=idldir libxul`/`$PKG_CONFIG --variable=includetype libxul`
+
+ else
+ { echo "$as_me:$LINENO: WARNING: libxul not found" >&5