[MacPorts] #21731: vpnc 0.5.3 Error: reinplace: couldn't read file "config.c": no such file or directory

MacPorts noreply at macports.org
Mon Oct 12 15:48:44 PDT 2009


#21731: vpnc 0.5.3 Error: reinplace: couldn't read file "config.c": no such file or
directory
-------------------------------+--------------------------------------------
 Reporter:  dpontor@…          |       Owner:  msmk@…          
     Type:  defect             |      Status:  new             
 Priority:  Normal             |   Milestone:                  
Component:  ports              |     Version:  1.8.1           
 Keywords:                     |        Port:  vpnc            
-------------------------------+--------------------------------------------

Comment(by vjay@…):

 I was added to this Thread, because it seems i have the same problem. Im
 not familiar with patch files, what should i do with this?[[BR]]
 When following the manual of manual patching:
 [http://guide.macports.org/#development.patches] point 4.5.3 it doesnt
 work.

 {{{
 sh-3.2# ls
 Portfile        Portfile.orig   Portfile.rej    files
 sh-3.2# cat Portfile.rej
 ***************
 *** 33,39 ****
                       port:libgpg-error

   patchfiles          patch-config.c
 - post-patch { reinplace "s|__ETCDIR__|${prefix}/etc|g" config.c }

   use_configure       no

 --- 33,39 ----
                       port:libgpg-error

   patchfiles          patch-config.c
 + post-patch { reinplace "s|__ETCDIR__|${prefix}/etc|g"
 ${worksrcpath}/config.c }

   use_configure       no

 sh-3.2#

 }}}

-- 
Ticket URL: <http://trac.macports.org/ticket/21731#comment:8>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list