[49759] trunk/dports/gnome/gnome-libs

jmr at macports.org jmr at macports.org
Fri Apr 17 08:49:57 PDT 2009


Revision: 49759
          http://trac.macports.org/changeset/49759
Author:   jmr at macports.org
Date:     2009-04-17 08:49:57 -0700 (Fri, 17 Apr 2009)
Log Message:
-----------
gnome-libs: fix destroot failure (#14363) and mtree violation

Modified Paths:
--------------
    trunk/dports/gnome/gnome-libs/Portfile

Added Paths:
-----------
    trunk/dports/gnome/gnome-libs/files/install.diff

Modified: trunk/dports/gnome/gnome-libs/Portfile
===================================================================
--- trunk/dports/gnome/gnome-libs/Portfile	2009-04-17 15:40:06 UTC (rev 49758)
+++ trunk/dports/gnome/gnome-libs/Portfile	2009-04-17 15:49:57 UTC (rev 49759)
@@ -18,11 +18,18 @@
 use_bzip2	yes
 checksums	md5 6111e91b143a90afb30f7a8c1e6cbbd6
 depends_lib     port:oaf port:gtk1 port:libghttp port:imlib
-patchfiles	patch_configure patch_ltmain.sh patch-XmHTMLP.h patch-XmHTMLI.h
+patchfiles	patch_configure patch_ltmain.sh patch-XmHTMLP.h patch-XmHTMLI.h \
+            install.diff
+
 configure.args  --mandir=${prefix}/share/man --disable-gtk-doc --disable-test-gnome
 configure.cppflags-append "-L${prefix}/lib"
 configure.cflags-append "-fstrict-aliasing -funroll-loops"
 
+post-configure {
+    reinplace "s|docdir = \$(prefix)/doc|docdir = \$(prefix)/share/doc/${name}|g" \
+              ${worksrcpath}/devel-docs/Makefile
+}
+
 pre-destroot {
 	addgroup games
 	adduser games gid=[existsgroup games]

Added: trunk/dports/gnome/gnome-libs/files/install.diff
===================================================================
--- trunk/dports/gnome/gnome-libs/files/install.diff	                        (rev 0)
+++ trunk/dports/gnome/gnome-libs/files/install.diff	2009-04-17 15:49:57 UTC (rev 49759)
@@ -0,0 +1,13 @@
+--- configure.orig	2009-04-18 01:34:19.000000000 +1000
++++ configure	2009-04-18 01:35:10.000000000 +1000
+@@ -14438,10 +14438,6 @@
+       *) # Relative path.
+         ac_sub_cache_file="$ac_dots$cache_file" ;;
+       esac
+-  case "$ac_given_INSTALL" in
+-        [/$]*) INSTALL="$ac_given_INSTALL" ;;
+-        *) INSTALL="$ac_dots$ac_given_INSTALL" ;;
+-        esac
+ 
+       echo "running ${CONFIG_SHELL-/bin/sh} $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_sub_srcdir"
+       # The eval makes quoting arguments work.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090417/269d22a5/attachment.html>


More information about the macports-changes mailing list