diff options
author | adam <adam@pkgsrc.org> | 2011-01-12 07:07:06 +0000 |
---|---|---|
committer | adam <adam@pkgsrc.org> | 2011-01-12 07:07:06 +0000 |
commit | f8095931bf39b0bb77b26d5eb92bf1536f01716e (patch) | |
tree | 34fbe17d140e271f142308694adea57540b75593 /x11/qt4-libs/files | |
parent | afa322ac59aac833a6d8b1f4239d5e994366e605 (diff) | |
download | pkgsrc-f8095931bf39b0bb77b26d5eb92bf1536f01716e.tar.gz |
* Install libphonon.
* On Mac OS X build Qt with Cocoa, but don't install as a framework.
Diffstat (limited to 'x11/qt4-libs/files')
-rw-r--r-- | x11/qt4-libs/files/qmake.conf | 6 | ||||
-rw-r--r-- | x11/qt4-libs/files/qmake.conf.mac | 98 |
2 files changed, 100 insertions, 4 deletions
diff --git a/x11/qt4-libs/files/qmake.conf b/x11/qt4-libs/files/qmake.conf index 9f5f1d8f16c..f0624e40c0f 100644 --- a/x11/qt4-libs/files/qmake.conf +++ b/x11/qt4-libs/files/qmake.conf @@ -1,8 +1,6 @@ -# $NetBSD: qmake.conf,v 1.4 2010/11/15 13:05:45 adam Exp $ -# $Id: qmake.conf,v 1.4 2010/11/15 13:05:45 adam Exp $ -# -# qmake configuration for pkgsrc +# $NetBSD: qmake.conf,v 1.5 2011/01/12 07:07:07 adam Exp $ # +# qmake configuration for PkgSrc MAKEFILE_GENERATOR = UNIX TARGET_PLATFORM = unix diff --git a/x11/qt4-libs/files/qmake.conf.mac b/x11/qt4-libs/files/qmake.conf.mac new file mode 100644 index 00000000000..88e2f651de3 --- /dev/null +++ b/x11/qt4-libs/files/qmake.conf.mac @@ -0,0 +1,98 @@ +# $NetBSD: qmake.conf.mac,v 1.1 2011/01/12 07:07:07 adam Exp $ +# +# qmake configuration for PkgSrc on Mac OS X + +MAKEFILE_GENERATOR = UNIX +TARGET_PLATFORM = macx +TEMPLATE = app +CONFIG += qt warn_on release link_prl incremental global_init_link_order lib_version_first plugin_no_soname +QT += core gui + +QMAKE_COMPILER_DEFINES = __APPLE__ __GNUC__ + +QMAKE_CC = @CC@ +QMAKE_LEX = @LEX@ +QMAKE_LEXFLAGS = +QMAKE_YACC = @YACC@ +QMAKE_YACCFLAGS = -d +QMAKE_CFLAGS = @CFLAGS@ +QMAKE_CFLAGS_DEPS = -M +QMAKE_CFLAGS_WARN_ON = +QMAKE_CFLAGS_WARN_OFF = +QMAKE_CFLAGS_RELEASE = +QMAKE_CFLAGS_DEBUG = -g +QMAKE_CFLAGS_SHLIB = -fPIC +QMAKE_CFLAGS_STATIC_LIB = $$QMAKE_CFLAGS_SHLIB +QMAKE_CFLAGS_YACC = -Wno-unused -Wno-parentheses +QMAKE_CFLAGS_THREAD = -D_REENTRANT + +QMAKE_CXX = @CXX@ +QMAKE_CXXFLAGS = @CXXFLAGS@ -DQ_TRAILING_DIR_SEP +QMAKE_CXXFLAGS_DEPS = $$QMAKE_CFLAGS_DEPS +QMAKE_CXXFLAGS_WARN_ON = $$QMAKE_CFLAGS_WARN_ON +QMAKE_CXXFLAGS_WARN_OFF = $$QMAKE_CFLAGS_WARN_OFF +QMAKE_CXXFLAGS_RELEASE = $$QMAKE_CFLAGS_RELEASE +QMAKE_CXXFLAGS_DEBUG = $$QMAKE_CFLAGS_DEBUG +QMAKE_CXXFLAGS_SHLIB = $$QMAKE_CFLAGS_SHLIB +QMAKE_CXXFLAGS_STATIC_LIB = $$QMAKE_CFLAGS_STATIC_LIB +QMAKE_CXXFLAGS_YACC = $$QMAKE_CFLAGS_YACC +QMAKE_CXXFLAGS_THREAD = $$QMAKE_CFLAGS_THREAD + +QMAKE_INCDIR = @LOCALBASE@/include +QMAKE_LIBDIR = @LOCALBASE@/lib +QMAKE_INCDIR_QT = $(QTDIR)/include +QMAKE_LIBDIR_QT = $(QTDIR)/lib +QMAKE_INCDIR_OPENGL = /System/Library/Frameworks/OpenGL.framework/Headers \ + /System/Library/Frameworks/AGL.framework/Headers + +QMAKE_LINK = @CXX@ +QMAKE_LINK_SHLIB = @CXX@ +QMAKE_LINK_C = @CC@ +QMAKE_LINK_C_SHLIB = @CC@ +QMAKE_LINK_SHLIB_CMD = $$QMAKE_LINK_SHLIB $$QMAKE_LFLAGS_SHLIB $(LFLAGS) $$QMAKE_LFLAGS -o $(TARGETD) $(OBJECTS) $(OBJMOC) $(LIBS) +QMAKE_LFLAGS = $(LDFLAGS) -L$(QTDIR)/lib +QMAKE_LFLAGS_RELEASE = +QMAKE_LFLAGS_DEBUG = +QMAKE_LFLAGS_SHLIB = -single_module -dynamiclib +QMAKE_LFLAGS_PLUGIN = $$QMAKE_LFLAGS_SHLIB +QMAKE_LFLAGS_SONAME = -install_name$${LITERAL_WHITESPACE} +QMAKE_LFLAGS_THREAD = @PTHREAD_LDFLAGS@ +QMAKE_LFLAGS_NOUNDEF = +QMAKE_LFLAGS_RPATH = @COMPILER_RPATH_FLAG@ +QMAKE_LFLAGS_INCREMENTAL= -undefined suppress -flat_namespace +QMAKE_LFLAGS_VERSION = -current_version$${LITERAL_WHITESPACE} +QMAKE_LFLAGS_COMPAT_VERSION=-compatibility_version$${LITERAL_WHITESPACE} +# -all_load requred to make Objective-C categories work in static builds. +QMAKE_LFLAGS_STATIC_LIB = -all_load + +QMAKE_FIX_RPATH = install_name_tool -id +QMAKE_EXTENSION_SHLIB = dylib + +QMAKE_LIBS = +QMAKE_LIBS_DYNLOAD = +QMAKE_LIBS_THREAD = +QMAKE_LIBS_OPENGL = -framework OpenGL -framework AGL +QMAKE_LIBS_OPENGL_QT = $$QMAKE_LIBS_OPENGL + +QMAKE_MOC = $(QTDIR)/bin/moc +QMAKE_UIC = $(QTDIR)/bin/uic +QMAKE_UIC3 = $(QTDIR)/bin/uic3 +QMAKE_RCC = $(QTDIR)/bin/rcc + +QMAKE_AR = @AR@ cq +#QMAKE_OBJCOPY = objcopy +QMAKE_RANLIB = @QMAKE_RANLIB@ + +QMAKE_TAR = tar -cf +QMAKE_GZIP = gzip -9f + +QMAKE_COPY = cp -f +QMAKE_COPY_FILE = $$QMAKE_COPY +QMAKE_COPY_DIR = $$QMAKE_COPY -R +QMAKE_MOVE = mv -f +QMAKE_DEL_FILE = rm -f +QMAKE_DEL_DIR = rmdir +QMAKE_CHK_DIR_EXISTS = test -d +QMAKE_MKDIR = @MKDIR@ +include(../common/unix.conf) +load(qt_config) |