[Bug 195943] New: [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


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=195943

            Bug ID: 195943
           Summary: [patch] unbreak graphics/evince build on FreeBSD 8
           Product: Ports Tree
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: gnome at FreeBSD.org
          Reporter: truckman at FreeBSD.org
          Assignee: gnome at FreeBSD.org
             Flags: maintainer-feedback?(gnome at FreeBSD.org)

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

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-ports-bugs mailing list