@@ -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 @@
.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
@@ -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 @@
.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