pkgsrc/x11/qt4-libs/buildlink3.mk
joerg 58c3144236 Mechanically replace all includes of buildlink3.mk of the following
packages with the modular Xorg equivalent. Those are falling back
to the old location by default, so this commmit doesn't change
dependencies.

graphics/xpm ==> x11/libXpm
fonts/Xft2 ==> x11/libXft
x11/Xfixes ==> x11/libXfixes
x11/xcursor ==> x11/libXcursor
x11/Xrender ==> x11/libXrender
x11/Xrandr ==> libXrandr
2006-12-15 20:32:52 +00:00

46 lines
1.4 KiB
Makefile

# $NetBSD: buildlink3.mk,v 1.9 2006/12/15 20:33:04 joerg Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
QT4_LIBS_BUILDLINK3_MK:= ${QT4_LIBS_BUILDLINK3_MK}+
.if !empty(BUILDLINK_DEPTH:M+)
BUILDLINK_DEPENDS+= qt4-libs
.endif
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nqt4-libs}
BUILDLINK_PACKAGES+= qt4-libs
BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}qt4-libs
.if !empty(QT4_LIBS_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.qt4-libs+= qt4-libs>=4.1.0
BUILDLINK_ABI_DEPENDS.qt4-libs+= qt4-libs>=4.1.2nb1
BUILDLINK_PKGSRCDIR.qt4-libs?= ../../x11/qt4-libs
BUILDLINK_INCDIRS.qt4-libs+= qt4/include
BUILDLINK_LIBDIRS.qt4-libs+= qt4/lib
.endif # QT4_LIBS_BUILDLINK3_MK
QTDIR= ${BUILDLINK_PREFIX.qt4-libs}/qt4
BUILDLINK_PASSTHRU_DIRS+= ${QTDIR}
PTHREAD_OPTS+= require
.include "../../graphics/jpeg/buildlink3.mk"
.include "../../graphics/glu/buildlink3.mk"
.include "../../graphics/mng/buildlink3.mk"
.include "../../graphics/png/buildlink3.mk"
.include "../../graphics/freetype2/buildlink3.mk"
.include "../../x11/libXcursor/buildlink3.mk"
.include "../../x11/libXft/buildlink3.mk"
.include "../../x11/libXrandr/buildlink3.mk"
.include "../../mk/pthread.buildlink3.mk"
.if !defined(BUILD_QT4)
CONFIGURE_ENV+= QTDIR=${QTDIR:Q}
MAKE_ENV+= QTDIR=${QTDIR:Q}
.endif
CONFIGURE_ENV+= MOC="${QTDIR}/bin/moc"
MAKE_ENV+= MOC="${QTDIR}/bin/moc"
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}