--- specs/macx-g++.orig	2012-08-16 14:56:34.000000000 -0400
+++ specs/macx-g++	2012-08-16 14:59:56.000000000 -0400
@@ -11,7 +11,7 @@
 QMAKE_INCREMENTAL_STYLE = sublibs
 QMAKE_COMPILER_DEFINES  += __APPLE__ __GNUC__
 
-QMAKE_CC		= cc
+QMAKE_CC		= @CC@
 QMAKE_LEX		= flex
 QMAKE_LEXFLAGS		=
 QMAKE_YACC		= yacc
@@ -33,7 +33,7 @@
 QMAKE_CFLAGS_PPC        = -arch ppc
 QMAKE_CFLAGS_X86        = -arch i386
 
-QMAKE_CXX		= c++
+QMAKE_CXX		= @CXX@
 QMAKE_CXXFLAGS		= $$QMAKE_CFLAGS
 QMAKE_CXXFLAGS_DEPS	= $$QMAKE_CFLAGS_DEPS
 QMAKE_CXXFLAGS_WARN_ON	= $$QMAKE_CFLAGS_WARN_ON
@@ -49,6 +49,7 @@
 QMAKE_LIBDIR		=
 QMAKE_INCDIR_QT		= $$[QT_INSTALL_HEADERS]
 QMAKE_LIBDIR_QT		= $$[QT_INSTALL_LIBS]
+QMAKE_FRAMEWORKDIR_QT	= $$[QT_INSTALL_FRAMEWORKS]
 QMAKE_INCDIR_OPENGL	= /System/Library/Frameworks/OpenGL.framework/Headers \
 	/System/Library/Frameworks/AGL.framework/Headers/
 
