Ticket #3185: Portfile.diff

File Portfile.diff, 913 bytes (added by mvitocruz@…, 19 years ago)

Proposed fix

  • Portfile

    RCS file: /Volumes/src/cvs/od/proj/darwinports/dports/audio/libsdl_sound/Portfile,v
    retrieving revision 1.3
    diff -u -r1.3 Portfile
     
    4646}
    4747
    4848set pbx "${worksrcpath}/PBProjects/SDL_sound.pbproj/project.pbxproj"
    49 platform darwin 7 {
     49platform darwin {
    5050        post-extract {
    5151                system "cd ${worksrcpath} && tar -xvzf PBProjects.tar.gz"
    5252        }
    5353        post-patch {
    5454                reinplace "s|~/Library/Frameworks|./build/Frameworks|g" ${pbx}
    5555                reinplace "s|\$(HOME)/Library/Frameworks|/Library/Frameworks|g" ${pbx}
     56                reinplace "s|\$HOME/Library/Frameworks|/Library/Frameworks|g" ${pbx}
    5657                reinplace "s|vorbis/include|$prefix/include/vorbis|g" ${pbx}
    5758                reinplace "s|vorbis/lib|$prefix/lib|g" ${pbx}
    5859                reinplace "s|mikmod/include|$prefix/include|g" ${pbx}