diff options
-rw-r--r-- | sysutils/amanda-common/Makefile | 7 | ||||
-rw-r--r-- | sysutils/amanda-common/options.mk | 5 |
2 files changed, 7 insertions, 5 deletions
diff --git a/sysutils/amanda-common/Makefile b/sysutils/amanda-common/Makefile index 681aca66878..c74df2deccc 100644 --- a/sysutils/amanda-common/Makefile +++ b/sysutils/amanda-common/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.62 2013/07/12 10:45:03 jperkin Exp $ +# $NetBSD: Makefile,v 1.63 2013/12/13 12:42:12 jperkin Exp $ PKGNAME= amanda-common-${AMANDA_VERSION} PKGREVISION= 4 @@ -8,9 +8,8 @@ COMMENT= Common libraries and binaries for Amanda .include "../../sysutils/amanda-common/Makefile.common" -.if ${OPSYS} == "SunOS" -CPPFLAGS+= -D_LARGEFILE64_SOURCE -.endif +CPPFLAGS.SunOS+= -D_LARGEFILE64_SOURCE +LDFLAGS.SunOS+= -lsocket CONFIGURE_ARGS+= --without-server --without-client --without-gnuplot diff --git a/sysutils/amanda-common/options.mk b/sysutils/amanda-common/options.mk index edf42342696..1a03524fabd 100644 --- a/sysutils/amanda-common/options.mk +++ b/sysutils/amanda-common/options.mk @@ -1,4 +1,4 @@ -# $NetBSD: options.mk,v 1.9 2012/07/30 07:21:11 sbd Exp $ +# $NetBSD: options.mk,v 1.10 2013/12/13 12:42:12 jperkin Exp $ PKG_OPTIONS_VAR= PKG_OPTIONS.amanda # Common options. @@ -37,6 +37,9 @@ CONFIGURE_ENV+= ac_cv_path_SSH=${SSHPREFIX}/bin/ssh .endif .if !empty(PKG_OPTIONS:Mkerberos) +. if ${OPSYS} == "SunOS" +USE_BUILTIN.mit-krb5= no +. endif CONFIGURE_ARGS+= --with-krb5-security=${KRB5BASE:Q} . include "../../mk/krb5.buildlink3.mk" .endif |