diff options
| author | Jung-uk Kim <jkim@FreeBSD.org> | 2009-04-10 22:27:39 +0000 |
|---|---|---|
| committer | Jung-uk Kim <jkim@FreeBSD.org> | 2009-04-10 22:27:39 +0000 |
| commit | 39184c2f89e0092237c9c36d5b24a1ee7f7b3697 (patch) | |
| tree | 6d3b65fa4a6a8113d064e8851515cc4f9294fe1d | |
| parent | - Install forgotten library (diff) | |
Replace xulrunner with libxul.
Reviewed by: marcus
| -rw-r--r-- | www/mplayer-plugin/Makefile | 8 | ||||
| -rw-r--r-- | www/mplayer-plugin/files/patch-configure | 11 |
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 |
