[50703] trunk/dports/x11/pango

ryandesign at macports.org ryandesign at macports.org
Thu May 7 02:15:32 PDT 2009


Revision: 50703
          http://trac.macports.org/changeset/50703
Author:   ryandesign at macports.org
Date:     2009-05-07 02:15:30 -0700 (Thu, 07 May 2009)
Log Message:
-----------
pango: remove gtk-doc dependency and patch docs Makefile instead; see #19547

Modified Paths:
--------------
    trunk/dports/x11/pango/Portfile

Added Paths:
-----------
    trunk/dports/x11/pango/files/patch-which.diff

Modified: trunk/dports/x11/pango/Portfile
===================================================================
--- trunk/dports/x11/pango/Portfile	2009-05-07 08:59:20 UTC (rev 50702)
+++ trunk/dports/x11/pango/Portfile	2009-05-07 09:15:30 UTC (rev 50703)
@@ -28,7 +28,6 @@
     rmd160  948bee4fa9725330e3f041758ef321d618bbdb9e
 
 depends_build \
-    path:bin/gtkdoc-rebase:gtk-doc \
     port:pkgconfig
 
 depends_lib \
@@ -37,6 +36,7 @@
     path:lib/pkgconfig/cairo.pc:cairo
 
 patchfiles \
+    patch-which.diff \
     patch-ltmain.sh.diff
 
 configure.ccache        no

Added: trunk/dports/x11/pango/files/patch-which.diff
===================================================================
--- trunk/dports/x11/pango/files/patch-which.diff	                        (rev 0)
+++ trunk/dports/x11/pango/files/patch-which.diff	2009-05-07 09:15:30 UTC (rev 50703)
@@ -0,0 +1,20 @@
+--- docs/Makefile.in.orig	2009-05-04 15:05:17.000000000 -0500
++++ docs/Makefile.in	2009-05-07 04:08:23.000000000 -0500
+@@ -785,7 +785,7 @@
+ 	    mv -f $${installdir}/$(DOC_MODULE).devhelp \
+ 	      $${installdir}/$(DOC_MODULE)-$(DOC_MODULE_VERSION).devhelp; \
+ 	  fi; \
+-	  ! which gtkdoc-rebase >/dev/null 2>&1 || \
++	  ! test -x "`which gtkdoc-rebase`" || \
+ 	    gtkdoc-rebase --relative --dest-dir=$(DESTDIR) --html-dir=$${installdir} ; \
+ 	fi
+ 
+@@ -815,7 +815,7 @@
+ 	-cp $(srcdir)/$(DOC_MODULE).types $(distdir)/
+ 	-cp $(srcdir)/$(DOC_MODULE)-sections.txt $(distdir)/
+ 	cd $(distdir) && rm -f $(DISTCLEANFILES)
+-	! which gtkdoc-rebase >/dev/null 2>&1 || \
++	! test -x "`which gtkdoc-rebase`" || \
+ 	  gtkdoc-rebase --online --relative --html-dir=$(distdir)/html
+ 
+ .PHONY : dist-hook-local docs
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090507/d0bd1b9d/attachment.html>


More information about the macports-changes mailing list