pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/x11/qt3-libs Use socklen_t, instead of int, as QT_SOCK...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/366c50f4410f
branches:  trunk
changeset: 496401:366c50f4410f
user:      minskim <minskim%pkgsrc.org@localhost>
date:      Mon Jun 27 19:13:32 2005 +0000

description:
Use socklen_t, instead of int, as QT_SOCKLEN_T on Darwin>=8.0.

diffstat:

 x11/qt3-libs/Makefile |  11 ++++++++++-
 1 files changed, 10 insertions(+), 1 deletions(-)

diffs (25 lines):

diff -r 0b577656ab74 -r 366c50f4410f x11/qt3-libs/Makefile
--- a/x11/qt3-libs/Makefile     Mon Jun 27 19:11:25 2005 +0000
+++ b/x11/qt3-libs/Makefile     Mon Jun 27 19:13:32 2005 +0000
@@ -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 @@
        ${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"



Home | Main Index | Thread Index | Old Index