tech-pkg archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
qt4-libs on Mac OS X
I'd like to get qt4-libs going on Mac OS X. In an ideal world, pkgsrc
would use qt4-mac, but I'm OK with the X11-backed version. Unfortunately,
that gives some compile errors, as Qt still thinks it's building qt4-mac,
even with the qt4-x11 sources. To beat it into submission, the patch below
does the right thing for me.
Does anyone see a problem committing this as patch-ar?
- Hubert
$NetBSD$
--- src/corelib/global/qglobal.h.orig 2007-12-04 17:42:55.000000000 +0100
+++ src/corelib/global/qglobal.h
@@ -89,7 +89,7 @@
*/
#if defined(__APPLE__) && (defined(__GNUC__) || defined(__xlC__) ||
defined(__xlc__))
-# define Q_OS_DARWIN
+/* # define Q_OS_DARWIN *//* Else it'll try to use MacOS, no X, stuff, and
fail to build - HF */
# define Q_OS_BSD4
# ifdef __LP64__
# define Q_OS_DARWIN64
Home |
Main Index |
Thread Index |
Old Index