2002-09-05 20:07:52 +02:00
|
|
|
# $NetBSD: Makefile,v 1.3 2002/09/05 18:07:54 jschauma Exp $
|
2002-05-02 15:28:15 +02:00
|
|
|
# FreeBSD Id: Makefile,v 1.9 1997/03/08 05:00:11 gpalmer Exp
|
|
|
|
#
|
|
|
|
|
|
|
|
PKGNAME= amanda-client-${VERS}
|
|
|
|
SVR4_PKGNAME= amacl
|
|
|
|
|
|
|
|
COMMENT= Client part of Amanda, a network backup system
|
|
|
|
|
|
|
|
DEPENDS+= amanda-common-${VERS}:../../sysutils/amanda-dev-common
|
|
|
|
|
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
|
|
|
|
.include "../../mk/bsd.prefs.mk"
|
|
|
|
.include "../../sysutils/amanda-dev-common/Makefile.common"
|
|
|
|
.include "../../devel/readline/buildlink.mk"
|
|
|
|
|
2002-09-05 20:07:52 +02:00
|
|
|
.if ${OPSYS} != "Linux"
|
|
|
|
DEPENDS+= gtar-1.12:../../archivers/gtar
|
|
|
|
.endif
|
|
|
|
|
2002-05-02 15:28:15 +02:00
|
|
|
CONFIGURE_ARGS+= --without-server --without-restore
|
|
|
|
|
|
|
|
# Prevent configure script from finding unnecessary libraries. We'll patch
|
|
|
|
# the amrecover Makefile to add the readline libraries as it's the only
|
|
|
|
# program that uses readline.
|
|
|
|
#
|
|
|
|
CONFIGURE_ENV+= ac_cv_lib_intl_main=no
|
|
|
|
CONFIGURE_ENV+= ac_cv_lib_termcap_tgetent=no
|
|
|
|
CONFIGURE_ENV+= ac_cv_lib_curses_tgetent=no
|
|
|
|
CONFIGURE_ENV+= ac_cv_lib_ncurses_tgetent=no
|
|
|
|
CONFIGURE_ENV+= ac_cv_lib_readline_readline=no
|
|
|
|
|
|
|
|
.if defined(AMANDA_SMB)
|
|
|
|
CONFIGURE_ARGS+= --with-smbclient
|
2002-06-25 17:42:21 +02:00
|
|
|
DEPENDS+= {samba>=2.0,ja-samba>=2.0}:../../net/samba
|
2002-05-02 15:28:15 +02:00
|
|
|
.endif
|
|
|
|
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|