blob: bb15460fa1880b235ecb5a17b65e6b6debbb6774 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
|
# $NetBSD: Makefile,v 1.1.1.1 2002/05/02 13:28:15 bouyer Exp $
# FreeBSD Id: Makefile,v 1.9 1997/03/08 05:00:11 gpalmer Exp
#
PKGNAME= amanda-common-${VERS}
SVR4_PKGNAME= amaco
COMMENT= Libraries and binaries used by both the client and server parts of amanda
USE_BUILDLINK_ONLY= YES
.include "../../mk/bsd.prefs.mk"
.include "../../sysutils/amanda-dev-common/Makefile.common"
.if ${OPSYS} == "NetBSD"
CPPFLAGS= # empty
.elif ${OPSYS} == "SunOS"
CPPFLAGS+= -D_LARGEFILE64_SOURCE
.endif
CONFIGURE_ARGS+= --without-server --without-restore --without-client
# Prevent configure script from finding unnecessary libraries.
#
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
PKG_GROUPS= ${AMANDA_GROUP}
PKG_USERS= ${AMANDA_USER}:${AMANDA_GROUP}::Amanda\\ user::${SH}
OWN_DIRS_PERMS= ${AMANDA_VAR} ${AMANDA_USER} ${AMANDA_GROUP} 0700
OWN_DIRS_PERMS+= ${AMANDA_VAR}/gnutar-lists ${AMANDA_USER} ${AMANDA_GROUP} 0700
.include "../../mk/bsd.pkg.install.mk"
.include "../../mk/bsd.pkg.mk"
|