Update flavors

ok aja@
This commit is contained in:
nigel 2011-09-19 10:14:04 +00:00
parent c987ebf261
commit e9b60c831f

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.39 2010/11/19 07:23:11 espie Exp $
# $OpenBSD: Makefile,v 1.40 2011/09/19 10:14:04 nigel Exp $
COMMENT-main= network-capable tape backup (client and tape server)
COMMENT-client= network-capable tape backup (client only)
@ -16,8 +16,8 @@ DISTNAME= amanda-${DISTVERSION}
PKGNAME-main= amanda-${PKGVERSION}
PKGNAME-client= amanda-client-${PKGVERSION}
PKGNAME-doc= amanda-doc-${PKGVERSION}
REVISION-main= 1
REVISION-client=0
REVISION-main= 2
REVISION-client=1
CATEGORIES= misc
@ -73,13 +73,13 @@ USE_GROFF = Yes
# databases.
.if ${FLAVOR:L:Mdb}
WANTLIB+= lib/db4/db
LIB_DEPENDS+= db->=4,<5:databases/db/v4
LIB_DEPENDS+= databases/db/v4
CONFIGURE_ARGS+= --with-db=db
CFLAGS+= -L${LOCALBASE}/lib
.endif
.if ${FLAVOR:L:Mgpg}
BUILD_DEPENDS+= :gnupg-*:security/gnupg
BUILD_DEPENDS+= security/gnupg
CONFIGURE_ENV+= GZIP=${LOCALBASE}/bin/gpgzip
.endif