reduce-algebra portfile

Mark Brethen mark.brethen at gmail.com
Thu Dec 15 07:06:55 PST 2011


I also found this in /trunk/configure:

# Note I do not even try to build wxWidgets with an SDK older than 10.6
# because that is the first one that provides reasonably full support for
# 64-bit systems. So binaries that I build will not be suitable for anything
# prior to Snow Leopard. I will now build JUST for x86_64 because there
# are not liable to be Intel Macs that do not support 64-bit mode, and ppc
# can now be viewed as obsolete.
# As of mid July 2011 when Lion (10.7) has just been released wxWidgets does
# not survive the 10.7 SDK, so I support a "--without-lionSDK" configuration
# option to drop back...
      if test -d /Developer/SDKs/MacOSX10.7.sdk && test "x$with_lionSDK" != "xno"
      then
        CFLAGS="$CFLAGS -msse2"
        CXXFLAGS="$CXXFLAGS -msse2"
        SDK=/Developer/SDKs/MacOSX10.7.sdk
        MACARCH="--enable-macos_arch=x86_64"
      else
        SDK=/Developer/SDKs/MacOSX10.6.sdk
#       MACARCH="--enable-univeral_binaries"
        MACARCH="--enable-macos_arch=x86_64"
      fi
      extras="--with-xft --with-xim"
      wx="--with-cocoa \
          --with-macosx-sdk=$SDK \
          --with-macosx-version-min=10.6 \
          $MACARCH "
      ;;
    *)

And this portion of main.log:

:info:configure configure: creating ./config.status
:info:configure config.status: creating Makefile
:info:configure config.status: executing depfiles commands
:info:configure /Developer/usr/bin/clang -DPACKAGE_NAME=\"xport\" -DPACKAGE_TARNAME=\"xport\" -DPACKAGE_VERSION=\"2.05\" -DPACKAGE_STRING=\"xport\ 2.05\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"xport\" -DVERSION=\"2.05\" -DHOST_CPU=\"x86_64\" -DHOST_VENDOR=\"apple\" -DHOST_OS=\"darwin11.2.0\" -DHAVE_DIRENT_H=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_UNISTD_H=1 -DHAVE_UTIME_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_ARPA_INET_H=1 -DHAVE_NETDB_H=1 -DHAVE_NETINET_IN_H=1 -DHAVE_SYS_SOCKET_H=1 -DSIZEOF_INT=4 -DSIZEOF_LONG=8 -DHAVE_FTRUNCATE=1 -DHAVE_GETHOSTBYADDR=1 -DHAVE_GETHOSTBYNAME=1 -DHAVE_INET_NTOA=1 -DHAVE_MKDIR=1 -DHAVE_RMDIR=1 -DHAVE_SOCKET=1 -I. -I/opt/local/var/macports/build/_Users_marbre_ports_math_reduce-algebra/reduce-algebra/work/trunk/psl/support-packages/xport-2.05   -I/opt/local/include  -pipe -O2 -arch x86_64 -isysroot /Developer/SDKs/MacOSX10.6.sdk -fno-strict-aliasing -O2 -Wall -MT xport.o -MD -MP -MF .deps/xport.Tpo -c -o xport.o /opt/local/var/macports/build/_Users_marbre_ports_math_reduce-algebra/reduce-algebra/work/trunk/psl/support-packages/xport-2.05/xport.c
:info:configure /opt/local/var/macports/build/_Users_marbre_ports_math_reduce-algebra/reduce-algebra/work/trunk/psl/support-packages/xport-2.05/xport.c:640:12: warning: unused variable 'j' [-Wunused-variable]
:info:configure     int i, j;
:info:configure            ^
:info:configure /opt/local/var/macports/build/_Users_marbre_ports_math_reduce-algebra/reduce-algebra/work/trunk/psl/support-packages/xport-2.05/xport.c:640:9: warning: unused variable 'i' [-Wunused-variable]
:info:configure     int i, j;
:info:configure         ^
:info:configure 2 warnings generated.
:info:configure mv -f .deps/xport.Tpo .deps/xport.Po
:info:configure /Developer/usr/bin/clang  -pipe -O2 -arch x86_64 -isysroot /Developer/SDKs/MacOSX10.6.sdk -fno-strict-aliasing -O2 -Wall  -L/opt/local/lib -arch x86_64 -framework Carbon -framework CoreServices -framework ApplicationServices -o xport xport.o

Why is it using /Developer/SDKs/MacOSX10.6.sdk ?


Mark






More information about the macports-dev mailing list