pkgsrc/x11/qt3-libs/Makefile
skrll 53576b7959 Update to 3.0.5.
Qt 3.0.5 is a bugfix release. It maintains both forward and backward
compatibility (source and binary) with Qt 3.0.4.

To avoid problems with loading plugins which link against different Qt
libraries, the semantics of plugin loading has been changed.

While I'm here add the PTHREAD_OPTS+=require thing to the buildlink files.

TODO: check qt3-{tools,docs} wrt buildlink2.
2002-08-27 09:13:48 +00:00

45 lines
1.5 KiB
Makefile

# $NetBSD: Makefile,v 1.10 2002/08/27 09:13:48 skrll Exp $
#
.include "../qt3-libs/Makefile.common"
PKGNAME= qt3-libs-${QTVERSION}
COMMENT= C++ X GUI toolkit
USE_BUILDLINK2= yes
MAKE_ENV+= LIBQT="${WRKSRC}/lib/libqt-mt.la"
ALL_TARGET= sub-plugins
PTHREAD_OPTS+= require
UNLIMIT_RESOURCES= datasize
post-extract:
${RM} -f ${WRKSRC}/include/qt_windows.h
do-install:
${INSTALL_DATA_DIR} ${QTPREFIX}
${INSTALL_PROGRAM_DIR} ${QTPREFIX}/bin
${INSTALL_PROGRAM} ${WRKSRC}/bin/moc ${QTPREFIX}/bin
${INSTALL_DATA_DIR} ${QTPREFIX}/lib
${PKGLIBTOOL} ${INSTALL_DATA} ${WRKSRC}/lib/libqt-mt.la ${QTPREFIX}/lib
${INSTALL_DATA_DIR} ${QTPREFIX}/include
${INSTALL_DATA} ${WRKSRC}/include/*.h ${QTPREFIX}/include
${INSTALL_DATA_DIR} ${QTPREFIX}/include/private
${INSTALL_DATA} ${WRKSRC}/include/private/*.h ${QTPREFIX}/include/private
${INSTALL_DATA_DIR} ${QTPREFIX}/plugins
${INSTALL_DATA_DIR} ${QTPREFIX}/plugins/imageformats
${LIBTOOL} ${INSTALL_DATA} ${WRKSRC}/plugins/imageformats/libqjpeg.la ${QTPREFIX}/plugins/imageformats
${LIBTOOL} ${INSTALL_DATA} ${WRKSRC}/plugins/imageformats/libqmng.la ${QTPREFIX}/plugins/imageformats
.include "../../devel/zlib/buildlink2.mk"
.include "../../graphics/jpeg/buildlink2.mk"
.include "../../graphics/Mesa/buildlink2.mk"
.include "../../graphics/mng/buildlink2.mk"
.include "../../graphics/png/buildlink2.mk"
.include "../../graphics/freetype2/buildlink2.mk"
.include "../../mk/pthread.buildlink2.mk"
.include "../../mk/bsd.pkg.mk"