Bug 127603 - graphics/librsvg2 fails to install WITH_MOZILLA_PLUGIN
Summary: graphics/librsvg2 fails to install WITH_MOZILLA_PLUGIN
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-gnome (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-09-24 08:50 UTC by Barbara
Modified: 2008-09-24 17:20 UTC (History)
0 users

See Also:


Attachments
file.diff (597 bytes, patch)
2008-09-24 08:50 UTC, Barbara
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Barbara 2008-09-24 08:50:01 UTC
The last version of graphics/librsvg2, librsvg2-2.22.3 fails using WITH_MOZILLA_PLUGINS.
Here's the relevant part.

gmake[2]: Nothing to be done for `install-exec-am'.
test -z "/usr/local/lib/browser_plugins" || .././install-sh -c -d -p "/usr/local/lib/browser_plugins"
././install-sh: invalid option: -p
gmake[2]: *** [install-pluginLTLIBRARIES] Error 1
gmake[2]: Leaving directory `/usr/ports/graphics/librsvg2/work/librsvg-2.22.3/moz-plugin'
gmake[1]: *** [install-am] Error 2
gmake[1]: Leaving directory `/usr/ports/graphics/librsvg2/work/librsvg-2.22.3/moz-plugin'
gmake: *** [install-recursive] Error 1
*** Error code 2

Stop in /usr/ports/graphics/librsvg2.
*** Error code 1

Stop in /usr/ports/graphics/librsvg2.

Fix: Remove the -p option.

patch -o ./patch-moz-plugin_Makefile.in.orig < patch.txt


Patch attached with submission follows:
How-To-Repeat: cd /usr/ports/graphics/librsvg2 && make -DWITH_MOZILLA_PLUGINS
make install
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2008-09-24 08:50:06 UTC
Responsible Changed
From-To: freebsd-ports-bugs->gnome

Over to maintainer (via the GNATS Auto Assign Tool)
Comment 2 Barbara 2008-09-24 10:24:14 UTC
Obviously, the patch command I wrote on the pr is wrong.
files/patch-moz-
plugin_Makefile.in.orig should be removed after successfully patching.
Sorry.


Kind Regards
Barbara

P.S.
BTW is there a way to properly do that?
Comment 3 dfilter service freebsd_committer freebsd_triage 2008-09-24 17:15:42 UTC
mezz        2008-09-24 16:15:33 UTC

  FreeBSD ports repository

  Modified files:
    graphics/librsvg2/files patch-moz-plugin_Makefile.in 
  Log:
  Fix the installation when WITH_MOZILLA_PLUGIN is defined.
  
  PR:             ports/127603
  Submitted by:   Barbara <barbara.xxx1975@libero.it>
  
  Revision  Changes    Path
  1.8       +1 -1      ports/graphics/librsvg2/files/patch-moz-plugin_Makefile.in
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
Comment 4 Jeremy Messenger freebsd_committer freebsd_triage 2008-09-24 17:16:12 UTC
State Changed
From-To: open->closed

Committed, thanks! 

> BTW is there a way to properly do that? 

Do what?