Ignore:
Timestamp:
Feb 2, 2013, 6:37:12 PM (6 years ago)
Author:
ryandesign@…
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)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/_resources/port1.0/group/pear-1.0.tcl

    r96776 r102429  
    22# $Id$
    33#
    4 # Copyright (c) 2011-2012 The MacPorts Project
     4# Copyright (c) 2011-2013 The MacPorts Project
    55# All rights reserved.
    66#
     
    168168
    169169    post-patch {
    170         # Some ports use a "." baseinstalldir which can cause issues creating pears packagingroot directory.
    171         reinplace "s|baseinstalldir=\"\.\"|baseinstalldir=\"/\"|g" \
    172           ${pear.sourceroot}/${pear.packagexml}
     170        # Some ports use a "." baseinstalldir which can cause issues creating pear's packagingroot directory.
     171        reinplace -locale C "s|baseinstalldir=\"\.\"|baseinstalldir=\"/\"|g" \
     172            ${pear.sourceroot}/${pear.packagexml}
    173173    }
    174174
Note: See TracChangeset for help on using the changeset viewer.