Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 15 Jun 2011 03:24:01 +0800 (CST)
From:      Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        FreeBSD-gnats-submit@freebsd.org
Cc:        mono@FreeBSD.org
Subject:   [PATCH] devel/mono-addins: fix make package when WITHOUT_GTK2 is set
Message-ID:  <20110614192401.CC20F4982@sunpoet.net>

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

>Submitter-Id:	current-users
>Originator:	Sunpoet Po-Chuan Hsieh
>Organization:	The FreeBSD Project
>Confidential:	no 
>Synopsis:	[PATCH] devel/mono-addins: fix make package when WITHOUT_GTK2 is set
>Severity:	non-critical
>Priority:	low
>Category:	ports 
>Class:		change-request
>Release:	FreeBSD 8.2-STABLE amd64
>Environment:
System: FreeBSD bonjour.sunpoet.net 8.2-STABLE FreeBSD 8.2-STABLE #0: Wed Mar 30 10:30:31 CST 2011
>Description:
- Fix make package when WITHOUT_GTK2 is set

Do not bump PORTREVISION cause it does not affect default package.

Port maintainer (mono@FreeBSD.org) is cc'd.

Generated with FreeBSD Port Tools 0.99
>How-To-Repeat:

% make WITHOUT_GTK2=yes package
...
===>   Compressing manual pages for mono-addins-0.6.1
===>   Registering installation for mono-addins-0.6.1
===>  Building package for mono-addins-0.6.1
tar: lib/mono/gac/Mono.Addins.Gui/0.6.0.0__0738eb9f132ed756/Mono.Addins.Gui.dll: Cannot stat: No such file or directory
tar: lib/mono/gac/Mono.Addins.Gui/0.6.0.0__0738eb9f132ed756/Mono.Addins.Gui.dll.mdb: Cannot stat: No such file or directory
tar: lib/mono/gac/policy.0.5.Mono.Addins.Gui/0.0.0.0__0738eb9f132ed756/policy.0.5.Mono.Addins.Gui.dll: Cannot stat: No such file or directory
tar: lib/mono/gac/policy.0.5.Mono.Addins.Gui/0.0.0.0__0738eb9f132ed756/policy.0.5.config: Cannot stat: No such file or directory
tar: Error exit delayed from previous errors.
pkg_create: make_dist: tar command failed with code 256
*** Error code 1

>Fix:

--- mono-addins-0.6.1_1.patch begins here ---
Index: pkg-plist
===================================================================
RCS file: /home/ncvs/ports/devel/mono-addins/pkg-plist,v
retrieving revision 1.6
diff -u -u -r1.6 pkg-plist
--- pkg-plist	12 Jun 2011 19:06:20 -0000	1.6
+++ pkg-plist	14 Jun 2011 18:35:05 -0000
@@ -1,8 +1,8 @@
 bin/mautil
 lib/mono/gac/Mono.Addins.CecilReflector/%%VER%%.0__0738eb9f132ed756/Mono.Addins.CecilReflector.dll
 lib/mono/gac/Mono.Addins.CecilReflector/%%VER%%.0__0738eb9f132ed756/Mono.Addins.CecilReflector.dll.mdb
-lib/mono/gac/Mono.Addins.Gui/%%VER%%.0__0738eb9f132ed756/Mono.Addins.Gui.dll
-lib/mono/gac/Mono.Addins.Gui/%%VER%%.0__0738eb9f132ed756/Mono.Addins.Gui.dll.mdb
+%%OPT_GTK2%%lib/mono/gac/Mono.Addins.Gui/%%VER%%.0__0738eb9f132ed756/Mono.Addins.Gui.dll
+%%OPT_GTK2%%lib/mono/gac/Mono.Addins.Gui/%%VER%%.0__0738eb9f132ed756/Mono.Addins.Gui.dll.mdb
 lib/mono/gac/Mono.Addins.MSBuild/%%VER%%.0__0738eb9f132ed756/Mono.Addins.MSBuild.dll
 lib/mono/gac/Mono.Addins.MSBuild/%%VER%%.0__0738eb9f132ed756/Mono.Addins.MSBuild.dll.mdb
 lib/mono/gac/Mono.Addins.Setup/%%VER%%.0__0738eb9f132ed756/Mono.Addins.Setup.dll
@@ -41,8 +41,8 @@
 lib/mono/gac/policy.0.4.Mono.Addins/0.0.0.0__0738eb9f132ed756/policy.0.4.config
 lib/mono/gac/policy.0.5.Mono.Addins.CecilReflector/0.0.0.0__0738eb9f132ed756/policy.0.5.Mono.Addins.CecilReflector.dll
 lib/mono/gac/policy.0.5.Mono.Addins.CecilReflector/0.0.0.0__0738eb9f132ed756/policy.0.5.config
-lib/mono/gac/policy.0.5.Mono.Addins.Gui/0.0.0.0__0738eb9f132ed756/policy.0.5.Mono.Addins.Gui.dll
-lib/mono/gac/policy.0.5.Mono.Addins.Gui/0.0.0.0__0738eb9f132ed756/policy.0.5.config
+%%OPT_GTK2%%lib/mono/gac/policy.0.5.Mono.Addins.Gui/0.0.0.0__0738eb9f132ed756/policy.0.5.Mono.Addins.Gui.dll
+%%OPT_GTK2%%lib/mono/gac/policy.0.5.Mono.Addins.Gui/0.0.0.0__0738eb9f132ed756/policy.0.5.config
 lib/mono/gac/policy.0.5.Mono.Addins.MSBuild/0.0.0.0__0738eb9f132ed756/policy.0.5.Mono.Addins.MSBuild.dll
 lib/mono/gac/policy.0.5.Mono.Addins.MSBuild/0.0.0.0__0738eb9f132ed756/policy.0.5.config
 lib/mono/gac/policy.0.5.Mono.Addins.Setup/0.0.0.0__0738eb9f132ed756/policy.0.5.Mono.Addins.Setup.dll
--- mono-addins-0.6.1_1.patch ends here ---




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