From nobody@FreeBSD.org  Wed Sep 24 07:43:14 2008
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 844F6106564A
	for <freebsd-gnats-submit@FreeBSD.org>; Wed, 24 Sep 2008 07:43:14 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21])
	by mx1.freebsd.org (Postfix) with ESMTP id 763C28FC23
	for <freebsd-gnats-submit@FreeBSD.org>; Wed, 24 Sep 2008 07:43:14 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.14.3/8.14.3) with ESMTP id m8O7hDen011880
	for <freebsd-gnats-submit@FreeBSD.org>; Wed, 24 Sep 2008 07:43:13 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.14.3/8.14.3/Submit) id m8O7hDgo011875;
	Wed, 24 Sep 2008 07:43:13 GMT
	(envelope-from nobody)
Message-Id: <200809240743.m8O7hDgo011875@www.freebsd.org>
Date: Wed, 24 Sep 2008 07:43:13 GMT
From: Barbara <barbara.xxx1975@libero.it>
To: freebsd-gnats-submit@FreeBSD.org
Subject: graphics/librsvg2 fails to install WITH_MOZILLA_PLUGIN
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         127603
>Category:       ports
>Synopsis:       graphics/librsvg2 fails to install WITH_MOZILLA_PLUGIN
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    gnome
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Sep 24 07:50:01 UTC 2008
>Closed-Date:    Wed Sep 24 16:17:18 UTC 2008
>Last-Modified:  Wed Sep 24 16:20:01 UTC 2008
>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:
Responsible-Changed-From-To: freebsd-ports-bugs->gnome 
Responsible-Changed-By: edwin 
Responsible-Changed-When: Wed Sep 24 07:50:06 UTC 2008 
Responsible-Changed-Why:  
Over to maintainer (via the GNATS Auto Assign Tool) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=127603 

From: "barbara.xxx1975@libero.it" <barbara.xxx1975@libero.it>
To: bug-followup@FreeBSD.org
Cc: freebsd-ports-bugs@FreeBSD.org
Subject: Re: ports/127603: graphics/librsvg2 fails to install
 WITH_MOZILLA_PLUGIN
Date: Wed, 24 Sep 2008 11:24:14 +0200 (CEST)

 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?
 
State-Changed-From-To: open->closed 
State-Changed-By: mezz 
State-Changed-When: Wed Sep 24 16:16:12 UTC 2008 
State-Changed-Why:  
Committed, thanks! 

> BTW is there a way to properly do that? 

Do what? 

http://www.freebsd.org/cgi/query-pr.cgi?pr=127603 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/127603: commit references a PR
Date: Wed, 24 Sep 2008 16:15:42 +0000 (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"
 
>Unformatted:
