diff options
author | xtraeme <xtraeme@pkgsrc.org> | 2007-05-26 13:33:56 +0000 |
---|---|---|
committer | xtraeme <xtraeme@pkgsrc.org> | 2007-05-26 13:33:56 +0000 |
commit | 9d0d84961b69e08b686834f99029340dc6bc89c3 (patch) | |
tree | 11cde53be2576dd25054fbd0ceea43d66a1a7529 /chat/jabberd2/Makefile | |
parent | ed46372f590327a83be5c3618ac21f1c4d59f691 (diff) | |
download | pkgsrc-9d0d84961b69e08b686834f99029340dc6bc89c3.tar.gz |
- Move JABBERD_DBDIR to Makefile.common, because this is used by sqlite.
- Add VARBASE into BUILD_DEFS, as suggested by pkglint.
- Transform @pkglibdir@ appropiately in the configuration files.
Diffstat (limited to 'chat/jabberd2/Makefile')
-rw-r--r-- | chat/jabberd2/Makefile | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/chat/jabberd2/Makefile b/chat/jabberd2/Makefile index 9cf6ad61062..4a717e14643 100644 --- a/chat/jabberd2/Makefile +++ b/chat/jabberd2/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.35 2007/05/26 11:50:12 xtraeme Exp $ +# $NetBSD: Makefile,v 1.36 2007/05/26 13:33:56 xtraeme Exp $ # DISTNAME= jabberd-2.1.6 @@ -36,8 +36,10 @@ REPLACE_PERL+= tools/*.pl .include "../../mk/bsd.prefs.mk" -BUILD_DEFS+= JABBERD_USER JABBERD_GROUP -BUILD_DEFS+= JABBERD_LOGDIR JABBERD_PIDDIR +JABBERD_DBDIR?= ${VARBASE}/db/jabberd + +BUILD_DEFS+= VARBASE JABBERD_USER JABBERD_GROUP +BUILD_DEFS+= JABBERD_LOGDIR JABBERD_PIDDIR JABBERD_DBDIR PKG_SYSCONFSUBDIR= jabberd RCD_SCRIPTS= jabberd c2s sm resolver router s2s @@ -86,6 +88,7 @@ pre-configure: -e "s|@SSLCERTS@|${SSLCERTS}|g" \ -e "s|@BINDIR@|${PREFIX}/bin|g" \ -e "s|@DBDIR@|${JABBERD_DBDIR}|g" \ + -e "s|@pkglibdir@|${PREFIX}/lib/jabberd|g" \ ${WRKSRC}/etc/${f}.in > ${WRKSRC}/etc/${f} .endfor |