Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 24 Sep 2008 07:43:13 GMT
From:      Barbara <barbara.xxx1975@libero.it>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/127603: graphics/librsvg2 fails to install WITH_MOZILLA_PLUGIN
Message-ID:  <200809240743.m8O7hDgo011875@www.freebsd.org>
Resent-Message-ID: <200809240750.m8O7o2VK085773@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         127603
>Category:       ports
>Synopsis:       graphics/librsvg2 fails to install WITH_MOZILLA_PLUGIN
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Sep 24 07:50:01 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator:     Barbara
>Release:        6-STABLE
>Organization:
>Environment:
FreeBSD satanasso.local.net 6.4-PRERELEASE FreeBSD 6.4-PRERELEASE #0: Sep 20 13:02:50 CEST 2008 root@satanasso.local.net:/usr/obj/usr/src/sys/SATANASSO i386
>Description:
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.
>How-To-Repeat:
cd /usr/ports/graphics/librsvg2 && make -DWITH_MOZILLA_PLUGINS
make install
>Fix:
Remove the -p option.

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


Patch attached with submission follows:

--- ./files/patch-moz-plugin_Makefile.in.orig	2008-09-24 09:28:26.000000000 +0200
+++ ./files/patch-moz-plugin_Makefile.in	2008-09-24 09:27:18.000000000 +0200
@@ -14,7 +14,7 @@
  install-pluginLTLIBRARIES: $(plugin_LTLIBRARIES)
  	@$(NORMAL_INSTALL)
 -	test -z "$(plugindir)" || $(MKDIR_P) "$(DESTDIR)$(plugindir)"
-+@WITH_MOZILLA_TRUE@	test -z "$(plugindir)" || $(MKDIR_P) -p "$(DESTDIR)$(plugindir)"
++@WITH_MOZILLA_TRUE@	test -z "$(plugindir)" || $(MKDIR_P) "$(DESTDIR)$(plugindir)"
  	@list='$(plugin_LTLIBRARIES)'; for p in $$list; do \
  	  if test -f $$p; then \
  	    f=$(am__strip_dir) \


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200809240743.m8O7hDgo011875>