summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorgrant <grant@pkgsrc.org>2004-02-02 01:37:09 +0000
committergrant <grant@pkgsrc.org>2004-02-02 01:37:09 +0000
commit307e0d601dbc64ed6d4c0d65aa786077b49957db (patch)
treeece0669b5cca339ee1c909a697f016bb584b6a0b
parentf2b6f2f9639d9d6ecdcbc92064e28ce952678ce9 (diff)
downloadpkgsrc-307e0d601dbc64ed6d4c0d65aa786077b49957db.tar.gz
bl3ify and define u_int8_t=uint8_t.
fixes build on Solaris and with SunPro.
-rw-r--r--chat/jabberd/Makefile13
1 files changed, 9 insertions, 4 deletions
diff --git a/chat/jabberd/Makefile b/chat/jabberd/Makefile
index 2a3fb5d6004..d5bf7798a34 100644
--- a/chat/jabberd/Makefile
+++ b/chat/jabberd/Makefile
@@ -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 @@ COMMENT= Instant messaging server
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 @@ INCDIR= ${PREFIX}/include/jabberd
.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 @@ do-install:
${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"