Changeset 13524 for trunk/dports/audio


Ignore:
Timestamp:
Aug 14, 2005, 7:10:39 PM (15 years ago)
Author:
ben
Message:

Fix build on XCode 2.1

Location:
trunk/dports/audio/libsdl_sound-framework
Files:
3 added
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/audio/libsdl_sound-framework/Portfile

    r13270 r13524  
    1 # $Id: Portfile,v 1.1 2005/07/28 19:12:34 ben Exp $
     1# $Id: Portfile,v 1.2 2005/08/14 19:10:39 ben Exp $
    22PortSystem              1.0
    33name                    libsdl_sound-framework
     
    1414master_sites            http://icculus.org/SDL_sound/downloads/
    1515distname                SDL_sound-${version}
     16dist_subdir             libsdl_sound
    1617checksums               md5 49e197ef7c8ab623d0640dc74be43160
    1718depends_lib             port:libsdl-framework \
     
    3738                --disable-smpegtest
    3839
     40set buildindir build
     41
     42platform darwin 8 {
     43if {$xcodeversion == "2.1"} {
     44  set buildindir build/Deployment
     45  patchfiles patch-acinclude.m4.xcode21 patch-aclocal.m4.xcode21 patch-configure.xcode21
     46  }
     47}
     48
    3949set pbx "${worksrcpath}/PBProjects/SDL_sound.pbproj/project.pbxproj"
    4050
     
    5161        reinplace "s|mikmod/include|$prefix/include|g" ${pbx}
    5262        reinplace "s|mikmod/lib|$prefix/lib|g" ${pbx}
     63        reinplace "s|build/SDL_sound.framework|${buildindir}/SDL_sound.framework|g" ${pbx}
    5364}
    5465
Note: See TracChangeset for help on using the changeset viewer.