Changeset 12381


Ignore:
Timestamp:
May 24, 2005, 9:12:19 PM (15 years ago)
Author:
mww
Message:

fix build on 10.4 (avoid building of pbx stuff which fails)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/audio/libsdl_mixer/Portfile

    r12016 r12381  
    1 # $Id: Portfile,v 1.6 2005/04/25 13:36:54 mww Exp $
     1# $Id: Portfile,v 1.7 2005/05/24 21:12:19 mww Exp $
    22
    33PortSystem                      1.0
     
    3535}
    3636
    37 platform darwin {
     37set pbx "${worksrcpath}/PBProjects/SDL_mixer.pbproj/project.pbxproj"
     38platform darwin 7 {
    3839        post-extract {
    3940                system "cd ${worksrcpath} && tar -xvzf PBProjects.tar.gz"
    4041        }
    4142        post-patch {
    42                 reinplace "s|~/Library/Frameworks|./build/Frameworks|g" \
    43                         ${worksrcpath}/PBProjects/SDL_mixer.pbproj/project.pbxproj
    44                 reinplace "s|\$(HOME)/Library/Frameworks|/Library/Frameworks|g" \
    45                         ${worksrcpath}/PBProjects/SDL_mixer.pbproj/project.pbxproj
     43                reinplace "s|~/Library/Frameworks|./build/Frameworks|g" ${pbx}
     44                reinplace "s|\$(HOME)/Library/Frameworks|/Library/Frameworks|g" ${pbx}
    4645        }
    4746        post-build {
     
    6665        depends_lib-append      lib:libdl:dlcompat
    6766}
    68 
Note: See TracChangeset for help on using the changeset viewer.