Changeset 53939


Ignore:
Timestamp:
Jul 16, 2009, 8:25:53 PM (10 years ago)
Author:
toby@…
Message:

fix setting universal_variant

Location:
trunk/dports/audio/portaudio
Files:
2 edited

Legend:

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

    r53938 r53939  
    3030
    3131# Universal building is on by default
    32 universal_variant   no
     32if {${os.major} >= 10} {
     33    universal_variant yes
     34} else {
     35    universal_variant no
     36}
    3337
    3438platform darwin 10 {
    35     universal_variant yes
    3639    patchfiles patch-configure patch-src__common__pa_types.h patch-src__hostapi__coreaudio__pa_mac_core.c
    3740}
  • trunk/dports/audio/portaudio/files/patch-configure

    r53938 r53939  
    2121-       fi
    2222+       SHARED_FLAGS="-Werror -framework CoreAudio -framework AudioToolbox -framework AudioUnit -framework CoreFoundation -dynamiclib";
    23 +       CFLAGS="-Werror -Wno-deprecated-declarations $CFLAGS";
     23+       CFLAGS="-Werror $CFLAGS";
    2424        OTHER_OBJS="src/os/mac_osx/pa_mac_hostapis.o src/os/unix/pa_unix_util.o src/hostapi/coreaudio/pa_mac_core.o src/hostapi/coreaudio/pa_mac_core_utilities.o src/hostapi/coreaudio/pa_mac_core_blocking.o src/common/pa_ringbuffer.o";
    2525        LIBS="-framework CoreAudio -framework AudioToolbox -framework AudioUnit -framework Carbon";
Note: See TracChangeset for help on using the changeset viewer.