diff options
author | joerg <joerg@pkgsrc.org> | 2007-01-10 10:16:01 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2007-01-10 10:16:01 +0000 |
commit | 1eb1d87057d9c3a5cb0f0c8bfb5f00f9f0bbd28b (patch) | |
tree | 3cbe233b2e97cde49d7caaebde7543eed9322555 /x11/qt3-libs | |
parent | dd2565be8cf0dd9df5e974ff76b01c0eb9c903e6 (diff) | |
download | pkgsrc-1eb1d87057d9c3a5cb0f0c8bfb5f00f9f0bbd28b.tar.gz |
Modular Xorg support for Qt.
Diffstat (limited to 'x11/qt3-libs')
-rw-r--r-- | x11/qt3-libs/Makefile | 3 | ||||
-rw-r--r-- | x11/qt3-libs/Makefile.common | 8 | ||||
-rw-r--r-- | x11/qt3-libs/buildlink3.mk | 8 |
3 files changed, 13 insertions, 6 deletions
diff --git a/x11/qt3-libs/Makefile b/x11/qt3-libs/Makefile index 9177d18663e..dee398180a5 100644 --- a/x11/qt3-libs/Makefile +++ b/x11/qt3-libs/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.58 2006/12/15 20:33:04 joerg Exp $ +# $NetBSD: Makefile,v 1.59 2007/01/10 10:16:01 joerg Exp $ PKGNAME= qt3-libs-${QTVERSION} MAINTAINER= adam@NetBSD.org @@ -61,6 +61,7 @@ SUBST_SED.socklen= -e 's/QT_SOCKLEN_T.*/QT_SOCKLEN_T socklen_t/' .include "../../graphics/mng/buildlink3.mk" .include "../../graphics/png/buildlink3.mk" .include "../../graphics/freetype2/buildlink3.mk" +.include "../../x11/libSM/buildlink3.mk" .include "../../x11/libXcursor/buildlink3.mk" .include "../../x11/libXft/buildlink3.mk" .include "../../x11/libXrandr/buildlink3.mk" diff --git a/x11/qt3-libs/Makefile.common b/x11/qt3-libs/Makefile.common index 1ac61607341..9ff4a3cc7f9 100644 --- a/x11/qt3-libs/Makefile.common +++ b/x11/qt3-libs/Makefile.common @@ -1,4 +1,4 @@ -# $NetBSD: Makefile.common,v 1.61 2006/07/26 13:30:24 joerg Exp $ +# $NetBSD: Makefile.common,v 1.62 2007/01/10 10:16:01 joerg Exp $ DISTNAME= qt-x11-free-${QTVERSION} CATEGORIES= x11 @@ -72,7 +72,9 @@ CONFIGURE_ARGS+= -verbose QMAKE_RANLIB?= ${TRUE} -.if !exists(${X11BASE}/lib/libXinerama.so) && \ +.if ${X11_TYPE} == "modular" +.include "../../x11/libXinerama/buildlink3.mk" +.elif !exists(${X11BASE}/lib/libXinerama.so) && \ !exists(${X11BASE}/lib/libXinerama.dylib) CONFIGURE_ARGS+= -no-xinerama .endif @@ -108,8 +110,6 @@ INSTALL_UNSTRIPPED= yes CXXFLAGS+= -DQ_INLINE_TEMPLATES=inline .endif -.include "../../mk/x11.buildlink3.mk" - pre-configure: ${SED} \ -e 's:@LOCALBASE@:${LOCALBASE}:g' \ diff --git a/x11/qt3-libs/buildlink3.mk b/x11/qt3-libs/buildlink3.mk index c7591ef231b..b423495d687 100644 --- a/x11/qt3-libs/buildlink3.mk +++ b/x11/qt3-libs/buildlink3.mk @@ -1,4 +1,4 @@ -# $NetBSD: buildlink3.mk,v 1.19 2006/12/15 20:33:04 joerg Exp $ +# $NetBSD: buildlink3.mk,v 1.20 2007/01/10 10:16:01 joerg Exp $ BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+ QT3_LIBS_BUILDLINK3_MK:= ${QT3_LIBS_BUILDLINK3_MK}+ @@ -23,6 +23,8 @@ BUILDLINK_LIBDIRS.qt3-libs+= qt3/lib QTDIR= ${BUILDLINK_PREFIX.qt3-libs}/qt3 BUILDLINK_PASSTHRU_DIRS+= ${QTDIR} +.include "../../mk/bsd.fast.prefs.mk" + PTHREAD_OPTS+= require .include "../../devel/zlib/buildlink3.mk" @@ -32,9 +34,13 @@ PTHREAD_OPTS+= require .include "../../graphics/mng/buildlink3.mk" .include "../../graphics/png/buildlink3.mk" .include "../../graphics/freetype2/buildlink3.mk" +.include "../../x11/libSM/buildlink3.mk" .include "../../x11/libXcursor/buildlink3.mk" .include "../../x11/libXft/buildlink3.mk" .include "../../x11/libXrandr/buildlink3.mk" +.if ${X11_TYPE} == "modular" +.include "../../x11/libXinerama/buildlink3.mk" +.endif .include "../../mk/pthread.buildlink3.mk" CONFIGURE_ENV+= MOC="${QTDIR}/bin/moc" |