Ticket #1887: Portfile.patch

File Portfile.patch, 751 bytes (added by chris.ridd@…, 20 years ago)

Patch which restores missing /

Line 
1Index: Portfile
2===================================================================
3RCS file: /Volumes/src/cvs/od/proj/darwinports/dports/textproc/dumpasn1/Portfile,v
4retrieving revision 1.3
5diff -b -c -r1.3 Portfile
6*** Portfile    5 Aug 2003 09:29:36 -0000       1.3
7--- Portfile    30 May 2004 08:06:46 -0000
8***************
9*** 21,27 ****
10 
11  configure     {}
12 
13! post-configure {      reinplace "s|/etc/dumpasn1/|$prefix/etc|g" \
14                                "${worksrcpath}/dumpasn1.c" }
15 
16  build {               system "cc -o ${worksrcpath}/dumpasn1 ${worksrcpath}/dumpasn1.c" }
17--- 21,27 ----
18 
19  configure     {}
20 
21! post-configure {      reinplace "s|/etc/dumpasn1/|$prefix/etc/|g" \
22                                "${worksrcpath}/dumpasn1.c" }
23 
24  build {               system "cc -o ${worksrcpath}/dumpasn1 ${worksrcpath}/dumpasn1.c" }