emacs25Macport: fix for new macOS 10.10 frameworks.

See https://github.com/NixOS/nixpkgs/pull/23907#issuecomment-286627100.
This commit is contained in:
Drew Hess 2017-03-18 20:20:24 -07:00 committed by Daiderd Jordan
parent de494f5842
commit b800655639
No known key found for this signature in database
GPG Key ID: D02435D05B810C96

View File

@ -59,7 +59,7 @@ stdenv.mkDerivation rec {
"--enable-mac-app=$$out/Applications"
];
CFLAGS = "-O3 -DMAC_OS_X_VERSION_MAX_ALLOWED=1090 -DMAC_OS_X_VERSION_MIN_REQUIRED=1090";
CFLAGS = "-O3 -DMAC_OS_X_VERSION_MAX_ALLOWED=MAC_OS_X_VERSION_10_10 -DMAC_OS_X_VERSION_MIN_REQUIRED=MAC_OS_X_VERSION_10_10";
LDFLAGS = "-O3 -L${ncurses.out}/lib";
postInstall = ''