diff options
author | Joe Marcus Clarke <marcus@FreeBSD.org> | 2009-05-07 01:38:31 +0800 |
---|---|---|
committer | Joe Marcus Clarke <marcus@FreeBSD.org> | 2009-05-07 01:38:31 +0800 |
commit | 3b0c54705e7338ff9890f3be535b1df518dfe067 (patch) | |
tree | fad2df3918677ad349cd2043026926480746d7bb /www | |
parent | 94839d4a00622eeb70712d0af5c713c78817671e (diff) | |
download | freebsd-ports-gnome-3b0c54705e7338ff9890f3be535b1df518dfe067.tar.gz freebsd-ports-gnome-3b0c54705e7338ff9890f3be535b1df518dfe067.tar.zst freebsd-ports-gnome-3b0c54705e7338ff9890f3be535b1df518dfe067.zip |
Allow plugins to work when ephy is built against libxul.
Reported by: Eric L. Chen <d9364104@mail.nchu.edu.tw>
Submitted by: miwi (based on)
Diffstat (limited to 'www')
-rw-r--r-- | www/epiphany/Makefile | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/www/epiphany/Makefile b/www/epiphany/Makefile index 0e72476a12b2..479017ea7bff 100644 --- a/www/epiphany/Makefile +++ b/www/epiphany/Makefile @@ -75,6 +75,12 @@ NO_WERROR= yes CONFIGURE_ARGS+= --enable-compile-warnings=no .endif +.if ${GECKO:Mlibxul}!="" +PLUGIN_SYMLINK= 19 +.else +PLUGIN_SYMLINK= 18 +.endif + .if ${HAVE_GNOME:Mpygnome2}!="" USE_PYTHON= yes .include "${PORTSDIR}/Mk/bsd.python.mk" @@ -98,7 +104,7 @@ post-patch: @${REINPLACE_CMD} -e 's|execinfo.h|#|g ; \ s|-ldl"$$|"|g' \ ${WRKSRC}/configure - @${REINPLACE_CMD} -e 's|/lib/mozilla/plugins"|/lib/browser_plugins/symlinks/gecko18"|' \ + @${REINPLACE_CMD} -e 's|/lib/mozilla/plugins"|/lib/browser_plugins/symlinks/gecko${PLUGIN_SYMLINK}"|' \ ${WRKSRC}/embed/mozilla/mozilla-embed-single.cpp @${REINPLACE_CMD} -e 's|@with_engine@|mozilla|' \ ${WRKSRC}/data/epiphany.pc.in |