[102429] trunk/dports/_resources/port1.0/group/pear-1.0.tcl

ryandesign at macports.org ryandesign at macports.org
Sat Feb 2 10:37:13 PST 2013


Revision: 102429
          https://trac.macports.org/changeset/102429
Author:   ryandesign at macports.org
Date:     2013-02-02 10:37:12 -0800 (Sat, 02 Feb 2013)
Log Message:
-----------
pear-1.0.tcl: fix "sed: RE error: illegal byte sequence" on Mountain Lion (e.g. in pear-MDB whose package.xml is ISO-8859-1)

Modified Paths:
--------------
    trunk/dports/_resources/port1.0/group/pear-1.0.tcl

Modified: trunk/dports/_resources/port1.0/group/pear-1.0.tcl
===================================================================
--- trunk/dports/_resources/port1.0/group/pear-1.0.tcl	2013-02-02 18:34:49 UTC (rev 102428)
+++ trunk/dports/_resources/port1.0/group/pear-1.0.tcl	2013-02-02 18:37:12 UTC (rev 102429)
@@ -1,7 +1,7 @@
 # -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
 # $Id$
 #
-# Copyright (c) 2011-2012 The MacPorts Project
+# Copyright (c) 2011-2013 The MacPorts Project
 # All rights reserved.
 #
 # Redistribution and use in source and binary forms, with or without
@@ -167,9 +167,9 @@
     }
 
     post-patch {
-        # Some ports use a "." baseinstalldir which can cause issues creating pears packagingroot directory.
-        reinplace "s|baseinstalldir=\"\.\"|baseinstalldir=\"/\"|g" \
-          ${pear.sourceroot}/${pear.packagexml}
+        # Some ports use a "." baseinstalldir which can cause issues creating pear's packagingroot directory.
+        reinplace -locale C "s|baseinstalldir=\"\.\"|baseinstalldir=\"/\"|g" \
+            ${pear.sourceroot}/${pear.packagexml}
     }
 
     configure.env           ${pear.env}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130202/c58d7e8f/attachment.html>


More information about the macports-changes mailing list