pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/chat/jabberd bl3ify and define u_int8_t=uint8_t.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/4ee7ff81a4f1
branches:  trunk
changeset: 467507:4ee7ff81a4f1
user:      grant <grant%pkgsrc.org@localhost>
date:      Mon Feb 02 01:37:09 2004 +0000

description:
bl3ify and define u_int8_t=uint8_t.

fixes build on Solaris and with SunPro.

diffstat:

 chat/jabberd/Makefile |  13 +++++++++----
 1 files changed, 9 insertions(+), 4 deletions(-)

diffs (39 lines):

diff -r 6bbe06882f97 -r 4ee7ff81a4f1 chat/jabberd/Makefile
--- a/chat/jabberd/Makefile     Mon Feb 02 01:36:14 2004 +0000
+++ b/chat/jabberd/Makefile     Mon Feb 02 01:37:09 2004 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.2 2004/01/22 07:49:20 grant Exp $
+# $NetBSD: Makefile,v 1.3 2004/02/02 01:37:09 grant Exp $
 #
 
 DISTNAME=              jabberd-1.4.3
@@ -11,7 +11,9 @@
 
 CONFLICTS=             jabberd2-[0-9]*:../../wip/jabberd2
 
-USE_BUILDLINK2=                yes
+PKG_INSTALLATION_TYPES=        overwrite pkgviews
+
+USE_BUILDLINK3=                yes
 HAS_CONFIGURE=         yes
 USE_GNU_TOOLS+=                make
 USE_PKGINSTALL=                yes
@@ -27,6 +29,9 @@
 
 .include "../../mk/bsd.prefs.mk"
 
+# some systems don't have u_intN_t
+CPPFLAGS+=             -Du_int8_t=uint8_t
+
 BUILD_DEFS+=           JABBERD_USER    JABBERD_GROUP \
                        JABBERD_LOGDIR  JABBERD_SPOOLDIR \
                        JABBERD_PIDDIR  USE_INET6
@@ -76,6 +81,6 @@
        ${INSTALL_DATA} ${WRKSRC}/jabberd/lib/lib.h ${INCDIR}
        ${INSTALL_DATA} ${WRKSRC}/jabberd/lib/xmlparse.h ${INCDIR}
 
-.include "../../devel/pth/buildlink2.mk"
-.include "../../security/openssl/buildlink2.mk"
+.include "../../devel/pth/buildlink3.mk"
+.include "../../security/openssl/buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"



Home | Main Index | Thread Index | Old Index