diff options
author | xtraeme <xtraeme> | 2007-06-12 15:26:07 +0000 |
---|---|---|
committer | xtraeme <xtraeme> | 2007-06-12 15:26:07 +0000 |
commit | 6cd1561f1cac85a5115ca802def7d434301e5064 (patch) | |
tree | 1512c1ba9b09a9e5574693bd6f3f7ed91876435d /chat | |
parent | 4935be347b0329eb1352c620df2293bb754624f9 (diff) | |
download | pkgsrc-6cd1561f1cac85a5115ca802def7d434301e5064.tar.gz |
Fix a problem reported by Jim Wise: when using auth-db4 and storage-db4
the shared libraries were not installed, the configure added -ldb and
we did not have this dependency to satisfy libtool.
Also use bdb.buildlink3.mk. Bump PKGREVISION.
Diffstat (limited to 'chat')
-rw-r--r-- | chat/jabberd2/Makefile | 3 | ||||
-rw-r--r-- | chat/jabberd2/options.mk | 10 |
2 files changed, 10 insertions, 3 deletions
diff --git a/chat/jabberd2/Makefile b/chat/jabberd2/Makefile index 4a717e14643..59ae770dad8 100644 --- a/chat/jabberd2/Makefile +++ b/chat/jabberd2/Makefile @@ -1,7 +1,8 @@ -# $NetBSD: Makefile,v 1.36 2007/05/26 13:33:56 xtraeme Exp $ +# $NetBSD: Makefile,v 1.37 2007/06/12 15:26:07 xtraeme Exp $ # DISTNAME= jabberd-2.1.6 +PKGREVISION= 1 CATEGORIES= chat MASTER_SITES= http://ftp.xiaoka.com/jabberd2/releases/ EXTRACT_SUFX= .tar.bz2 diff --git a/chat/jabberd2/options.mk b/chat/jabberd2/options.mk index c099b529952..dae8588a370 100644 --- a/chat/jabberd2/options.mk +++ b/chat/jabberd2/options.mk @@ -1,4 +1,4 @@ -# $NetBSD: options.mk,v 1.14 2007/05/26 13:33:56 xtraeme Exp $ +# $NetBSD: options.mk,v 1.15 2007/06/12 15:26:07 xtraeme Exp $ # PKG_OPTIONS_VAR= PKG_OPTIONS.jabberd2 @@ -16,9 +16,15 @@ PKG_SUGGESTED_OPTIONS= auth-sqlite storage-sqlite gnusasl .include "../../mk/bsd.options.mk" .if !empty(PKG_OPTIONS:Mauth-db) || !empty(PKG_OPTIONS:Mstorage-db) +SUBST_CLASSES+= fixdb +SUBST_STAGE.fixdb= post-configure +SUBST_FILES.fixdb= storage/Makefile.in +SUBST_SED.fixdb= -e "s|@DB_LIBS@||g" +BUILDLINK_TRANSFORM+= rm:-ldb +BDB_ACCEPTED= db4 PLIST_SUBST+= DB_OPT= CONFIGURE_ARGS+= --enable-db -. include "../../databases/db4/buildlink3.mk" +. include "../../mk/bdb.buildlink3.mk" .else PLIST_SUBST+= DB_OPT='@comment ' CONFIGURE_ARGS+= --disable-db |