2004-10-07 18:36:47 +02:00
|
|
|
# $NetBSD: buildlink3.mk,v 1.7 2004/10/07 16:36:47 tv Exp $
|
2004-03-30 20:58:34 +02:00
|
|
|
|
|
|
|
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
|
|
|
|
QT3_LIBS_BUILDLINK3_MK:= ${QT3_LIBS_BUILDLINK3_MK}+
|
|
|
|
|
|
|
|
.if !empty(BUILDLINK_DEPTH:M+)
|
|
|
|
BUILDLINK_DEPENDS+= qt3-libs
|
|
|
|
.endif
|
|
|
|
|
|
|
|
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nqt3-libs}
|
|
|
|
BUILDLINK_PACKAGES+= qt3-libs
|
|
|
|
|
|
|
|
.if !empty(QT3_LIBS_BUILDLINK3_MK:M+)
|
|
|
|
BUILDLINK_DEPENDS.qt3-libs+= qt3-libs>=3.2.3
|
2004-10-07 18:36:47 +02:00
|
|
|
BUILDLINK_RECOMMENDED.qt3-libs+=qt3-libs>=3.3.3nb4
|
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-05-07 17:25:13 +02:00
|
|
|
|
2004-03-30 20:58:34 +02:00
|
|
|
.endif # QT3_LIBS_BUILDLINK3_MK
|
|
|
|
|
|
|
|
QTDIR= ${BUILDLINK_PREFIX.qt3-libs}/qt3
|
2004-04-24 02:12:14 +02:00
|
|
|
BUILDLINK_PASSTHRU_DIRS+= ${QTDIR}
|
2004-04-16 16:30:44 +02:00
|
|
|
|
2004-03-30 20:58:34 +02:00
|
|
|
PTHREAD_OPTS+= require
|
|
|
|
|
|
|
|
.include "../../devel/zlib/buildlink3.mk"
|
|
|
|
.include "../../fonts/Xft2/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"
|
|
|
|
.include "../../x11/Xrandr/buildlink3.mk"
|
|
|
|
.include "../../x11/xcursor/buildlink3.mk"
|
|
|
|
.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)
|
|
|
|
CONFIGURE_ENV+= QTDIR="${QTDIR}"
|
|
|
|
MAKE_ENV+= QTDIR="${QTDIR}"
|
|
|
|
.endif
|
|
|
|
|
|
|
|
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}
|