[26074] trunk/dports/textproc/libxml2/Portfile

source_changes at macosforge.org source_changes at macosforge.org
Mon Jun 11 10:38:13 PDT 2007


Revision: 26074
          http://trac.macosforge.org/projects/macports/changeset/26074
Author:   rhwood at macports.org
Date:     2007-06-11 10:38:12 -0700 (Mon, 11 Jun 2007)

Log Message:
-----------
Apply patch from ticket:12106

Modified Paths:
--------------
    trunk/dports/textproc/libxml2/Portfile

Modified: trunk/dports/textproc/libxml2/Portfile
===================================================================
--- trunk/dports/textproc/libxml2/Portfile	2007-06-11 17:31:13 UTC (rev 26073)
+++ trunk/dports/textproc/libxml2/Portfile	2007-06-11 17:38:12 UTC (rev 26074)
@@ -4,6 +4,7 @@
 
 name                  libxml2
 version               2.6.28
+revision	      1
 categories            textproc
 description           gnome xml library
 platforms             darwin
@@ -16,6 +17,15 @@
                       sha1 7642a52799efde2e0163d322b2aee8cd9f583268 \
                       rmd160 65d0c2cef5ce40751bd72bb54462d9122558fa17
 depends_lib           port:libiconv port:zlib
+post-extract {
+    reinplace "s|/etc|${prefix}/etc|g" \
+        ${worksrcpath}/catalog.c \
+        ${worksrcpath}/runtest.c \
+        ${worksrcpath}/xmlcatalog.c \
+        ${worksrcpath}/xmllint.c \
+        ${worksrcpath}/doc/xmlcatalog.1 \
+        ${worksrcpath}/doc/xmllint.1
+}
 configure.env         BASE_DIR=${prefix}/share/doc
 configure.args        --mandir=${prefix}/share/man --with-iconv=${prefix} \
                         --enable-static=no \

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20070611/54ece7bd/attachment.html


More information about the macports-changes mailing list