diff options
author | xtraeme <xtraeme@pkgsrc.org> | 2004-07-31 00:01:04 +0000 |
---|---|---|
committer | xtraeme <xtraeme@pkgsrc.org> | 2004-07-31 00:01:04 +0000 |
commit | 53b6d6adf64ee3210f5e8651beec4f6c0d2e4df1 (patch) | |
tree | 461df48d0c1baa5610cc5c0e8dfb82d992ec8006 /chat/jabberd2/Makefile | |
parent | 946bc48f0cca5d543202c50c4c8b1ebc150a65e2 (diff) | |
download | pkgsrc-53b6d6adf64ee3210f5e8651beec4f6c0d2e4df1.tar.gz |
Welcome to the new world: bsd.options.mk.
Diffstat (limited to 'chat/jabberd2/Makefile')
-rw-r--r-- | chat/jabberd2/Makefile | 23 |
1 files changed, 2 insertions, 21 deletions
diff --git a/chat/jabberd2/Makefile b/chat/jabberd2/Makefile index 90a66cc131a..b3ef1a529ba 100644 --- a/chat/jabberd2/Makefile +++ b/chat/jabberd2/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.8 2004/07/18 18:55:14 kristerw Exp $ +# $NetBSD: Makefile,v 1.9 2004/07/31 00:01:04 xtraeme Exp $ # DISTNAME= jabberd-2.0s3 @@ -63,26 +63,7 @@ CONF_FILES+= ${EGDIR}/${f} ${PKG_SYSCONFDIR}/${f} CONF_FILES+= ${EGDIR}/roster.xml ${PKG_SYSCONFDIR}/roster.xml .undef f -.if !empty(JABBERD_METHOD:Mdb) -# # Directory to store the database files -JABBERD_DBDIR?= ${VARBASE}/db/jabberd -BUILD_DEFS+= JABBERD_DBDIR -CONFIGURE_ARGS+= --enable-db -. include "../../databases/db4/buildlink3.mk" -.elif !empty(JABBERD_METHOD:Mmysql) -CONFIGURE_ARGS+= --enable-mysql -CPPFLAGS+= -I${LOCALBASE}/include/mysql -. include "../../databases/mysql4-client/buildlink3.mk" -.elif !empty(JABBERD_METHOD:Mpgsql) -CONFIGURE_ARGS+= --enable-pgsql -. include "../../databases/postgresql74-lib/buildlink3.mk" -.elif !empty(JABBERD_METHOD:Mldap) -CONFIGURE_ARGS+= --enable-ldap -. include "../../databases/openldap/buildlink3.mk" -.elif !empty(JABBERD_METHOD:Mpam) -CONFIGURE_ARGS+= --enable-pam -. include "../../security/PAM/buildlink3.mk" -.endif +.include "Makefile.options" .for f in ${JABBERD_LOGDIR} ${JABBERD_DBDIR} ${JABBERD_PIDDIR} OWN_DIRS_PERMS+= ${f} ${JABBERD_USER} ${JABBERD_GROUP} 770 |