aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormezz <mezz@FreeBSD.org>2004-11-26 13:44:10 +0800
committermezz <mezz@FreeBSD.org>2004-11-26 13:44:10 +0800
commit5a9e416334faeab340deb7245f566010956b0a62 (patch)
tree8ba4e6535b2e0f7751858f0f984c0739afc8356b
parentdda26c56d5e85163d2de7b86b6529daa7172532c (diff)
downloadfreebsd-ports-graphics-5a9e416334faeab340deb7245f566010956b0a62.tar.gz
freebsd-ports-graphics-5a9e416334faeab340deb7245f566010956b0a62.tar.zst
freebsd-ports-graphics-5a9e416334faeab340deb7245f566010956b0a62.zip
Update to 1.0.4. Mono has been set to IGNORE on 5.x if OSVERSION is below
503000. Mono 1.0.1 and greater have been broken on earlier OSVERSION versions. Warning, not all C# apps will not working, because FreeBSD still need to work more on pthread issues. Few C# apps such as Blam, Muine, Tomboy and etc work perfect. PR: ports/74397 ports/74398 Submitted by: Tom McLaughlin <tmclaugh@sdf.lonestar.org> Project by: BSD# - http://forge.novell.com/modules/xfmod/project/?bsd-sharp Approved by: maintainer timeout (no contract for months)
-rw-r--r--lang/mono/Makefile20
-rw-r--r--lang/mono/distinfo4
-rw-r--r--lang/mono/files/patch-configure21
-rw-r--r--lang/mono/files/patch-install-sh11
-rw-r--r--lang/mono/files/patch-libgc_Makefile.in14
-rw-r--r--lang/mono/files/patch-libgc_configure13
-rw-r--r--lang/mono/files/patch-libgc_dyn_load.c16
-rw-r--r--lang/mono/files/patch-libgc_ltmain.sh42
-rw-r--r--lang/mono/files/patch-ltmain.sh51
-rw-r--r--lang/mono/files/patch-mono_Makefile.in11
-rw-r--r--lang/mono/files/patch-mono_metadata_assembly.c12
-rw-r--r--lang/mono/pkg-descr4
-rw-r--r--lang/mono/pkg-plist4
-rw-r--r--x11-toolkits/gtk-sharp-devel/Makefile8
-rw-r--r--x11-toolkits/gtk-sharp-devel/distinfo4
-rw-r--r--x11-toolkits/gtk-sharp-devel/files/patch-art_art-sharp.dll.config.in2
-rw-r--r--x11-toolkits/gtk-sharp-devel/files/patch-configure15
-rw-r--r--x11-toolkits/gtk-sharp-devel/files/patch-ltmain.sh41
-rw-r--r--x11-toolkits/gtk-sharp-devel/files/patch-pango_pango-sharp.dll.config.in8
-rw-r--r--x11-toolkits/gtk-sharp-devel/files/patch-sample_rsvg_Makefile.in11
-rw-r--r--x11-toolkits/gtk-sharp-devel/pkg-plist58
-rw-r--r--x11-toolkits/gtk-sharp/Makefile8
-rw-r--r--x11-toolkits/gtk-sharp/distinfo4
-rw-r--r--x11-toolkits/gtk-sharp/files/patch-art_art-sharp.dll.config.in2
-rw-r--r--x11-toolkits/gtk-sharp/files/patch-configure15
-rw-r--r--x11-toolkits/gtk-sharp/files/patch-ltmain.sh41
-rw-r--r--x11-toolkits/gtk-sharp/files/patch-pango_pango-sharp.dll.config.in8
-rw-r--r--x11-toolkits/gtk-sharp/files/patch-sample_rsvg_Makefile.in11
-rw-r--r--x11-toolkits/gtk-sharp/pkg-plist58
-rw-r--r--x11-toolkits/gtk-sharp10/Makefile8
-rw-r--r--x11-toolkits/gtk-sharp10/distinfo4
-rw-r--r--x11-toolkits/gtk-sharp10/files/patch-art_art-sharp.dll.config.in2
-rw-r--r--x11-toolkits/gtk-sharp10/files/patch-configure15
-rw-r--r--x11-toolkits/gtk-sharp10/files/patch-ltmain.sh41
-rw-r--r--x11-toolkits/gtk-sharp10/files/patch-pango_pango-sharp.dll.config.in8
-rw-r--r--x11-toolkits/gtk-sharp10/files/patch-sample_rsvg_Makefile.in11
-rw-r--r--x11-toolkits/gtk-sharp10/pkg-plist58
-rw-r--r--x11-toolkits/gtk-sharp20/Makefile8
-rw-r--r--x11-toolkits/gtk-sharp20/distinfo4
-rw-r--r--x11-toolkits/gtk-sharp20/files/patch-art_art-sharp.dll.config.in2
-rw-r--r--x11-toolkits/gtk-sharp20/files/patch-configure15
-rw-r--r--x11-toolkits/gtk-sharp20/files/patch-ltmain.sh41
-rw-r--r--x11-toolkits/gtk-sharp20/files/patch-pango_pango-sharp.dll.config.in8
-rw-r--r--x11-toolkits/gtk-sharp20/files/patch-sample_rsvg_Makefile.in11
-rw-r--r--x11-toolkits/gtk-sharp20/pkg-plist58
45 files changed, 271 insertions, 540 deletions
diff --git a/lang/mono/Makefile b/lang/mono/Makefile
index d5258ade992..b0299c23130 100644
--- a/lang/mono/Makefile
+++ b/lang/mono/Makefile
@@ -6,25 +6,25 @@
#
PORTNAME= mono
-PORTVERSION= 1.0
-PORTREVISION= 1
+PORTVERSION= 1.0.4
CATEGORIES= lang
-MASTER_SITES= http://mono.ximian.com/archive/${PORTVERSION}/
+MASTER_SITES= http://www.go-mono.com/archive/${PORTVERSION}/
MAINTAINER= coop9211@uidaho.edu
COMMENT= An open source implementation of .NET Development Framework
USE_REINPLACE= yes
USE_BISON= yes
-USE_GNOME= gnomehack glib20 pkgconfig
+USE_GNOME= gnomehack glib20
USE_GMAKE= yes
-GNU_CONFIGURE= yes
+LIBTOOLFILES= configure libgc/configure
+USE_LIBTOOL_VER=15
INSTALLS_SHLIB= yes
CONFIGURE_ENV= PTHREAD_CFLAGS="${PTHREAD_CFLAGS}" \
PTHREAD_LIBS="${PTHREAD_LIBS}"
CONFIGURE_ARGS= --program-transform-name=\'\' \
--with-gc=included \
- --with-nptl=no
+ --with-tls=pthread
MAN1= cert2spc.1 certmgr.1 chktrust.1 cilc.1 disco.1 gacutil.1 \
genxs.1 ilasm.1 makecert.1 mcs.1 mint.1 mono.1 \
@@ -38,8 +38,12 @@ ONLY_FOR_ARCHS= i386
.if ${OSVERSION} < 500000
EXTRA_PATCHES= ${FILESDIR}/extra-patch-signbit
-.elif ${OSVERSION} < 502113
-IGNORE= "Does not work on 5.X before 502113"
+.elif ${OSVERSION} < 503000
+IGNORE= "Does not work on 5.X before 503000"
.endif
+post-patch:
+ @${REINPLACE_CMD} -e 's|%%X11BASE%%|${X11BASE}|g' \
+ ${WRKSRC}/mono/metadata/assembly.c
+
.include <bsd.port.post.mk>
diff --git a/lang/mono/distinfo b/lang/mono/distinfo
index 3e3b6f9850c..7bf582cc59e 100644
--- a/lang/mono/distinfo
+++ b/lang/mono/distinfo
@@ -1,2 +1,2 @@
-MD5 (mono-1.0.tar.gz) = 23a5787818837893073e2ae56d4ef3ac
-SIZE (mono-1.0.tar.gz) = 18218284
+MD5 (mono-1.0.4.tar.gz) = 272d26525bfa121ee19713051d5b3a01
+SIZE (mono-1.0.4.tar.gz) = 18452996
diff --git a/lang/mono/files/patch-configure b/lang/mono/files/patch-configure
index 529b42aa214..f38ee4a4299 100644
--- a/lang/mono/files/patch-configure
+++ b/lang/mono/files/patch-configure
@@ -1,21 +1,6 @@
---- configure.orig Wed Jul 7 22:19:06 2004
-+++ configure Wed Jul 7 22:35:38 2004
-@@ -2020,10 +2020,10 @@
- ;;
- *-*-*freebsd*|*-*-*openbsd*)
- platform_win32=no
-- CPPFLAGS="$CPPFLAGS -D_THREAD_SAFE -DGC_FREEBSD_THREADS"
-- libmono_cflags="-D_THREAD_SAFE"
-- LDFLAGS="$LDFLAGS -pthread"
-- libmono_ldflags="-pthread"
-+ CPPFLAGS="$CPPFLAGS $PTHREAD_CFLAGS -DGC_FREEBSD_THREADS"
-+ libmono_cflags="$PTHREAD_CFLAGS"
-+ LDFLAGS="$LDFLAGS $PTHREAD_LIBS"
-+ libmono_ldflags="$PTHREAD_LIBS"
- need_link_unlink=yes
- cat >>confdefs.h <<\_ACEOF
- #define PTHREAD_POINTER_ID 1
-@@ -14003,8 +14003,8 @@
+--- configure.orig Wed Aug 4 17:42:34 2004
++++ configure Sun Aug 29 02:39:35 2004
+@@ -14148,8 +14148,8 @@
ACCESS_UNALIGNED="yes"
JIT_SUPPORTED=no
diff --git a/lang/mono/files/patch-install-sh b/lang/mono/files/patch-install-sh
new file mode 100644
index 00000000000..4a0b856ccb1
--- /dev/null
+++ b/lang/mono/files/patch-install-sh
@@ -0,0 +1,11 @@
+--- install-sh.orig Wed Nov 3 03:14:42 2004
++++ install-sh Wed Nov 3 03:14:51 2004
+@@ -56,7 +56,7 @@
+ chgrpprog="${CHGRPPROG-chgrp}"
+ stripprog="${STRIPPROG-strip}"
+ rmprog="${RMPROG-rm}"
+-mkdirprog="${MKDIRPROG-mkdir}"
++mkdirprog="${MKDIRPROG-mkdir -p}"
+
+ transformbasename=
+ transform_arg=
diff --git a/lang/mono/files/patch-libgc_Makefile.in b/lang/mono/files/patch-libgc_Makefile.in
index 5ff277292ad..b1c4ea9f27b 100644
--- a/lang/mono/files/patch-libgc_Makefile.in
+++ b/lang/mono/files/patch-libgc_Makefile.in
@@ -1,11 +1,11 @@
---- libgc/Makefile.in.orig Sat Jun 12 15:40:48 2004
-+++ libgc/Makefile.in Sat Jun 12 15:41:15 2004
-@@ -120,7 +120,7 @@
-
+--- libgc/Makefile.in.orig Tue Nov 2 21:37:01 2004
++++ libgc/Makefile.in Tue Nov 2 21:39:34 2004
+@@ -278,7 +278,7 @@
+ target_alias = @target_alias@
+ target_all = @target_all@
AUTOMAKE_OPTIONS = foreign
-
-SUBDIRS = include doc
+SUBDIRS = include
- noinst_LTLIBRARIES = libmonogc.la
-
+ #
+ # libtool is not capable of creating shared/static versions of a convenience
diff --git a/lang/mono/files/patch-libgc_configure b/lang/mono/files/patch-libgc_configure
deleted file mode 100644
index e97793bfd12..00000000000
--- a/lang/mono/files/patch-libgc_configure
+++ /dev/null
@@ -1,13 +0,0 @@
---- libgc/configure.bak Tue Jun 29 06:29:58 2004
-+++ libgc/configure Wed Jul 7 22:43:28 2004
-@@ -3686,8 +3686,8 @@
- #define GC_FREEBSD_THREADS 1
- _ACEOF
-
-- INCLUDES="$INCLUDES -pthread"
-- THREADLIBS=-pthread
-+ INCLUDES="$INCLUDES $PTHREAD_CFLAGS"
-+ THREADLIBS="$PTHREAD_LIBS"
- ;;
- *-*-solaris*)
- cat >>confdefs.h <<\_ACEOF
diff --git a/lang/mono/files/patch-libgc_dyn_load.c b/lang/mono/files/patch-libgc_dyn_load.c
index 4f3b6864525..849ff39b00e 100644
--- a/lang/mono/files/patch-libgc_dyn_load.c
+++ b/lang/mono/files/patch-libgc_dyn_load.c
@@ -1,24 +1,24 @@
---- libgc/dyn_load.c.orig Tue May 18 14:42:19 2004
-+++ libgc/dyn_load.c Sat Jun 12 15:23:33 2004
-@@ -91,6 +91,13 @@
+--- libgc/dyn_load.c.orig Sat Jul 17 11:31:47 2004
++++ libgc/dyn_load.c Sun Sep 12 04:09:10 2004
+@@ -96,6 +96,13 @@
/* Newer versions of GNU/Linux define this macro. We
* define it similarly for any ELF systems that don't. */
# ifndef ElfW
-+#ifdef __FreeBSD__
++#ifdef FREEBSD
+#if __ELF_WORD_SIZE == 32
+#define ElfW(type) Elf32_##type
+#else
+#define ElfW(type) Elf64_##type
+#endif
+#else
- # ifdef __NetBSD__
+ # ifdef NETBSD
# if ELFSIZE == 32
# define ElfW(type) Elf32_##type
-@@ -104,6 +111,7 @@
- # define ElfW(type) Elf64_##type
+@@ -110,6 +117,7 @@
# endif
# endif
-+#endif
# endif
++#endif
#if defined(SUNOS5DL) && !defined(USE_PROC_FOR_LIBRARIES)
+
diff --git a/lang/mono/files/patch-libgc_ltmain.sh b/lang/mono/files/patch-libgc_ltmain.sh
deleted file mode 100644
index a5226e4b4ad..00000000000
--- a/lang/mono/files/patch-libgc_ltmain.sh
+++ /dev/null
@@ -1,42 +0,0 @@
---- libgc/ltmain.sh.orig Mon Mar 31 09:34:30 2003
-+++ libgc/ltmain.sh Sat Jun 12 15:23:56 2004
-@@ -1060,8 +1060,16 @@
- continue
- ;;
-
-+ -pthread)
-+ compile_command="$compile_command -pthread"
-+ finalize_command="$finalize_command -pthread"
-+ compiler_flags="$compiler_flags -pthread"
-+ continue
-+ ;;
-+
- -module)
- module=yes
-+ build_old_libs=no
- continue
- ;;
-
-@@ -2444,6 +2452,9 @@
- *-*-openbsd*)
- # Do not include libc due to us having libc/libc_r.
- ;;
-+ *-*-freebsd*)
-+ # FreeBSD doesn't need this...
-+ ;;
- *)
- # Add libc to deplibs on all other systems if necessary.
- if test $build_libtool_need_lc = "yes"; then
-@@ -4210,10 +4221,12 @@
- fi
-
- # Install the pseudo-library for information purposes.
-+ if /usr/bin/false; then
- name=`$echo "X$file" | $Xsed -e 's%^.*/%%'`
- instname="$dir/$name"i
- $show "$install_prog $instname $destdir/$name"
- $run eval "$install_prog $instname $destdir/$name" || exit $?
-+ fi
-
- # Maybe install the static library, too.
- test -n "$old_library" && staticlibs="$staticlibs $dir/$old_library"
diff --git a/lang/mono/files/patch-ltmain.sh b/lang/mono/files/patch-ltmain.sh
deleted file mode 100644
index bb660972a6d..00000000000
--- a/lang/mono/files/patch-ltmain.sh
+++ /dev/null
@@ -1,51 +0,0 @@
---- ltmain.sh.orig Thu May 22 16:42:22 2003
-+++ ltmain.sh Tue May 27 12:12:52 2003
-@@ -1072,7 +1072,7 @@
- esac
- elif test "X$arg" = "X-lc_r"; then
- case $host in
-- *-*-openbsd* | *-*-freebsd*)
-+ *-*-openbsd* | *-*-freebsd4*)
- # Do not include libc_r directly, use -pthread flag.
- continue
- ;;
-@@ -1082,8 +1082,16 @@
- continue
- ;;
-
-+ -pthread)
-+ compile_command="$compile_command -pthread"
-+ finalize_command="$finalize_command -pthread"
-+ compiler_flags="$compiler_flags -pthread"
-+ continue
-+ ;;
-+
- -module)
- module=yes
-+ build_old_libs=no
- continue
- ;;
-
-@@ -2498,6 +2506,9 @@
- *-*-openbsd* | *-*-freebsd*)
- # Do not include libc due to us having libc/libc_r.
- ;;
-+ *-*-freebsd*)
-+ # FreeBSD doesn't need this...
-+ ;;
- *)
- # Add libc to deplibs on all other systems if necessary.
- if test $build_libtool_need_lc = "yes"; then
-@@ -4325,10 +4336,12 @@
- fi
-
- # Install the pseudo-library for information purposes.
-+ if /usr/bin/false; then
- name=`$echo "X$file" | $Xsed -e 's%^.*/%%'`
- instname="$dir/$name"i
- $show "$install_prog $instname $destdir/$name"
- $run eval "$install_prog $instname $destdir/$name" || exit $?
-+ fi
-
- # Maybe install the static library, too.
- test -n "$old_library" && staticlibs="$staticlibs $dir/$old_library"
diff --git a/lang/mono/files/patch-mono_Makefile.in b/lang/mono/files/patch-mono_Makefile.in
deleted file mode 100644
index 7c570d2195b..00000000000
--- a/lang/mono/files/patch-mono_Makefile.in
+++ /dev/null
@@ -1,11 +0,0 @@
---- mono/Makefile.in.bak Mon Feb 2 17:02:39 2004
-+++ mono/Makefile.in Tue Mar 2 01:48:16 2004
-@@ -123,7 +123,7 @@
- @PLATFORM_WIN32_TRUE@ arch monograph interpreter mini tests benchmark profiler
-
- @PLATFORM_WIN32_FALSE@SUBDIRS = utils io-layer monoburg os metadata cil dis \
--@PLATFORM_WIN32_FALSE@ arch monograph interpreter mini tests benchmark handles profiler
-+@PLATFORM_WIN32_FALSE@ arch monograph interpreter mini benchmark handles profiler
-
- subdir = mono
- mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
diff --git a/lang/mono/files/patch-mono_metadata_assembly.c b/lang/mono/files/patch-mono_metadata_assembly.c
new file mode 100644
index 00000000000..154e9ae25af
--- /dev/null
+++ b/lang/mono/files/patch-mono_metadata_assembly.c
@@ -0,0 +1,12 @@
+--- mono/metadata/assembly.c.orig Mon Sep 6 13:06:56 2004
++++ mono/metadata/assembly.c Sat Oct 30 02:40:05 2004
+@@ -100,7 +100,8 @@
+ const char *path;
+ char **splitted;
+
+- path = g_getenv ("MONO_GAC_PREFIX");
++ path = g_strjoin(G_SEARCHPATH_SEPARATOR_S, "%%X11BASE%%", g_getenv("MONO_GAC_PREFIX"), NULL);
++
+ if (!path)
+ return;
+
diff --git a/lang/mono/pkg-descr b/lang/mono/pkg-descr
index a808a2ca2ba..6469ff32f88 100644
--- a/lang/mono/pkg-descr
+++ b/lang/mono/pkg-descr
@@ -1,3 +1,3 @@
-An open source implementation of .NET Development Framework
+An open source implementation of .NET Development Framework.
-WWW: http://www.go-mono.com/
+WWW: http://www.mono-project.com/
diff --git a/lang/mono/pkg-plist b/lang/mono/pkg-plist
index c648772641b..e65dfdc6394 100644
--- a/lang/mono/pkg-plist
+++ b/lang/mono/pkg-plist
@@ -189,7 +189,7 @@ lib/mono/gac/I18N.Other/1.0.5000.0__0738eb9f132ed756/I18N.Other.dll
lib/mono/gac/I18N.Rare/1.0.5000.0__0738eb9f132ed756/I18N.Rare.dll
lib/mono/gac/I18N.West/1.0.5000.0__0738eb9f132ed756/I18N.West.dll
lib/mono/gac/I18N/1.0.5000.0__0738eb9f132ed756/I18N.dll
-lib/mono/gac/IBM.Data.DB2/1.0.1641.20878__7c307b91aa13d208/IBM.Data.DB2.dll
+lib/mono/gac/IBM.Data.DB2/1.0.1677.31401__7c307b91aa13d208/IBM.Data.DB2.dll
lib/mono/gac/ICSharpCode.SharpZipLib/0.6.0.0__1b03e6acf1164f73/ICSharpCode.SharpZipLib.dll
lib/mono/gac/Microsoft.VisualBasic/7.0.5000.0__b03f5f7f11d50a3a/Microsoft.VisualBasic.dll
lib/mono/gac/Microsoft.VisualC/7.0.5000.0__b03f5f7f11d50a3a/Microsoft.VisualC.dll
@@ -319,7 +319,7 @@ share/mono/cil/cil-opcodes.xml
@dirrm lib/mono/gac/Microsoft.VisualBasic
@dirrm lib/mono/gac/ICSharpCode.SharpZipLib/0.6.0.0__1b03e6acf1164f73
@dirrm lib/mono/gac/ICSharpCode.SharpZipLib
-@dirrm lib/mono/gac/IBM.Data.DB2/1.0.1641.20878__7c307b91aa13d208
+@dirrm lib/mono/gac/IBM.Data.DB2/1.0.1677.31401__7c307b91aa13d208
@dirrm lib/mono/gac/IBM.Data.DB2
@dirrm lib/mono/gac/I18N/1.0.5000.0__0738eb9f132ed756
@dirrm lib/mono/gac/I18N.West/1.0.5000.0__0738eb9f132ed756
diff --git a/x11-toolkits/gtk-sharp-devel/Makefile b/x11-toolkits/gtk-sharp-devel/Makefile
index d2310bfa8a4..90199d6b07d 100644
--- a/x11-toolkits/gtk-sharp-devel/Makefile
+++ b/x11-toolkits/gtk-sharp-devel/Makefile
@@ -6,10 +6,9 @@
#
PORTNAME= gtk-sharp
-PORTVERSION= 1.0
-PORTREVISION= 3
+PORTVERSION= 1.0.4
CATEGORIES= x11-toolkits
-MASTER_SITES= http://mono.ximian.com/archive/${PORTVERSION}/
+MASTER_SITES= http://www.go-mono.com/archive/${PORTVERSION}/
MAINTAINER= coop9211@uidaho.edu
COMMENT= GTK+ and GNOME interfaces for the .NET runtime
@@ -17,7 +16,8 @@ COMMENT= GTK+ and GNOME interfaces for the .NET runtime
BUILD_DEPENDS= mono:${PORTSDIR}/lang/mono
RUN_DEPENDS= ${BUILD_DEPENDS}
-GNU_CONFIGURE= yes
+USE_X_PREFIX= yes
+USE_LIBTOOL_VER=15
USE_REINPLACE= yes
INSTALLS_SHLIB= yes
USE_GMAKE= yes
diff --git a/x11-toolkits/gtk-sharp-devel/distinfo b/x11-toolkits/gtk-sharp-devel/distinfo
index feee8052543..a3360a8bade 100644
--- a/x11-toolkits/gtk-sharp-devel/distinfo
+++ b/x11-toolkits/gtk-sharp-devel/distinfo
@@ -1,2 +1,2 @@
-MD5 (gtk-sharp-1.0.tar.gz) = 6eab56e11c1e1245ec6af12312969399
-SIZE (gtk-sharp-1.0.tar.gz) = 1424982
+MD5 (gtk-sharp-1.0.4.tar.gz) = c105e94934a22f7734c5657948977078
+SIZE (gtk-sharp-1.0.4.tar.gz) = 1774252
diff --git a/x11-toolkits/gtk-sharp-devel/files/patch-art_art-sharp.dll.config.in b/x11-toolkits/gtk-sharp-devel/files/patch-art_art-sharp.dll.config.in
index 1e97f4b5116..a4e805dbfc4 100644
--- a/x11-toolkits/gtk-sharp-devel/files/patch-art_art-sharp.dll.config.in
+++ b/x11-toolkits/gtk-sharp-devel/files/patch-art_art-sharp.dll.config.in
@@ -3,5 +3,5 @@
@@ -1,3 +1,3 @@
<configuration>
- <dllmap dll="art_lgpl" target="libart_lgpl_2@LIB_PREFIX@.2@LIB_SUFFIX@"/>
-+ <dllmap dll="art_lgpl" target="libart_lgpl@LIB_PREFIX@@LIB_SUFFIX@"/>
++ <dllmap dll="art_lgpl" target="libart_lgpl_2@LIB_PREFIX@@LIB_SUFFIX@"/>
</configuration>
diff --git a/x11-toolkits/gtk-sharp-devel/files/patch-configure b/x11-toolkits/gtk-sharp-devel/files/patch-configure
index 751dc04f6af..93536b31fff 100644
--- a/x11-toolkits/gtk-sharp-devel/files/patch-configure
+++ b/x11-toolkits/gtk-sharp-devel/files/patch-configure
@@ -1,6 +1,6 @@
---- configure.bak Tue Jun 29 09:02:24 2004
-+++ configure Thu Jul 8 02:13:18 2004
-@@ -8441,7 +8441,7 @@
+--- configure.orig Tue Nov 2 23:10:31 2004
++++ configure Tue Nov 2 23:13:55 2004
+@@ -20740,7 +20740,7 @@
@@ -9,3 +9,12 @@
# Extract the first word of "pkg-config", so it can be a program name with args.
set dummy pkg-config; ac_word=$2
+@@ -20909,7 +20909,7 @@
+
+
+ if test "x$has_mono" = "xtrue"; then
+-GACUTIL_FLAGS='/package $(PACKAGE) /gacdir $(DESTDIR)$(libdir)'
++GACUTIL_FLAGS='/package $(PACKAGE) /root $(DESTDIR)$(libdir) /gacdir $(DESTDIR)$(libdir)'
+ GENERATED_SOURCES=generated/*.cs
+ # Extract the first word of "mono", so it can be a program name with args.
+ set dummy mono; ac_word=$2
diff --git a/x11-toolkits/gtk-sharp-devel/files/patch-ltmain.sh b/x11-toolkits/gtk-sharp-devel/files/patch-ltmain.sh
deleted file mode 100644
index 642e3d0bdb0..00000000000
--- a/x11-toolkits/gtk-sharp-devel/files/patch-ltmain.sh
+++ /dev/null
@@ -1,41 +0,0 @@
---- ltmain.sh.orig Thu May 22 16:42:22 2003
-+++ ltmain.sh Tue May 27 12:12:52 2003
-@@ -1072,7 +1072,7 @@
- esac
- elif test "X$arg" = "X-lc_r"; then
- case $host in
-- *-*-openbsd* | *-*-freebsd*)
-+ *-*-openbsd* | *-*-freebsd4*)
- # Do not include libc_r directly, use -pthread flag.
- continue
- ;;
-@@ -1082,8 +1082,16 @@
- continue
- ;;
-
-+ -pthread)
-+ compile_command="$compile_command -pthread"
-+ finalize_command="$finalize_command -pthread"
-+ compiler_flags="$compiler_flags -pthread"
-+ continue
-+ ;;
-+
- -module)
- module=yes
-+ build_old_libs=no
- continue
- ;;
-
-@@ -4325,10 +4336,12 @@
- fi
-
- # Install the pseudo-library for information purposes.
-+ if /usr/bin/false; then
- name=`$echo "X$file" | $Xsed -e 's%^.*/%%'`
- instname="$dir/$name"i
- $show "$install_prog $instname $destdir/$name"
- $run eval "$install_prog $instname $destdir/$name" || exit $?
-+ fi
-
- # Maybe install the static library, too.
- test -n "$old_library" && staticlibs="$staticlibs $dir/$old_library"
diff --git a/x11-toolkits/gtk-sharp-devel/files/patch-pango_pango-sharp.dll.config.in b/x11-toolkits/gtk-sharp-devel/files/patch-pango_pango-sharp.dll.config.in
index 58b403b8255..7da66e51ed5 100644
--- a/x11-toolkits/gtk-sharp-devel/files/patch-pango_pango-sharp.dll.config.in
+++ b/x11-toolkits/gtk-sharp-devel/files/patch-pango_pango-sharp.dll.config.in
@@ -1,7 +1,9 @@
---- pango/pango-sharp.dll.config.in.orig Wed Jul 14 22:25:54 2004
-+++ pango/pango-sharp.dll.config.in Wed Jul 14 22:26:14 2004
-@@ -1,3 +1,3 @@
+--- pango/pango-sharp.dll.config.in.orig Fri Aug 20 17:04:23 2004
++++ pango/pango-sharp.dll.config.in Tue Oct 26 21:38:51 2004
+@@ -1,4 +1,4 @@
<configuration>
+- <dllmap dll="libglib-2.0-0.dll" target="libglib-2.0@LIB_PREFIX@.0@LIB_SUFFIX@"/>
- <dllmap dll="libpango-1.0-0.dll" target="libpango-1.0@LIB_PREFIX@.0@LIB_SUFFIX@"/>
++ <dllmap dll="libglib-2.0-0.dll" target="libglib-2.0@LIB_PREFIX@@LIB_SUFFIX@"/>
+ <dllmap dll="libpango-1.0-0.dll" target="libpango-1.0@LIB_PREFIX@@LIB_SUFFIX@"/>
</configuration>
diff --git a/x11-toolkits/gtk-sharp-devel/files/patch-sample_rsvg_Makefile.in b/x11-toolkits/gtk-sharp-devel/files/patch-sample_rsvg_Makefile.in
deleted file mode 100644
index 6765daaf112..00000000000
--- a/x11-toolkits/gtk-sharp-devel/files/patch-sample_rsvg_Makefile.in
+++ /dev/null
@@ -1,11 +0,0 @@
---- sample/rsvg/Makefile.in.bak Tue Jun 29 09:03:12 2004
-+++ sample/rsvg/Makefile.in Thu Jul 8 16:27:33 2004
-@@ -119,7 +119,7 @@
- am__include = @am__include@
- am__quote = @am__quote@
- install_sh = @install_sh@
--assemblies = ../../glib/glib-sharp.dll ../../pango/pango-sharp.dll ../../atk/atk-sharp.dll ../../gdk/gdk-sharp.dll ../../gtk/gtk-sharp.dll ../../rsvg/rsvg-sharp.dll
-+assemblies = ../../glib/glib-sharp.dll ../../pango/pango-sharp.dll ../../atk/atk-sharp.dll ../../gdk/gdk-sharp.dll ../../gtk/gtk-sharp.dll ../../art/art-sharp.dll ../../rsvg/rsvg-sharp.dll
- references = $(addprefix /r:, $(assemblies))
-
- @ENABLE_RSVG_TRUE@TARGETS = svghelloworld.exe
diff --git a/x11-toolkits/gtk-sharp-devel/pkg-plist b/x11-toolkits/gtk-sharp-devel/pkg-plist
index 6cd2a13ff49..d008333cd24 100644
--- a/x11-toolkits/gtk-sharp-devel/pkg-plist
+++ b/x11-toolkits/gtk-sharp-devel/pkg-plist
@@ -1,48 +1,48 @@
-@unexec gacutil /u glib-sharp.dll /f /package gtk-sharp /gacdir %D/lib > /dev/null || /usr/bin/true
+@unexec gacutil /u glib-sharp.dll /f /package gtk-sharp /root %D/lib /gacdir %D/lib > /dev/null || /usr/bin/true
lib/mono/gtk-sharp/glib-sharp.dll
-@exec gacutil /i glib-sharp.dll /f /package gtk-sharp /gacdir %D/lib > /dev/null
-@unexec gacutil /u pango-sharp.dll /f /package gtk-sharp /gacdir %D/lib > /dev/null || /usr/bin/true
+@exec gacutil /i glib-sharp.dll /f /package gtk-sharp /root %D/lib /gacdir %D/lib > /dev/null
+@unexec gacutil /u pango-sharp.dll /f /package gtk-sharp /root %D/lib /gacdir %D/lib > /dev/null || /usr/bin/true
lib/mono/gtk-sharp/pango-sharp.dll
-@exec gacutil /i pango-sharp.dll /f /package gtk-sharp /gacdir %D/lib > /dev/null
-@unexec gacutil /u atk-sharp.dll /f /package gtk-sharp /gacdir %D/lib > /dev/null || /usr/bin/true
+@exec gacutil /i pango-sharp.dll /f /package gtk-sharp /root %D/lib /gacdir %D/lib > /dev/null
+@unexec gacutil /u atk-sharp.dll /f /package gtk-sharp /root %D/lib /gacdir %D/lib > /dev/null || /usr/bin/true
lib/mono/gtk-sharp/atk-sharp.dll
-@exec gacutil /i atk-sharp.dll /f /package gtk-sharp /gacdir %D/lib > /dev/null
-@unexec gacutil /u gdk-sharp.dll /f /package gtk-sharp /gacdir %D/lib > /dev/null || /usr/bin/true
+@exec gacutil /i atk-sharp.dll /f /package gtk-sharp /root %D/lib /gacdir %D/lib > /dev/null
+@unexec gacutil /u gdk-sharp.dll /f /package gtk-sharp /root %D/lib /gacdir %D/lib > /dev/null || /usr/bin/true
lib/mono/gtk-sharp/gdk-sharp.dll
-@exec gacutil /i gdk-sharp.dll /f /package gtk-sharp /gacdir %D/lib > /dev/null
+@exec gacutil /i gdk-sharp.dll /f /package gtk-sharp /root %D/lib /gacdir %D/lib > /dev/null
@unexec gacutil /u gtk-sharp.dll /f /package gtk-sharp /gacdir %D/lib > /dev/null || /usr/bin/true
lib/mono/gtk-sharp/gtk-sharp.dll
-@exec gacutil /i gtk-sharp.dll /f /package gtk-sharp /gacdir %D/lib > /dev/null
-@unexec gacutil /u glade-sharp.dll /f /package gtk-sharp /gacdir %D/lib > /dev/null || /usr/bin/true
+@exec gacutil /i gtk-sharp.dll /f /package gtk-sharp /root %D/lib /gacdir %D/lib > /dev/null
+@unexec gacutil /u glade-sharp.dll /f /package gtk-sharp /root %D/lib /gacdir %D/lib > /dev/null || /usr/bin/true
lib/mono/gtk-sharp/glade-sharp.dll
-@exec gacutil /i glade-sharp.dll /f /package gtk-sharp /gacdir %D/lib > /dev/null
-@unexec gacutil /u art-sharp.dll /f /package gtk-sharp /gacdir %D/lib > /dev/null || /usr/bin/true
+@exec gacutil /i glade-sharp.dll /f /package gtk-sharp /root %D/lib /gacdir %D/lib > /dev/null
+@unexec gacutil /u art-sharp.dll /f /package gtk-sharp /root %D/lib /gacdir %D/lib > /dev/null || /usr/bin/true
lib/mono/gtk-sharp/art-sharp.dll
-@exec gacutil /i art-sharp.dll /f /package gtk-sharp /gacdir %D/lib > /dev/null
-@unexec gacutil /u gnome-sharp.dll /f /package gtk-sharp /gacdir %D/lib > /dev/null || /usr/bin/true
+@exec gacutil /i art-sharp.dll /f /package gtk-sharp /root %D/lib /gacdir %D/lib > /dev/null
+@unexec gacutil /u gnome-sharp.dll /f /package gtk-sharp /root %D/lib /gacdir %D/lib > /dev/null || /usr/bin/true
lib/mono/gtk-sharp/gnome-sharp.dll
-@exec gacutil /i gnome-sharp.dll /f /package gtk-sharp /gacdir %D/lib > /dev/null
-@unexec gacutil /u gda-sharp.dll /f /package gtk-sharp /gacdir %D/lib > /dev/null || /usr/bin/true
+@exec gacutil /i gnome-sharp.dll /f /package gtk-sharp /root %D/lib /gacdir %D/lib > /dev/null
+@unexec gacutil /u gda-sharp.dll /f /package gtk-sharp /root %D/lib /gacdir %D/lib > /dev/null || /usr/bin/true
lib/mono/gtk-sharp/gda-sharp.dll
-@exec gacutil /i gda-sharp.dll /f /package gtk-sharp /gacdir %D/lib > /dev/null
-@unexec gacutil /u gnomedb-sharp.dll /f /package gtk-sharp /gacdir %D/lib > /dev/null || /usr/bin/true
+@exec gacutil /i gda-sharp.dll /f /package gtk-sharp /root %D/lib /gacdir %D/lib > /dev/null
+@unexec gacutil /u gnomedb-sharp.dll /f /package gtk-sharp /root %D/lib /gacdir %D/lib > /dev/null || /usr/bin/true
lib/mono/gtk-sharp/gnomedb-sharp.dll
-@exec gacutil /i gnomedb-sharp.dll /f /package gtk-sharp /gacdir %D/lib > /dev/null
-@unexec gacutil /u gtkhtml-sharp.dll /f /package gtk-sharp /gacdir %D/lib > /dev/null || /usr/bin/true
+@exec gacutil /i gnomedb-sharp.dll /f /package gtk-sharp /root %D/lib /gacdir %D/lib > /dev/null
+@unexec gacutil /u gtkhtml-sharp.dll /f /package gtk-sharp /root %D/lib /gacdir %D/lib > /dev/null || /usr/bin/true
lib/mono/gtk-sharp/gtkhtml-sharp.dll
-@exec gacutil /i gtkhtml-sharp.dll /f /package gtk-sharp /gacdir %D/lib > /dev/null
-@unexec gacutil /u gconf-sharp.dll /f /package gtk-sharp /gacdir %D/lib > /dev/null || /usr/bin/true
+@exec gacutil /i gtkhtml-sharp.dll /f /package gtk-sharp /root %D/lib /gacdir %D/lib > /dev/null
+@unexec gacutil /u gconf-sharp.dll /f /package gtk-sharp /root %D/lib /gacdir %D/lib > /dev/null || /usr/bin/true
lib/mono/gtk-sharp/gconf-sharp.dll
-@exec gacutil /i gconf-sharp.dll /f /package gtk-sharp /gacdir %D/lib > /dev/null
-@unexec gacutil /u gconf-sharp-peditors.dll /f /package gtk-sharp /gacdir %D/lib > /dev/null || /usr/bin/true
+@exec gacutil /i gconf-sharp.dll /f /package gtk-sharp /root %D/lib /gacdir %D/lib > /dev/null
+@unexec gacutil /u gconf-sharp-peditors.dll /f /package gtk-sharp /root %D/lib /gacdir %D/lib > /dev/null || /usr/bin/true
lib/mono/gtk-sharp/gconf-sharp-peditors.dll
-@exec gacutil /i gconf-sharp-peditors.dll /f /package gtk-sharp /gacdir %D/lib > /dev/null
-@unexec gacutil /u rsvg-sharp.dll /f /package gtk-sharp /gacdir %D/lib > /dev/null || /usr/bin/true
+@exec gacutil /i gconf-sharp-peditors.dll /f /package gtk-sharp /root %D/lib /gacdir %D/lib > /dev/null
+@unexec gacutil /u rsvg-sharp.dll /f /package gtk-sharp /root %D/lib /gacdir %D/lib > /dev/null || /usr/bin/true
lib/mono/gtk-sharp/rsvg-sharp.dll
-@exec gacutil /i rsvg-sharp.dll /f /package gtk-sharp /gacdir %D/lib > /dev/null
-@unexec gacutil /u vte-sharp.dll /f /package gtk-sharp /gacdir %D/lib > /dev/null || /usr/bin/true
+@exec gacutil /i rsvg-sharp.dll /f /package gtk-sharp /root %D/lib /gacdir %D/lib > /dev/null
+@unexec gacutil /u vte-sharp.dll /f /package gtk-sharp /root %D/lib /gacdir %D/lib > /dev/null || /usr/bin/true
lib/mono/gtk-sharp/vte-sharp.dll
-@exec gacutil /i vte-sharp.dll /f /package gtk-sharp /gacdir %D/lib > /dev/null
+@exec gacutil /i vte-sharp.dll /f /package gtk-sharp /root %D/lib /gacdir %D/lib > /dev/null
bin/gapi-codegen
bin/gapi-fixup
bin/gapi-fixup.exe
diff --git a/x11-toolkits/gtk-sharp/Makefile b/x11-toolkits/gtk-sharp/Makefile
index d2310bfa8a4..90199d6b07d 100644
--- a/x11-toolkits/gtk-sharp/Makefile
+++ b/x11-toolkits/gtk-sharp/Makefile
@@ -6,10 +6,9 @@
#
PORTNAME= gtk-sharp
-PORTVERSION= 1.0
-PORTREVISION= 3
+PORTVERSION= 1.0.4
CATEGORIES= x11-toolkits
-MASTER_SITES= http://mono.ximian.com/archive/${PORTVERSION}/
+MASTER_SITES= http://www.go-mono.com/archive/${PORTVERSION}/
MAINTAINER= coop9211@uidaho.edu
COMMENT= GTK+ and GNOME interfaces for the .NET runtime
@@ -17,7 +16,8 @@ COMMENT= GTK+ and GNOME interfaces for the .NET runtime
BUILD_DEPENDS= mono:${PORTSDIR}/lang/mono
RUN_DEPENDS= ${BUILD_DEPENDS}
-GNU_CONFIGURE= yes
+USE_X_PREFIX= yes
+USE_LIBTOOL_VER=15
USE_REINPLACE= yes
INSTALLS_SHLIB= yes
USE_GMAKE= yes
diff --git a/x11-toolkits/gtk-sharp/distinfo b/x11-toolkits/gtk-sharp/distinfo
index feee8052543..a3360a8bade 100644
--- a/x11-toolkits/gtk-sharp/distinfo
+++ b/x11-toolkits/gtk-sharp/distinfo
@@ -1,2 +1,2 @@
-MD5 (gtk-sharp-1.0.tar.gz) = 6eab56e11c1e1245ec6af12312969399
-SIZE (gtk-sharp-1.0.tar.gz) = 1424982
+MD5 (gtk-sharp-1.0.4.tar.gz) = c105e94934a22f7734c5657948977078
+SIZE (gtk-sharp-1.0.4.tar.gz) = 1774252
diff --git a/x11-toolkits/gtk-sharp/files/patch-art_art-sharp.dll.config.in b/x11-toolkits/gtk-sharp/files/patch-art_art-sharp.dll.config.in
index 1e97f4b5116..a4e805dbfc4 100644
--- a/x11-toolkits/gtk-sharp/files/patch-art_art-sharp.dll.config.in
+++ b/x11-toolkits/gtk-sharp/files/patch-art_art-sharp.dll.config.in
@@ -3,5 +3,5 @@
@@ -1,3 +1,3 @@
<configuration>
- <dllmap dll="art_lgpl" target="libart_lgpl_2@LIB_PREFIX@.2@LIB_SUFFIX@"/>
-+ <dllmap dll="art_lgpl" target="libart_lgpl@LIB_PREFIX@@LIB_SUFFIX@"/>
++ <dllmap dll="art_lgpl" target="libart_lgpl_2@LIB_PREFIX@@LIB_SUFFIX@"/>
</configuration>
diff --git a/x11-toolkits/gtk-sharp/files/patch-configure b/x11-toolkits/gtk-sharp/files/patch-configure
index 751dc04f6af..93536b31fff 100644
--- a/x11-toolkits/gtk-sharp/files/patch-configure
+++ b/x11-toolkits/gtk-sharp/files/patch-configure
@@ -1,6 +1,6 @@
---- configure.bak Tue Jun 29 09:02:24 2004
-+++ configure Thu Jul 8 02:13:18 2004
-@@ -8441,7 +8441,7 @@
+--- configure.orig Tue Nov 2 23:10:31 2004
++++ configure Tue Nov 2 23:13:55 2004
+@@ -20740,7 +20740,7 @@
@@ -9,3 +9,12 @@
# Extract the first word of "pkg-config", so it can be a program name with args.
set dummy pkg-config; ac_word=$2
+@@ -20909,7 +20909,7 @@
+
+
+ if test "x$has_mono" = "xtrue"; then
+-GACUTIL_FLAGS='/package $(PACKAGE) /gacdir $(DESTDIR)$(libdir)'
++GACUTIL_FLAGS='/package $(PACKAGE) /root $(DESTDIR)$(libdir) /gacdir $(DESTDIR)$(libdir)'
+ GENERATED_SOURCES=generated/*.cs
+ # Extract the first word of "mono", so it can be a program name with args.
+ set dummy mono; ac_word=$2
diff --git a/x11-toolkits/gtk-sharp/files/patch-ltmain.sh b/x11-toolkits/gtk-sharp/files/patch-ltmain.sh
deleted file mode 100644
index 642e3d0bdb0..00000000000
--- a/x11-toolkits/gtk-sharp/files/patch-ltmain.sh
+++ /dev/null
@@ -1,41 +0,0 @@
---- ltmain.sh.orig Thu May 22 16:42:22 2003
-+++ ltmain.sh Tue May 27 12:12:52 2003
-@@ -1072,7 +1072,7 @@
- esac
- elif test "X$arg" = "X-lc_r"; then
- case $host in
-- *-*-openbsd* | *-*-freebsd*)
-+ *-*-openbsd* | *-*-freebsd4*)
- # Do not include libc_r directly, use -pthread flag.
- continue
- ;;
-@@ -1082,8 +1082,16 @@
- continue
- ;;
-
-+ -pthread)
-+ compile_command="$compile_command -pthread"
-+ finalize_command="$finalize_command -pthread"
-+ compiler_flags="$compiler_flags -pthread"
-+ continue
-+ ;;
-+
- -module)
- module=yes
-+ build_old_libs=no
- continue
- ;;
-
-@@ -4325,10 +4336,12 @@
- fi
-
- # Install the pseudo-library for information purposes.
-+ if /usr/bin/false; then
- name=`$echo "X$file" | $Xsed -e 's%^.*/%%'`
- instname="$dir/$name"i
- $show "$install_prog $instname $destdir/$name"
- $run eval "$install_prog $instname $destdir/$name" || exit $?
-+ fi
-
- # Maybe install the static library, too.
- test -n "$old_library" && staticlibs="$staticlibs $dir/$old_library"
diff --git a/x11-toolkits/gtk-sharp/files/patch-pango_pango-sharp.dll.config.in b/x11-toolkits/gtk-sharp/files/patch-pango_pango-sharp.dll.config.in
index 58b403b8255..7da66e51ed5 100644
--- a/x11-toolkits/gtk-sharp/files/patch-pango_pango-sharp.dll.config.in
+++ b/x11-toolkits/gtk-sharp/files/patch-pango_pango-sharp.dll.config.in
@@ -1,7 +1,9 @@
---- pango/pango-sharp.dll.config.in.orig Wed Jul 14 22:25:54 2004
-+++ pango/pango-sharp.dll.config.in Wed Jul 14 22:26:14 2004
-@@ -1,3 +1,3 @@
+--- pango/pango-sharp.dll.config.in.orig Fri Aug 20 17:04:23 2004
++++ pango/pango-sharp.dll.config.in Tue Oct 26 21:38:51 2004
+@@ -1,4 +1,4 @@
<configuration>
+- <dllmap dll="libglib-2.0-0.dll" target="libglib-2.0@LIB_PREFIX@.0@LIB_SUFFIX@"/>
- <dllmap dll="libpango-1.0-0.dll" target="libpango-1.0@LIB_PREFIX@.0@LIB_SUFFIX@"/>
++ <dllmap dll="libglib-2.0-0.dll" target="libglib-2.0@LIB_PREFIX@@LIB_SUFFIX@"/>
+ <dllmap dll="libpango-1.0-0.dll" target="libpango-1.0@LIB_PREFIX@@LIB_SUFFIX@"/>
</configuration>
diff --git a/x11-toolkits/gtk-sharp/files/patch-sample_rsvg_Makefile.in b/x11-toolkits/gtk-sharp/files/patch-sample_rsvg_Makefile.in
deleted file mode 100644
index 6765daaf112..00000000000
--- a/x11-toolkits/gtk-sharp/files/patch-sample_rsvg_Makefile.in
+++ /dev/null
@@ -1,11 +0,0 @@
---- sample/rsvg/Makefile.in.bak Tue Jun 29 09:03:12 2004
-+++ sample/rsvg/Makefile.in Thu Jul 8 16:27:33 2004
-@@ -119,7 +119,7 @@
- am__include = @am__include@
- am__quote = @am__quote@
- install_sh = @install_sh@
--assemblies = ../../glib/glib-sharp.dll ../../pango/pango-sharp.dll ../../atk/atk-sharp.dll ../../gdk/gdk-sharp.dll ../../gtk/gtk-sharp.dll ../../rsvg/rsvg-sharp.dll
-+assemblies = ../../glib/glib-sharp.dll ../../pango/pango-sharp.dll ../../atk/atk-sharp.dll ../../gdk/gdk-sharp.dll ../../gtk/gtk-sharp.dll ../../art/art-sharp.dll ../../rsvg/rsvg-sharp.dll
- references = $(addprefix /r:, $(assemblies))
-
- @ENABLE_RSVG_TRUE@TARGETS = svghelloworld.exe
diff --git a/x11-toolkits/gtk-sharp/pkg-plist b/x11-toolkits/gtk-sharp/pkg-plist
index 6cd2a13ff49..d008333cd24 100644
--- a/x11-toolkits/gtk-sharp/pkg-plist
+++ b/x11-toolkits/gtk-sharp/pkg-plist
@@ -1,48 +1,48 @@
-@unexec gacutil /u glib-sharp.dll /f /package gtk-sharp /gacdir %D/lib > /dev/null || /usr/bin/true
+@unexec gacutil /u glib-sharp.dll /f /package gtk-sharp /root %D/lib /gacdir %D/lib > /dev/null || /usr/bin/true
lib/mono/gtk-sharp/glib-sharp.dll
-@exec gacutil /i glib-sharp.dll /f /package gtk-sharp /gacdir %D/lib > /dev/null
-@unexec gacutil /u pango-sharp.dll /f /package gtk-sharp /gacdir %D/lib > /dev/null || /usr/bin/true
+@exec gacutil /i glib-sharp.dll /f /package gtk-sharp /root %D/lib /gacdir %D/lib > /dev/null
+@unexec gacutil /u pango-sharp.dll /f /package gtk-sharp /root %D/lib /gacdir %D/lib > /dev/null || /usr/bin/true
lib/mono/gtk-sharp/pango-sharp.dll
-@exec gacutil /i pango-sharp.dll /f /package gtk-sharp /gacdir %D/lib > /dev/null
-@unexec gacutil /u atk-sharp.dll /f /package gtk-sharp /gacdir %D/lib > /dev/null || /usr/bin/true
+@exec gacutil /i pango-sharp.dll /f /package gtk-sharp /root %D/lib /gacdir %D/lib > /dev/null
+@unexec gacutil /u atk-sharp.dll /f /package gtk-sharp /root %D/lib /gacdir %D/lib > /dev/null || /usr/bin/true
lib/mono/gtk-sharp/atk-sharp.dll
-@exec gacutil /i atk-sharp.dll /f /package gtk-sharp /gacdir %D/lib > /dev/null
-@unexec gacutil /u gdk-sharp.dll /f /package gtk-sharp /gacdir %D/lib > /dev/null || /usr/bin/true
+@exec gacutil /i atk-sharp.dll /f /package gtk-sharp /root %D/lib /gacdir %D/lib > /dev/null
+@unexec gacutil /u gdk-sharp.dll /f /package gtk-sharp /root %D/lib /gacdir %D/lib > /dev/null || /usr/bin/true
lib/mono/gtk-sharp/gdk-sharp.dll
-@exec gacutil /i gdk-sharp.dll /f /package gtk-sharp /gacdir %D/lib > /dev/null
+@exec gacutil /i gdk-sharp.dll /f /package gtk-sharp /root %D/lib /gacdir %D/lib > /dev/null
@unexec gacutil /u gtk-sharp.dll /f /package gtk-sharp /gacdir %D/lib > /dev/null || /usr/bin/true
lib/mono/gtk-sharp/gtk-sharp.dll
-@exec gacutil /i gtk-sharp.dll /f /package gtk-sharp /gacdir %D/lib > /dev/null
-@unexec gacutil /u glade-sharp.dll /f /package gtk-sharp /gacdir %D/lib > /dev/null || /usr/bin/true
+@exec gacutil /i gtk-sharp.dll /f /package gtk-sharp /root %D/lib /gacdir %D/lib > /dev/null
+@unexec gacutil /u glade-sharp.dll /f /package gtk-sharp /root %D/lib /gacdir %D/lib > /dev/null || /usr/bin/true
lib/mono/gtk-sharp/glade-sharp.dll
-@exec gacutil /i glade-sharp.dll /f /package gtk-sharp /gacdir %D/lib > /dev/null
-@unexec gacutil /u art-sharp.dll /f /package gtk-sharp /gacdir %D/lib > /dev/null || /usr/bin/true
+@exec gacutil /i glade-sharp.dll /f /package gtk-sharp /root %D/lib /gacdir %D/lib > /dev/null
+@unexec gacutil /u art-sharp.dll /f /package gtk-sharp /root %D/lib /gacdir %D/lib > /dev/null || /usr/bin/true
lib/mono/gtk-sharp/art-sharp.dll
-@exec gacutil /i art-sharp.dll /f /package gtk-sharp /gacdir %D/lib > /dev/null
-@unexec gacutil /u gnome-sharp.dll /f /package gtk-sharp /gacdir %D/lib > /dev/null || /usr/bin/true
+@exec gacutil /i art-sharp.dll /f /package gtk-sharp /root %D/lib /gacdir %D/lib > /dev/null
+@unexec gacutil /u gnome-sharp.dll /f /package gtk-sharp /root %D/lib /gacdir %D/lib > /dev/null || /usr/bin/true
lib/mono/gtk-sharp/gnome-sharp.dll
-@exec gacutil /i gnome-sharp.dll /f /package gtk-sharp /gacdir %D/lib > /dev/null
-@unexec gacutil /u gda-sharp.dll /f /package gtk-sharp /gacdir %D/lib > /dev/null || /usr/bin/true
+@exec gacutil /i gnome-sharp.dll /f /package gtk-sharp /root %D/lib /gacdir %D/lib > /dev/null
+@unexec gacutil /u gda-sharp.dll /f /package gtk-sharp /root %D/lib /gacdir %D/lib > /dev/null || /usr/bin/true
lib/mono/gtk-sharp/gda-sharp.dll
-@exec gacutil /i gda-sharp.dll /f /package gtk-sharp /gacdir %D/lib > /dev/null
-@unexec gacutil /u gnomedb-sharp.dll /f /package gtk-sharp /gacdir %D/lib > /dev/null || /usr/bin/true
+@exec gacutil /i gda-sharp.dll /f /package gtk-sharp /root %D/lib /gacdir %D/lib > /dev/null
+@unexec gacutil /u gnomedb-sharp.dll /f /package gtk-sharp /root %D/lib /gacdir %D/lib > /dev/null || /usr/bin/true
lib/mono/gtk-sharp/gnomedb-sharp.dll
-@exec gacutil /i gnomedb-sharp.dll /f /package gtk-sharp /gacdir %D/lib > /dev/null
-@unexec gacutil /u gtkhtml-sharp.dll /f /package gtk-sharp /gacdir %D/lib > /dev/null || /usr/bin/true
+@exec gacutil /i gnomedb-sharp.dll /f /package gtk-sharp /root %D/lib /gacdir %D/lib > /dev/null
+@unexec gacutil /u gtkhtml-sharp.dll /f /package gtk-sharp /root %D/lib /gacdir %D/lib > /dev/null || /usr/bin/true
lib/mono/gtk-sharp/gtkhtml-sharp.dll
-@exec gacutil /i gtkhtml-sharp.dll /f /package gtk-sharp /gacdir %D/lib > /dev/null
-@unexec gacutil /u gconf-sharp.dll /f /package gtk-sharp /gacdir %D/lib > /dev/null || /usr/bin/true
+@exec gacutil /i gtkhtml-sharp.dll /f /package gtk-sharp /root %D/lib /gacdir %D/lib > /dev/null
+@unexec gacutil /u gconf-sharp.dll /f /package gtk-sharp /root %D/lib /gacdir %D/lib > /dev/null || /usr/bin/true
lib/mono/gtk-sharp/gconf-sharp.dll
-@exec gacutil /i gconf-sharp.dll /f /package gtk-sharp /gacdir %D/lib > /dev/null
-@unexec gacutil /u gconf-sharp-peditors.dll /f /package gtk-sharp /gacdir %D/lib > /dev/null || /usr/bin/true
+@exec gacutil /i gconf-sharp.dll /f /package gtk-sharp /root %D/lib /gacdir %D/lib > /dev/null
+@unexec gacutil /u gconf-sharp-peditors.dll /f /package gtk-sharp /root %D/lib /gacdir %D/lib > /dev/null || /usr/bin/true
lib/mono/gtk-sharp/gconf-sharp-peditors.dll
-@exec gacutil /i gconf-sharp-peditors.dll /f /package gtk-sharp /gacdir %D/lib > /dev/null
-@unexec gacutil /u rsvg-sharp.dll /f /package gtk-sharp /gacdir %D/lib > /dev/null || /usr/bin/true
+@exec gacutil /i gconf-sharp-peditors.dll /f /package gtk-sharp /root %D/lib /gacdir %D/lib > /dev/null
+@unexec gacutil /u rsvg-sharp.dll /f /package gtk-sharp /root %D/lib /gacdir %D/lib > /dev/null || /usr/bin/true
lib/mono/gtk-sharp/rsvg-sharp.dll
-@exec gacutil /i rsvg-sharp.dll /f /package gtk-sharp /gacdir %D/lib > /dev/null
-@unexec gacutil /u vte-sharp.dll /f /package gtk-sharp /gacdir %D/lib > /dev/null || /usr/bin/true
+@exec gacutil /i rsvg-sharp.dll /f /package gtk-sharp /root %D/lib /gacdir %D/lib > /dev/null
+@unexec gacutil /u vte-sharp.dll /f /package gtk-sharp /root %D/lib /gacdir %D/lib > /dev/null || /usr/bin/true
lib/mono/gtk-sharp/vte-sharp.dll
-@exec gacutil /i vte-sharp.dll /f /package gtk-sharp /gacdir %D/lib > /dev/null
+@exec gacutil /i vte-sharp.dll /f /package gtk-sharp /root %D/lib /gacdir %D/lib > /dev/null
bin/gapi-codegen
bin/gapi-fixup
bin/gapi-fixup.exe
diff --git a/x11-toolkits/gtk-sharp10/Makefile b/x11-toolkits/gtk-sharp10/Makefile
index d2310bfa8a4..90199d6b07d 100644
--- a/x11-toolkits/gtk-sharp10/Makefile
+++ b/x11-toolkits/gtk-sharp10/Makefile
@@ -6,10 +6,9 @@
#
PORTNAME= gtk-sharp
-PORTVERSION= 1.0
-PORTREVISION= 3
+PORTVERSION= 1.0.4
CATEGORIES= x11-toolkits
-MASTER_SITES= http://mono.ximian.com/archive/${PORTVERSION}/
+MASTER_SITES= http://www.go-mono.com/archive/${PORTVERSION}/
MAINTAINER= coop9211@uidaho.edu
COMMENT= GTK+ and GNOME interfaces for the .NET runtime
@@ -17,7 +16,8 @@ COMMENT= GTK+ and GNOME interfaces for the .NET runtime
BUILD_DEPENDS= mono:${PORTSDIR}/lang/mono
RUN_DEPENDS= ${BUILD_DEPENDS}
-GNU_CONFIGURE= yes
+USE_X_PREFIX= yes
+USE_LIBTOOL_VER=15
USE_REINPLACE= yes
INSTALLS_SHLIB= yes
USE_GMAKE= yes
diff --git a/x11-toolkits/gtk-sharp10/distinfo b/x11-toolkits/gtk-sharp10/distinfo
index feee8052543..a3360a8bade 100644
--- a/x11-toolkits/gtk-sharp10/distinfo
+++ b/x11-toolkits/gtk-sharp10/distinfo
@@ -1,2 +1,2 @@
-MD5 (gtk-sharp-1.0.tar.gz) = 6eab56e11c1e1245ec6af12312969399
-SIZE (gtk-sharp-1.0.tar.gz) = 1424982
+MD5 (gtk-sharp-1.0.4.tar.gz) = c105e94934a22f7734c5657948977078
+SIZE (gtk-sharp-1.0.4.tar.gz) = 1774252
diff --git a/x11-toolkits/gtk-sharp10/files/patch-art_art-sharp.dll.config.in b/x11-toolkits/gtk-sharp10/files/patch-art_art-sharp.dll.config.in
index 1e97f4b5116..a4e805dbfc4 100644
--- a/x11-toolkits/gtk-sharp10/files/patch-art_art-sharp.dll.config.in
+++ b/x11-toolkits/gtk-sharp10/files/patch-art_art-sharp.dll.config.in
@@ -3,5 +3,5 @@
@@ -1,3 +1,3 @@
<configuration>
- <dllmap dll="art_lgpl" target="libart_lgpl_2@LIB_PREFIX@.2@LIB_SUFFIX@"/>
-+ <dllmap dll="art_lgpl" target="libart_lgpl@LIB_PREFIX@@LIB_SUFFIX@"/>
++ <dllmap dll="art_lgpl" target="libart_lgpl_2@LIB_PREFIX@@LIB_SUFFIX@"/>
</configuration>
diff --git a/x11-toolkits/gtk-sharp10/files/patch-configure b/x11-toolkits/gtk-sharp10/files/patch-configure
index 751dc04f6af..93536b31fff 100644
--- a/x11-toolkits/gtk-sharp10/files/patch-configure
+++ b/x11-toolkits/gtk-sharp10/files/patch-configure
@@ -1,6 +1,6 @@
---- configure.bak Tue Jun 29 09:02:24 2004
-+++ configure Thu Jul 8 02:13:18 2004
-@@ -8441,7 +8441,7 @@
+--- configure.orig Tue Nov 2 23:10:31 2004
++++ configure Tue Nov 2 23:13:55 2004
+@@ -20740,7 +20740,7 @@
@@ -9,3 +9,12 @@
# Extract the first word of "pkg-config", so it can be a program name with args.
set dummy pkg-config; ac_word=$2
+@@ -20909,7 +20909,7 @@
+
+
+ if test "x$has_mono" = "xtrue"; then
+-GACUTIL_FLAGS='/package $(PACKAGE) /gacdir $(DESTDIR)$(libdir)'
++GACUTIL_FLAGS='/package $(PACKAGE) /root $(DESTDIR)$(libdir) /gacdir $(DESTDIR)$(libdir)'
+ GENERATED_SOURCES=generated/*.cs
+ # Extract the first word of "mono", so it can be a program name with args.
+ set dummy mono; ac_word=$2
diff --git a/x11-toolkits/gtk-sharp10/files/patch-ltmain.sh b/x11-toolkits/gtk-sharp10/files/patch-ltmain.sh
deleted file mode 100644
index 642e3d0bdb0..00000000000
--- a/x11-toolkits/gtk-sharp10/files/patch-ltmain.sh
+++ /dev/null
@@ -1,41 +0,0 @@
---- ltmain.sh.orig Thu May 22 16:42:22 2003
-+++ ltmain.sh Tue May 27 12:12:52 2003
-@@ -1072,7 +1072,7 @@
- esac
- elif test "X$arg" = "X-lc_r"; then
- case $host in
-- *-*-openbsd* | *-*-freebsd*)
-+ *-*-openbsd* | *-*-freebsd4*)
- # Do not include libc_r directly, use -pthread flag.
- continue
- ;;
-@@ -1082,8 +1082,16 @@
- continue
- ;;
-
-+ -pthread)
-+ compile_command="$compile_command -pthread"
-+ finalize_command="$finalize_command -pthread"
-+ compiler_flags="$compiler_flags -pthread"
-+ continue
-+ ;;
-+
- -module)
- module=yes
-+ build_old_libs=no
- continue
- ;;
-
-@@ -4325,10 +4336,12 @@
- fi
-
- # Install the pseudo-library for information purposes.
-+ if /usr/bin/false; then
- name=`$echo "X$file" | $Xsed -e 's%^.*/%%'`
- instname="$dir/$name"i
- $show "$install_prog $instname $destdir/$name"
- $run eval "$install_prog $instname $destdir/$name" || exit $?
-+ fi
-
- # Maybe install the static library, too.
- test -n "$old_library" && staticlibs="$staticlibs $dir/$old_library"
diff --git a/x11-toolkits/gtk-sharp10/files/patch-pango_pango-sharp.dll.config.in b/x11-toolkits/gtk-sharp10/files/patch-pango_pango-sharp.dll.config.in
index 58b403b8255..7da66e51ed5 100644
--- a/x11-toolkits/gtk-sharp10/files/patch-pango_pango-sharp.dll.config.in
+++ b/x11-toolkits/gtk-sharp10/files/patch-pango_pango-sharp.dll.config.in
@@ -1,7 +1,9 @@
---- pango/pango-sharp.dll.config.in.orig Wed Jul 14 22:25:54 2004
-+++ pango/pango-sharp.dll.config.in Wed Jul 14 22:26:14 2004
-@@ -1,3 +1,3 @@
+--- pango/pango-sharp.dll.config.in.orig Fri Aug 20 17:04:23 2004
++++ pango/pango-sharp.dll.config.in Tue Oct 26 21:38:51 2004
+@@ -1,4 +1,4 @@
<configuration>
+- <dllmap dll="libglib-2.0-0.dll" target="libglib-2.0@LIB_PREFIX@.0@LIB_SUFFIX@"/>
- <dllmap dll="libpango-1.0-0.dll" target="libpango-1.0@LIB_PREFIX@.0@LIB_SUFFIX@"/>
++ <dllmap dll="libglib-2.0-0.dll" target="libglib-2.0@LIB_PREFIX@@LIB_SUFFIX@"/>
+ <dllmap dll="libpango-1.0-0.dll" target="libpango-1.0@LIB_PREFIX@@LIB_SUFFIX@"/>
</configuration>
diff --git a/x11-toolkits/gtk-sharp10/files/patch-sample_rsvg_Makefile.in b/x11-toolkits/gtk-sharp10/files/patch-sample_rsvg_Makefile.in
deleted file mode 100644
index 6765daaf112..00000000000
--- a/x11-toolkits/gtk-sharp10/files/patch-sample_rsvg_Makefile.in
+++ /dev/null
@@ -1,11 +0,0 @@
---- sample/rsvg/Makefile.in.bak Tue Jun 29 09:03:12 2004
-+++ sample/rsvg/Makefile.in Thu Jul 8 16:27:33 2004
-@@ -119,7 +119,7 @@
- am__include = @am__include@
- am__quote = @am__quote@
- install_sh = @install_sh@
--assemblies = ../../glib/glib-sharp.dll ../../pango/pango-sharp.dll ../../atk/atk-sharp.dll ../../gdk/gdk-sharp.dll ../../gtk/gtk-sharp.dll ../../rsvg/rsvg-sharp.dll
-+assemblies = ../../glib/glib-sharp.dll ../../pango/pango-sharp.dll ../../atk/atk-sharp.dll ../../gdk/gdk-sharp.dll ../../gtk/gtk-sharp.dll ../../art/art-sharp.dll ../../rsvg/rsvg-sharp.dll
- references = $(addprefix /r:, $(assemblies))
-
- @ENABLE_RSVG_TRUE@TARGETS = svghelloworld.exe
diff --git a/x11-toolkits/gtk-sharp10/pkg-plist b/x11-toolkits/gtk-sharp10/pkg-plist
index 6cd2a13ff49..d008333cd24 100644
--- a/x11-toolkits/gtk-sharp10/pkg-plist
+++ b/x11-toolkits/gtk-sharp10/pkg-plist
@@ -1,48 +1,48 @@
-@unexec gacutil /u glib-sharp.dll /f /package gtk-sharp /gacdir %D/lib > /dev/null || /usr/bin/true
+@unexec gacutil /u glib-sharp.dll /f /package gtk-sharp /root %D/lib /gacdir %D/lib > /dev/null || /usr/bin/true
lib/mono/gtk-sharp/glib-sharp.dll
-@exec gacutil /i glib-sharp.dll /f /package gtk-sharp /gacdir %D/lib > /dev/null
-@unexec gacutil /u pango-sharp.dll /f /package gtk-sharp /gacdir %D/lib > /dev/null || /usr/bin/true
+@exec gacutil /i glib-sharp.dll /f /package gtk-sharp /root %D/lib /gacdir %D/lib > /dev/null
+@unexec gacutil /u pango-sharp.dll /f /package gtk-sharp /root %D/lib /gacdir %D/lib > /dev/null || /usr/bin/true
lib/mono/gtk-sharp/pango-sharp.dll
-@exec gacutil /i pango-sharp.dll /f /package gtk-sharp /gacdir %D/lib > /dev/null
-@unexec gacutil /u atk-sharp.dll /f /package gtk-sharp /gacdir %D/lib > /dev/null || /usr/bin/true
+@exec gacutil /i pango-sharp.dll /f /package gtk-sharp /root %D/lib /gacdir %D/lib > /dev/null
+@unexec gacutil /u atk-sharp.dll /f /package gtk-sharp /root %D/lib /gacdir %D/lib > /dev/null || /usr/bin/true
lib/mono/gtk-sharp/atk-sharp.dll
-@exec gacutil /i atk-sharp.dll /f /package gtk-sharp /gacdir %D/lib > /dev/null
-@unexec gacutil /u gdk-sharp.dll /f /package gtk-sharp /gacdir %D/lib > /dev/null || /usr/bin/true
+@exec gacutil /i atk-sharp.dll /f /package gtk-sharp /root %D/lib /gacdir %D/lib > /dev/null
+@unexec gacutil /u gdk-sharp.dll /f /package gtk-sharp /root %D/lib /gacdir %D/lib > /dev/null || /usr/bin/true
lib/mono/gtk-sharp/gdk-sharp.dll
-@exec gacutil /i gdk-sharp.dll /f /package gtk-sharp /gacdir %D/lib > /dev/null
+@exec gacutil /i gdk-sharp.dll /f /package gtk-sharp /root %D/lib /gacdir %D/lib > /dev/null
@unexec gacutil /u gtk-sharp.dll /f /package gtk-sharp /gacdir %D/lib > /dev/null || /usr/bin/true
lib/mono/gtk-sharp/gtk-sharp.dll
-@exec gacutil /i gtk-sharp.dll /f /package gtk-sharp /gacdir %D/lib > /dev/null
-@unexec gacutil /u glade-sharp.dll /f /package gtk-sharp /gacdir %D/lib > /dev/null || /usr/bin/true
+@exec gacutil /i gtk-sharp.dll /f /package gtk-sharp /root %D/lib /gacdir %D/lib > /dev/null
+@unexec gacutil /u glade-sharp.dll /f /package gtk-sharp /root %D/lib /gacdir %D/lib > /dev/null || /usr/bin/true
lib/mono/gtk-sharp/glade-sharp.dll
-@exec gacutil /i glade-sharp.dll /f /package gtk-sharp /gacdir %D/lib > /dev/null
-@unexec gacutil /u art-sharp.dll /f /package gtk-sharp /gacdir %D/lib > /dev/null || /usr/bin/true
+@exec gacutil /i glade-sharp.dll /f /package gtk-sharp /root %D/lib /gacdir %D/lib > /dev/null
+@unexec gacutil /u art-sharp.dll /f /package gtk-sharp /root %D/lib /gacdir %D/lib > /dev/null || /usr/bin/true
lib/mono/gtk-sharp/art-sharp.dll
-@exec gacutil /i art-sharp.dll /f /package gtk-sharp /gacdir %D/lib > /dev/null
-@unexec gacutil /u gnome-sharp.dll /f /package gtk-sharp /gacdir %D/lib > /dev/null || /usr/bin/true
+@exec gacutil /i art-sharp.dll /f /package gtk-sharp /root %D/lib /gacdir %D/lib > /dev/null
+@unexec gacutil /u gnome-sharp.dll /f /package gtk-sharp /root %D/lib /gacdir %D/lib > /dev/null || /usr/bin/true
lib/mono/gtk-sharp/gnome-sharp.dll
-@exec gacutil /i gnome-sharp.dll /f /package gtk-sharp /gacdir %D/lib > /dev/null
-@unexec gacutil /u gda-sharp.dll /f /package gtk-sharp /gacdir %D/lib > /dev/null || /usr/bin/true
+@exec gacutil /i gnome-sharp.dll /f /package gtk-sharp /root %D/lib /gacdir %D/lib > /dev/null
+@unexec gacutil /u gda-sharp.dll /f /package gtk-sharp /root %D/lib /gacdir %D/lib > /dev/null || /usr/bin/true
lib/mono/gtk-sharp/gda-sharp.dll
-@exec gacutil /i gda-sharp.dll /f /package gtk-sharp /gacdir %D/lib > /dev/null
-@unexec gacutil /u gnomedb-sharp.dll /f /package gtk-sharp /gacdir %D/lib > /dev/null || /usr/bin/true
+@exec gacutil /i gda-sharp.dll /f /package gtk-sharp /root %D/lib /gacdir %D/lib > /dev/null
+@unexec gacutil /u gnomedb-sharp.dll /f /package gtk-sharp /root %D/lib /gacdir %D/lib > /dev/null || /usr/bin/true
lib/mono/gtk-sharp/gnomedb-sharp.dll
-@exec gacutil /i gnomedb-sharp.dll /f /package gtk-sharp /gacdir %D/lib > /dev/null
-@unexec gacutil /u gtkhtml-sharp.dll /f /package gtk-sharp /gacdir %D/lib > /dev/null || /usr/bin/true
+@exec gacutil /i gnomedb-sharp.dll /f /package gtk-sharp /root %D/lib /gacdir %D/lib > /dev/null
+@unexec gacutil /u gtkhtml-sharp.dll /f /package gtk-sharp /root %D/lib /gacdir %D/lib > /dev/null || /usr/bin/true
lib/mono/gtk-sharp/gtkhtml-sharp.dll
-@exec gacutil /i gtkhtml-sharp.dll /f /package gtk-sharp /gacdir %D/lib > /dev/null
-@unexec gacutil /u gconf-sharp.dll /f /package gtk-sharp /gacdir %D/lib > /dev/null || /usr/bin/true
+@exec gacutil /i gtkhtml-sharp.dll /f /package gtk-sharp /root %D/lib /gacdir %D/lib > /dev/null
+@unexec gacutil /u gconf-sharp.dll /f /package gtk-sharp /root %D/lib /gacdir %D/lib > /dev/null || /usr/bin/true
lib/mono/gtk-sharp/gconf-sharp.dll
-@exec gacutil /i gconf-sharp.dll /f /package gtk-sharp /gacdir %D/lib > /dev/null
-@unexec gacutil /u gconf-sharp-peditors.dll /f /package gtk-sharp /gacdir %D/lib > /dev/null || /usr/bin/true
+@exec gacutil /i gconf-sharp.dll /f /package gtk-sharp /root %D/lib /gacdir %D/lib > /dev/null
+@unexec gacutil /u gconf-sharp-peditors.dll /f /package gtk-sharp /root %D/lib /gacdir %D/lib > /dev/null || /usr/bin/true
lib/mono/gtk-sharp/gconf-sharp-peditors.dll
-@exec gacutil /i gconf-sharp-peditors.dll /f /package gtk-sharp /gacdir %D/lib > /dev/null
-@unexec gacutil /u rsvg-sharp.dll /f /package gtk-sharp /gacdir %D/lib > /dev/null || /usr/bin/true
+@exec gacutil /i gconf-sharp-peditors.dll /f /package gtk-sharp /root %D/lib /gacdir %D/lib > /dev/null
+@unexec gacutil /u rsvg-sharp.dll /f /package gtk-sharp /root %D/lib /gacdir %D/lib > /dev/null || /usr/bin/true
lib/mono/gtk-sharp/rsvg-sharp.dll
-@exec gacutil /i rsvg-sharp.dll /f /package gtk-sharp /gacdir %D/lib > /dev/null
-@unexec gacutil /u vte-sharp.dll /f /package gtk-sharp /gacdir %D/lib > /dev/null || /usr/bin/true
+@exec gacutil /i rsvg-sharp.dll /f /package gtk-sharp /root %D/lib /gacdir %D/lib > /dev/null
+@unexec gacutil /u vte-sharp.dll /f /package gtk-sharp /root %D/lib /gacdir %D/lib > /dev/null || /usr/bin/true
lib/mono/gtk-sharp/vte-sharp.dll
-@exec gacutil /i vte-sharp.dll /f /package gtk-sharp /gacdir %D/lib > /dev/null
+@exec gacutil /i vte-sharp.dll /f /package gtk-sharp /root %D/lib /gacdir %D/lib > /dev/null
bin/gapi-codegen
bin/gapi-fixup
bin/gapi-fixup.exe
diff --git a/x11-toolkits/gtk-sharp20/Makefile b/x11-toolkits/gtk-sharp20/Makefile
index d2310bfa8a4..90199d6b07d 100644
--- a/x11-toolkits/gtk-sharp20/Makefile
+++ b/x11-toolkits/gtk-sharp20/Makefile
@@ -6,10 +6,9 @@
#
PORTNAME= gtk-sharp
-PORTVERSION= 1.0
-PORTREVISION= 3
+PORTVERSION= 1.0.4
CATEGORIES= x11-toolkits
-MASTER_SITES= http://mono.ximian.com/archive/${PORTVERSION}/
+MASTER_SITES= http://www.go-mono.com/archive/${PORTVERSION}/
MAINTAINER= coop9211@uidaho.edu
COMMENT= GTK+ and GNOME interfaces for the .NET runtime
@@ -17,7 +16,8 @@ COMMENT= GTK+ and GNOME interfaces for the .NET runtime
BUILD_DEPENDS= mono:${PORTSDIR}/lang/mono
RUN_DEPENDS= ${BUILD_DEPENDS}
-GNU_CONFIGURE= yes
+USE_X_PREFIX= yes
+USE_LIBTOOL_VER=15
USE_REINPLACE= yes
INSTALLS_SHLIB= yes
USE_GMAKE= yes
diff --git a/x11-toolkits/gtk-sharp20/distinfo b/x11-toolkits/gtk-sharp20/distinfo
index feee8052543..a3360a8bade 100644
--- a/x11-toolkits/gtk-sharp20/distinfo
+++ b/x11-toolkits/gtk-sharp20/distinfo
@@ -1,2 +1,2 @@
-MD5 (gtk-sharp-1.0.tar.gz) = 6eab56e11c1e1245ec6af12312969399
-SIZE (gtk-sharp-1.0.tar.gz) = 1424982
+MD5 (gtk-sharp-1.0.4.tar.gz) = c105e94934a22f7734c5657948977078
+SIZE (gtk-sharp-1.0.4.tar.gz) = 1774252
diff --git a/x11-toolkits/gtk-sharp20/files/patch-art_art-sharp.dll.config.in b/x11-toolkits/gtk-sharp20/files/patch-art_art-sharp.dll.config.in
index 1e97f4b5116..a4e805dbfc4 100644
--- a/x11-toolkits/gtk-sharp20/files/patch-art_art-sharp.dll.config.in
+++ b/x11-toolkits/gtk-sharp20/files/patch-art_art-sharp.dll.config.in
@@ -3,5 +3,5 @@
@@ -1,3 +1,3 @@
<configuration>
- <dllmap dll="art_lgpl" target="libart_lgpl_2@LIB_PREFIX@.2@LIB_SUFFIX@"/>
-+ <dllmap dll="art_lgpl" target="libart_lgpl@LIB_PREFIX@@LIB_SUFFIX@"/>
++ <dllmap dll="art_lgpl" target="libart_lgpl_2@LIB_PREFIX@@LIB_SUFFIX@"/>
</configuration>
diff --git a/x11-toolkits/gtk-sharp20/files/patch-configure b/x11-toolkits/gtk-sharp20/files/patch-configure
index 751dc04f6af..93536b31fff 100644
--- a/x11-toolkits/gtk-sharp20/files/patch-configure
+++ b/x11-toolkits/gtk-sharp20/files/patch-configure
@@ -1,6 +1,6 @@
---- configure.bak Tue Jun 29 09:02:24 2004
-+++ configure Thu Jul 8 02:13:18 2004
-@@ -8441,7 +8441,7 @@
+--- configure.orig Tue Nov 2 23:10:31 2004
++++ configure Tue Nov 2 23:13:55 2004
+@@ -20740,7 +20740,7 @@
@@ -9,3 +9,12 @@
# Extract the first word of "pkg-config", so it can be a program name with args.
set dummy pkg-config; ac_word=$2
+@@ -20909,7 +20909,7 @@
+
+
+ if test "x$has_mono" = "xtrue"; then
+-GACUTIL_FLAGS='/package $(PACKAGE) /gacdir $(DESTDIR)$(libdir)'
++GACUTIL_FLAGS='/package $(PACKAGE) /root $(DESTDIR)$(libdir) /gacdir $(DESTDIR)$(libdir)'
+ GENERATED_SOURCES=generated/*.cs
+ # Extract the first word of "mono", so it can be a program name with args.
+ set dummy mono; ac_word=$2
diff --git a/x11-toolkits/gtk-sharp20/files/patch-ltmain.sh b/x11-toolkits/gtk-sharp20/files/patch-ltmain.sh
deleted file mode 100644
index 642e3d0bdb0..00000000000
--- a/x11-toolkits/gtk-sharp20/files/patch-ltmain.sh
+++ /dev/null
@@ -1,41 +0,0 @@
---- ltmain.sh.orig Thu May 22 16:42:22 2003
-+++ ltmain.sh Tue May 27 12:12:52 2003
-@@ -1072,7 +1072,7 @@
- esac
- elif test "X$arg" = "X-lc_r"; then
- case $host in
-- *-*-openbsd* | *-*-freebsd*)
-+ *-*-openbsd* | *-*-freebsd4*)
- # Do not include libc_r directly, use -pthread flag.
- continue
- ;;
-@@ -1082,8 +1082,16 @@
- continue
- ;;
-
-+ -pthread)
-+ compile_command="$compile_command -pthread"
-+ finalize_command="$finalize_command -pthread"
-+ compiler_flags="$compiler_flags -pthread"
-+ continue
-+ ;;
-+
- -module)
- module=yes
-+ build_old_libs=no
- continue
- ;;
-
-@@ -4325,10 +4336,12 @@
- fi
-
- # Install the pseudo-library for information purposes.
-+ if /usr/bin/false; then
- name=`$echo "X$file" | $Xsed -e 's%^.*/%%'`
- instname="$dir/$name"i
- $show "$install_prog $instname $destdir/$name"
- $run eval "$install_prog $instname $destdir/$name" || exit $?
-+ fi
-
- # Maybe install the static library, too.
- test -n "$old_library" && staticlibs="$staticlibs $dir/$old_library"
diff --git a/x11-toolkits/gtk-sharp20/files/patch-pango_pango-sharp.dll.config.in b/x11-toolkits/gtk-sharp20/files/patch-pango_pango-sharp.dll.config.in
index 58b403b8255..7da66e51ed5 100644
--- a/x11-toolkits/gtk-sharp20/files/patch-pango_pango-sharp.dll.config.in
+++ b/x11-toolkits/gtk-sharp20/files/patch-pango_pango-sharp.dll.config.in
@@ -1,7 +1,9 @@
---- pango/pango-sharp.dll.config.in.orig Wed Jul 14 22:25:54 2004
-+++ pango/pango-sharp.dll.config.in Wed Jul 14 22:26:14 2004
-@@ -1,3 +1,3 @@
+--- pango/pango-sharp.dll.config.in.orig Fri Aug 20 17:04:23 2004
++++ pango/pango-sharp.dll.config.in Tue Oct 26 21:38:51 2004
+@@ -1,4 +1,4 @@
<configuration>
+- <dllmap dll="libglib-2.0-0.dll" target="libglib-2.0@LIB_PREFIX@.0@LIB_SUFFIX@"/>
- <dllmap dll="libpango-1.0-0.dll" target="libpango-1.0@LIB_PREFIX@.0@LIB_SUFFIX@"/>
++ <dllmap dll="libglib-2.0-0.dll" target="libglib-2.0@LIB_PREFIX@@LIB_SUFFIX@"/>
+ <dllmap dll="libpango-1.0-0.dll" target="libpango-1.0@LIB_PREFIX@@LIB_SUFFIX@"/>
</configuration>
diff --git a/x11-toolkits/gtk-sharp20/files/patch-sample_rsvg_Makefile.in b/x11-toolkits/gtk-sharp20/files/patch-sample_rsvg_Makefile.in
deleted file mode 100644
index 6765daaf112..00000000000
--- a/x11-toolkits/gtk-sharp20/files/patch-sample_rsvg_Makefile.in
+++ /dev/null
@@ -1,11 +0,0 @@
---- sample/rsvg/Makefile.in.bak Tue Jun 29 09:03:12 2004
-+++ sample/rsvg/Makefile.in Thu Jul 8 16:27:33 2004
-@@ -119,7 +119,7 @@
- am__include = @am__include@
- am__quote = @am__quote@
- install_sh = @install_sh@
--assemblies = ../../glib/glib-sharp.dll ../../pango/pango-sharp.dll ../../atk/atk-sharp.dll ../../gdk/gdk-sharp.dll ../../gtk/gtk-sharp.dll ../../rsvg/rsvg-sharp.dll
-+assemblies = ../../glib/glib-sharp.dll ../../pango/pango-sharp.dll ../../atk/atk-sharp.dll ../../gdk/gdk-sharp.dll ../../gtk/gtk-sharp.dll ../../art/art-sharp.dll ../../rsvg/rsvg-sharp.dll
- references = $(addprefix /r:, $(assemblies))
-
- @ENABLE_RSVG_TRUE@TARGETS = svghelloworld.exe
diff --git a/x11-toolkits/gtk-sharp20/pkg-plist b/x11-toolkits/gtk-sharp20/pkg-plist
index 6cd2a13ff49..d008333cd24 100644
--- a/x11-toolkits/gtk-sharp20/pkg-plist
+++ b/x11-toolkits/gtk-sharp20/pkg-plist
@@ -1,48 +1,48 @@
-@unexec gacutil /u glib-sharp.dll /f /package gtk-sharp /gacdir %D/lib > /dev/null || /usr/bin/true
+@unexec gacutil /u glib-sharp.dll /f /package gtk-sharp /root %D/lib /gacdir %D/lib > /dev/null || /usr/bin/true
lib/mono/gtk-sharp/glib-sharp.dll
-@exec gacutil /i glib-sharp.dll /f /package gtk-sharp /gacdir %D/lib > /dev/null
-@unexec gacutil /u pango-sharp.dll /f /package gtk-sharp /gacdir %D/lib > /dev/null || /usr/bin/true
+@exec gacutil /i glib-sharp.dll /f /package gtk-sharp /root %D/lib /gacdir %D/lib > /dev/null
+@unexec gacutil /u pango-sharp.dll /f /package gtk-sharp /root %D/lib /gacdir %D/lib > /dev/null || /usr/bin/true
lib/mono/gtk-sharp/pango-sharp.dll
-@exec gacutil /i pango-sharp.dll /f /package gtk-sharp /gacdir %D/lib > /dev/null
-@unexec gacutil /u atk-sharp.dll /f /package gtk-sharp /gacdir %D/lib > /dev/null || /usr/bin/true
+@exec gacutil /i pango-sharp.dll /f /package gtk-sharp /root %D/lib /gacdir %D/lib > /dev/null
+@unexec gacutil /u atk-sharp.dll /f /package gtk-sharp /root %D/lib /gacdir %D/lib > /dev/null || /usr/bin/true
lib/mono/gtk-sharp/atk-sharp.dll
-@exec gacutil /i atk-sharp.dll /f /package gtk-sharp /gacdir %D/lib > /dev/null
-@unexec gacutil /u gdk-sharp.dll /f /package gtk-sharp /gacdir %D/lib > /dev/null || /usr/bin/true
+@exec gacutil /i atk-sharp.dll /f /package gtk-sharp /root %D/lib /gacdir %D/lib > /dev/null
+@unexec gacutil /u gdk-sharp.dll /f /package gtk-sharp /root %D/lib /gacdir %D/lib > /dev/null || /usr/bin/true
lib/mono/gtk-sharp/gdk-sharp.dll
-@exec gacutil /i gdk-sharp.dll /f /package gtk-sharp /gacdir %D/lib > /dev/null
+@exec gacutil /i gdk-sharp.dll /f /package gtk-sharp /root %D/lib /gacdir %D/lib > /dev/null
@unexec gacutil /u gtk-sharp.dll /f /package gtk-sharp /gacdir %D/lib > /dev/null || /usr/bin/true
lib/mono/gtk-sharp/gtk-sharp.dll
-@exec gacutil /i gtk-sharp.dll /f /package gtk-sharp /gacdir %D/lib > /dev/null
-@unexec gacutil /u glade-sharp.dll /f /package gtk-sharp /gacdir %D/lib > /dev/null || /usr/bin/true
+@exec gacutil /i gtk-sharp.dll /f /package gtk-sharp /root %D/lib /gacdir %D/lib > /dev/null
+@unexec gacutil /u glade-sharp.dll /f /package gtk-sharp /root %D/lib /gacdir %D/lib > /dev/null || /usr/bin/true
lib/mono/gtk-sharp/glade-sharp.dll
-@exec gacutil /i glade-sharp.dll /f /package gtk-sharp /gacdir %D/lib > /dev/null
-@unexec gacutil /u art-sharp.dll /f /package gtk-sharp /gacdir %D/lib > /dev/null || /usr/bin/true
+@exec gacutil /i glade-sharp.dll /f /package gtk-sharp /root %D/lib /gacdir %D/lib > /dev/null
+@unexec gacutil /u art-sharp.dll /f /package gtk-sharp /root %D/lib /gacdir %D/lib > /dev/null || /usr/bin/true
lib/mono/gtk-sharp/art-sharp.dll
-@exec gacutil /i art-sharp.dll /f /package gtk-sharp /gacdir %D/lib > /dev/null
-@unexec gacutil /u gnome-sharp.dll /f /package gtk-sharp /gacdir %D/lib > /dev/null || /usr/bin/true
+@exec gacutil /i art-sharp.dll /f /package gtk-sharp /root %D/lib /gacdir %D/lib > /dev/null
+@unexec gacutil /u gnome-sharp.dll /f /package gtk-sharp /root %D/lib /gacdir %D/lib > /dev/null || /usr/bin/true
lib/mono/gtk-sharp/gnome-sharp.dll
-@exec gacutil /i gnome-sharp.dll /f /package gtk-sharp /gacdir %D/lib > /dev/null
-@unexec gacutil /u gda-sharp.dll /f /package gtk-sharp /gacdir %D/lib > /dev/null || /usr/bin/true
+@exec gacutil /i gnome-sharp.dll /f /package gtk-sharp /root %D/lib /gacdir %D/lib > /dev/null
+@unexec gacutil /u gda-sharp.dll /f /package gtk-sharp /root %D/lib /gacdir %D/lib > /dev/null || /usr/bin/true
lib/mono/gtk-sharp/gda-sharp.dll
-@exec gacutil /i gda-sharp.dll /f /package gtk-sharp /gacdir %D/lib > /dev/null
-@unexec gacutil /u gnomedb-sharp.dll /f /package gtk-sharp /gacdir %D/lib > /dev/null || /usr/bin/true
+@exec gacutil /i gda-sharp.dll /f /package gtk-sharp /root %D/lib /gacdir %D/lib > /dev/null
+@unexec gacutil /u gnomedb-sharp.dll /f /package gtk-sharp /root %D/lib /gacdir %D/lib > /dev/null || /usr/bin/true
lib/mono/gtk-sharp/gnomedb-sharp.dll
-@exec gacutil /i gnomedb-sharp.dll /f /package gtk-sharp /gacdir %D/lib > /dev/null
-@unexec gacutil /u gtkhtml-sharp.dll /f /package gtk-sharp /gacdir %D/lib > /dev/null || /usr/bin/true
+@exec gacutil /i gnomedb-sharp.dll /f /package gtk-sharp /root %D/lib /gacdir %D/lib > /dev/null
+@unexec gacutil /u gtkhtml-sharp.dll /f /package gtk-sharp /root %D/lib /gacdir %D/lib > /dev/null || /usr/bin/true
lib/mono/gtk-sharp/gtkhtml-sharp.dll
-@exec gacutil /i gtkhtml-sharp.dll /f /package gtk-sharp /gacdir %D/lib > /dev/null
-@unexec gacutil /u gconf-sharp.dll /f /package gtk-sharp /gacdir %D/lib > /dev/null || /usr/bin/true
+@exec gacutil /i gtkhtml-sharp.dll /f /package gtk-sharp /root %D/lib /gacdir %D/lib > /dev/null
+@unexec gacutil /u gconf-sharp.dll /f /package gtk-sharp /root %D/lib /gacdir %D/lib > /dev/null || /usr/bin/true
lib/mono/gtk-sharp/gconf-sharp.dll
-@exec gacutil /i gconf-sharp.dll /f /package gtk-sharp /gacdir %D/lib > /dev/null
-@unexec gacutil /u gconf-sharp-peditors.dll /f /package gtk-sharp /gacdir %D/lib > /dev/null || /usr/bin/true
+@exec gacutil /i gconf-sharp.dll /f /package gtk-sharp /root %D/lib /gacdir %D/lib > /dev/null
+@unexec gacutil /u gconf-sharp-peditors.dll /f /package gtk-sharp /root %D/lib /gacdir %D/lib > /dev/null || /usr/bin/true
lib/mono/gtk-sharp/gconf-sharp-peditors.dll
-@exec gacutil /i gconf-sharp-peditors.dll /f /package gtk-sharp /gacdir %D/lib > /dev/null
-@unexec gacutil /u rsvg-sharp.dll /f /package gtk-sharp /gacdir %D/lib > /dev/null || /usr/bin/true
+@exec gacutil /i gconf-sharp-peditors.dll /f /package gtk-sharp /root %D/lib /gacdir %D/lib > /dev/null
+@unexec gacutil /u rsvg-sharp.dll /f /package gtk-sharp /root %D/lib /gacdir %D/lib > /dev/null || /usr/bin/true
lib/mono/gtk-sharp/rsvg-sharp.dll
-@exec gacutil /i rsvg-sharp.dll /f /package gtk-sharp /gacdir %D/lib > /dev/null
-@unexec gacutil /u vte-sharp.dll /f /package gtk-sharp /gacdir %D/lib > /dev/null || /usr/bin/true
+@exec gacutil /i rsvg-sharp.dll /f /package gtk-sharp /root %D/lib /gacdir %D/lib > /dev/null
+@unexec gacutil /u vte-sharp.dll /f /package gtk-sharp /root %D/lib /gacdir %D/lib > /dev/null || /usr/bin/true
lib/mono/gtk-sharp/vte-sharp.dll
-@exec gacutil /i vte-sharp.dll /f /package gtk-sharp /gacdir %D/lib > /dev/null
+@exec gacutil /i vte-sharp.dll /f /package gtk-sharp /root %D/lib /gacdir %D/lib > /dev/null
bin/gapi-codegen
bin/gapi-fixup
bin/gapi-fixup.exe