maintainer-feedback requested: [Bug 195943] [patch] unbreak graphics/evince build on FreeBSD 8

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sat Dec 13 09:49:47 UTC 2014


Don Lewis <truckman at FreeBSD.org> has reassigned Bugzilla Automation
<bugzilla at FreeBSD.org>'s request for maintainer-feedback to gnome at FreeBSD.org:
Bug 195943: [patch] unbreak graphics/evince build on FreeBSD 8
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=195943



--- Description ---
Created attachment 150539
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=150539&action=edit
patch to unbreak evince build on FreeBSD 8

The build of graphics/evince on FreeBSD 8 fails:

gmake[2]: Entering directory
'/wrkdirs/usr/ports/graphics/evince/work/evince-3.14.1/browser-plugin'
  GEN	   EvBrowserPluginResources.c
  CXX	   libevbrowserplugin_la-EvBrowserPluginToolbar.lo
  CXX	   libevbrowserplugin_la-EvBrowserPluginMain.lo
  CC	   libevbrowserplugin_la-EvBrowserPluginResources.lo
  CXX	   libevbrowserplugin_la-EvBrowserPlugin.lo
  CXXLD    libevbrowserplugin.la
libtool: link: only absolute run-paths are allowed
Makefile:618: recipe for target 'libevbrowserplugin.la' failed
gmake[2]: *** [libevbrowserplugin.la] Error 1
gmake[2]: Leaving directory
'/wrkdirs/usr/ports/graphics/evince/work/evince-3.14.1/browser-plugin'
Makefile:704: recipe for target 'all-recursive' failed
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory
'/wrkdirs/usr/ports/graphics/evince/work/evince-3.14.1'
Makefile:568: recipe for target 'all' failed
gmake: *** [all] Error 2


Comparing config.log for FreeBSD 8 and FreeBSD 10, I found this difference:

FreeBSD 8:
BROWSER_PLUGIN_DIR='${libdir/mozilla/plugins}'

FreeBSD 10:
BROWSER_PLUGIN_DIR='${libdir}/mozilla/plugins'

The former looks incorrect, probably due to an unpatched shell bug in FreeBSD
8,
so I decided to try setting CONFIG_SHELL to bash in the port Makefile, which
avoided the shell bug and allowed the build to succeed.

--- Comment #1 from Bugzilla Automation <bugzilla at FreeBSD.org> ---
Auto-assigned to maintainer gnome at FreeBSD.org


More information about the freebsd-gnome mailing list