2012-03-03 01:11:51 +01:00
|
|
|
# $NetBSD: buildlink3.mk,v 1.31 2012/03/03 00:12:06 wiz Exp $
|
2006-02-20 13:07:12 +01:00
|
|
|
|
2009-03-20 20:23:50 +01:00
|
|
|
BUILDLINK_TREE+= qt4-libs
|
2006-02-20 13:07:12 +01:00
|
|
|
|
2009-03-20 20:23:50 +01:00
|
|
|
.if !defined(QT4_LIBS_BUILDLINK3_MK)
|
|
|
|
QT4_LIBS_BUILDLINK3_MK:=
|
2006-02-20 13:07:12 +01:00
|
|
|
|
2010-02-02 15:05:59 +01:00
|
|
|
BUILDLINK_API_DEPENDS.qt4-libs+= qt4-libs>=4.6.1nb2
|
2012-03-03 01:11:51 +01:00
|
|
|
BUILDLINK_ABI_DEPENDS.qt4-libs+= qt4-libs>=4.8.0nb4
|
2006-02-20 13:07:12 +01:00
|
|
|
BUILDLINK_PKGSRCDIR.qt4-libs?= ../../x11/qt4-libs
|
|
|
|
|
|
|
|
BUILDLINK_INCDIRS.qt4-libs+= qt4/include
|
|
|
|
BUILDLINK_LIBDIRS.qt4-libs+= qt4/lib
|
|
|
|
|
|
|
|
QTDIR= ${BUILDLINK_PREFIX.qt4-libs}/qt4
|
|
|
|
|
|
|
|
PTHREAD_OPTS+= require
|
|
|
|
|
2007-01-15 20:16:36 +01:00
|
|
|
.include "../../mk/bsd.fast.prefs.mk"
|
|
|
|
|
2007-10-13 14:02:14 +02:00
|
|
|
.include "../../fonts/fontconfig/buildlink3.mk"
|
|
|
|
.include "../../graphics/freetype2/buildlink3.mk"
|
2010-12-23 12:44:24 +01:00
|
|
|
.include "../../mk/jpeg.buildlink3.mk"
|
2006-02-20 13:07:12 +01:00
|
|
|
.include "../../graphics/png/buildlink3.mk"
|
2011-01-12 08:07:06 +01:00
|
|
|
.if ${OPSYS} != "Darwin"
|
|
|
|
.include "../../graphics/glu/buildlink3.mk"
|
2007-01-15 20:16:36 +01:00
|
|
|
.include "../../x11/libSM/buildlink3.mk"
|
2006-12-15 21:32:52 +01:00
|
|
|
.include "../../x11/libXcursor/buildlink3.mk"
|
|
|
|
.include "../../x11/libXft/buildlink3.mk"
|
2007-01-15 20:16:36 +01:00
|
|
|
.include "../../x11/libXmu/buildlink3.mk"
|
2006-12-15 21:32:52 +01:00
|
|
|
.include "../../x11/libXrandr/buildlink3.mk"
|
2011-01-12 08:07:06 +01:00
|
|
|
. if ${X11_TYPE} == "modular"
|
|
|
|
. include "../../x11/libXinerama/buildlink3.mk"
|
|
|
|
. endif
|
2007-01-15 20:16:36 +01:00
|
|
|
.endif
|
2012-01-13 11:47:18 +01:00
|
|
|
.include "../../security/openssl/buildlink3.mk"
|
2006-02-20 13:07:12 +01:00
|
|
|
.include "../../mk/pthread.buildlink3.mk"
|
|
|
|
|
2009-10-19 13:07:32 +02:00
|
|
|
pkgbase := qt4-libs
|
|
|
|
.include "../../mk/pkg-build-options.mk"
|
|
|
|
.if !empty(PKG_BUILD_OPTIONS.qt4-libs:Mgtk2)
|
|
|
|
. include "../../devel/glib2/buildlink3.mk"
|
|
|
|
#. include "../../x11/gtk2/buildlink3.mk"
|
|
|
|
.endif
|
|
|
|
|
2006-02-20 13:07:12 +01:00
|
|
|
.if !defined(BUILD_QT4)
|
2010-01-29 19:19:09 +01:00
|
|
|
CONFIGURE_ENV+= QTDIR=${QTDIR}
|
|
|
|
MAKE_ENV+= QTDIR=${QTDIR}
|
2006-02-20 13:07:12 +01:00
|
|
|
.endif
|
|
|
|
|
|
|
|
CONFIGURE_ENV+= MOC="${QTDIR}/bin/moc"
|
|
|
|
MAKE_ENV+= MOC="${QTDIR}/bin/moc"
|
2009-03-20 20:23:50 +01:00
|
|
|
.endif # QT4_LIBS_BUILDLINK3_MK
|
2006-02-20 13:07:12 +01:00
|
|
|
|
2009-03-20 20:23:50 +01:00
|
|
|
BUILDLINK_TREE+= -qt4-libs
|