Ticket #3034: Portfile.diff

File Portfile.diff, 1.2 KB (added by mvitocruz@…, 19 years ago)

Proposed fix

  • Portfile

    RCS file: /Volumes/src/cvs/od/proj/darwinports/dports/devel/libsdl_ttf/Portfile,v
    retrieving revision 1.4
    diff -u -r1.4 Portfile
     
    1818checksums       md5 0f6ee1a502e6913a412aac353dc75bbc
    1919
    2020depends_lib     bin:sdl-config:libsdl \
    21                         lib:libfreetype.6:freetype
     21                        port:freetype
    2222
    2323configure.args  --disable-sdltest
    2424
     
    3737                        ${worksrcpath}/PBProjects/SDL_ttf.pbproj/project.pbxproj
    3838                reinplace "s|\$(HOME)/Library/Frameworks|/Library/Frameworks|g" \
    3939                        ${worksrcpath}/PBProjects/SDL_ttf.pbproj/project.pbxproj
    40                 reinplace "s|freetype/include|/usr/X11R6/include/freetype2|g" \
     40                reinplace "s|\$HOME/Library/Frameworks|/Library/Frameworks|g" \
    4141                        ${worksrcpath}/PBProjects/SDL_ttf.pbproj/project.pbxproj
    42                 reinplace "s|freetype/lib|/usr/X11R6/lib|g" \
     42                reinplace "s|freetype/include|${prefix}/include/freetype2 ${prefix}/include|g" \
     43                        ${worksrcpath}/PBProjects/SDL_ttf.pbproj/project.pbxproj
     44                reinplace "s|freetype/lib|${prefix}/lib|g" \
    4345                        ${worksrcpath}/PBProjects/SDL_ttf.pbproj/project.pbxproj
    4446        }
    4547        post-build {