2010-06-14 00:43:46 +02:00
|
|
|
# $NetBSD: buildlink3.mk,v 1.25 2010/06/13 22:45:50 wiz Exp $
|
2004-03-30 20:58:34 +02:00
|
|
|
|
2009-03-20 20:23:50 +01:00
|
|
|
BUILDLINK_TREE+= qt3-libs
|
2004-03-30 20:58:34 +02:00
|
|
|
|
2009-03-20 20:23:50 +01:00
|
|
|
.if !defined(QT3_LIBS_BUILDLINK3_MK)
|
|
|
|
QT3_LIBS_BUILDLINK3_MK:=
|
2004-03-30 20:58:34 +02:00
|
|
|
|
2006-04-06 08:21:32 +02:00
|
|
|
BUILDLINK_API_DEPENDS.qt3-libs+= qt3-libs>=3.2.3
|
2010-06-14 00:43:46 +02:00
|
|
|
BUILDLINK_ABI_DEPENDS.qt3-libs?= qt3-libs>=3.3.8nb14
|
2004-03-30 20:58:34 +02:00
|
|
|
BUILDLINK_PKGSRCDIR.qt3-libs?= ../../x11/qt3-libs
|
2004-04-16 16:30:44 +02:00
|
|
|
|
|
|
|
BUILDLINK_INCDIRS.qt3-libs+= qt3/include
|
|
|
|
BUILDLINK_LIBDIRS.qt3-libs+= qt3/lib
|
2004-03-30 20:58:34 +02:00
|
|
|
|
|
|
|
QTDIR= ${BUILDLINK_PREFIX.qt3-libs}/qt3
|
2006-02-18 00:24:17 +01:00
|
|
|
BUILDLINK_PASSTHRU_DIRS+= ${QTDIR}
|
2004-04-16 16:30:44 +02:00
|
|
|
|
2007-01-10 11:16:01 +01:00
|
|
|
.include "../../mk/bsd.fast.prefs.mk"
|
|
|
|
|
2004-03-30 20:58:34 +02:00
|
|
|
PTHREAD_OPTS+= require
|
|
|
|
|
|
|
|
.include "../../devel/zlib/buildlink3.mk"
|
|
|
|
.include "../../graphics/jpeg/buildlink3.mk"
|
|
|
|
.include "../../graphics/MesaLib/buildlink3.mk"
|
|
|
|
.include "../../graphics/glu/buildlink3.mk"
|
|
|
|
.include "../../graphics/mng/buildlink3.mk"
|
|
|
|
.include "../../graphics/png/buildlink3.mk"
|
|
|
|
.include "../../graphics/freetype2/buildlink3.mk"
|
2007-01-10 11:16:01 +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 17:19:43 +01:00
|
|
|
.include "../../x11/libXmu/buildlink3.mk"
|
2006-12-15 21:32:52 +01:00
|
|
|
.include "../../x11/libXrandr/buildlink3.mk"
|
2007-01-10 11:16:01 +01:00
|
|
|
.if ${X11_TYPE} == "modular"
|
|
|
|
.include "../../x11/libXinerama/buildlink3.mk"
|
|
|
|
.endif
|
2004-03-30 20:58:34 +02:00
|
|
|
.include "../../mk/pthread.buildlink3.mk"
|
|
|
|
|
|
|
|
CONFIGURE_ENV+= MOC="${QTDIR}/bin/moc"
|
|
|
|
MAKE_ENV+= MOC="${QTDIR}/bin/moc"
|
2004-08-27 08:29:06 +02:00
|
|
|
#LDFLAGS+= ${COMPILER_RPATH_FLAG}${QTDIR}/lib
|
2004-03-30 20:58:34 +02:00
|
|
|
|
|
|
|
.if !defined(BUILD_QT3)
|
2005-12-05 21:49:47 +01:00
|
|
|
CONFIGURE_ENV+= QTDIR=${QTDIR:Q}
|
|
|
|
MAKE_ENV+= QTDIR=${QTDIR:Q}
|
2004-03-30 20:58:34 +02:00
|
|
|
.endif
|
2009-03-20 20:23:50 +01:00
|
|
|
.endif # QT3_LIBS_BUILDLINK3_MK
|
2004-03-30 20:58:34 +02:00
|
|
|
|
2009-03-20 20:23:50 +01:00
|
|
|
BUILDLINK_TREE+= -qt3-libs
|