diff options
author | minskim <minskim@pkgsrc.org> | 2005-06-27 19:13:32 +0000 |
---|---|---|
committer | minskim <minskim@pkgsrc.org> | 2005-06-27 19:13:32 +0000 |
commit | 049133684fa11272e7dcec2f502bed76dc07de7d (patch) | |
tree | 964860517870e7a5f1715851f21fff45769d5657 /x11/qt3-libs | |
parent | b2a9d26591523999f72bb6c0e773b5d64898dcd0 (diff) | |
download | pkgsrc-049133684fa11272e7dcec2f502bed76dc07de7d.tar.gz |
Use socklen_t, instead of int, as QT_SOCKLEN_T on Darwin>=8.0.
Diffstat (limited to 'x11/qt3-libs')
-rw-r--r-- | x11/qt3-libs/Makefile | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/x11/qt3-libs/Makefile b/x11/qt3-libs/Makefile index fd362ec55a9..70a77eee7ac 100644 --- a/x11/qt3-libs/Makefile +++ b/x11/qt3-libs/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.36 2005/06/22 21:14:45 jlam Exp $ +# $NetBSD: Makefile,v 1.37 2005/06/27 19:13:32 minskim Exp $ LIBQT= ${WRKSRC}/lib/libqt-mt.la @@ -34,6 +34,15 @@ do-install: ${LIBTOOL} ${INSTALL_LIB} ${WRKSRC}/plugins/imageformats/libqjpeg.la ${QTPREFIX}/plugins/imageformats/ ${LIBTOOL} ${INSTALL_LIB} ${WRKSRC}/plugins/imageformats/libqmng.la ${QTPREFIX}/plugins/imageformats/ +.include "../../mk/bsd.prefs.mk" +.if ${OPSYS} == "Darwin" && empty(MACHINE_PLATFORM:MDarwin-[567].*) +SUBST_CLASSES+= socklen +SUBST_MESSAGE.socklen= "Correcting socklen_t." +SUBST_STAGE.socklen= pre-configure +SUBST_FILES.socklen= mkspecs/darwin-g++/qplatformdefs.h +SUBST_SED.socklen= -e 's/QT_SOCKLEN_T.*/QT_SOCKLEN_T socklen_t/' +.endif + .include "../../devel/zlib/buildlink3.mk" .include "../../fonts/Xft2/buildlink3.mk" .include "../../graphics/jpeg/buildlink3.mk" |