Fri Dec 13 12:42:12 2013 UTC ()
Need -lsocket and mark package incompatible with builtin mit-krb5 on SunOS.


(jperkin)
diff -r1.62 -r1.63 pkgsrc/sysutils/amanda-common/Makefile
diff -r1.9 -r1.10 pkgsrc/sysutils/amanda-common/options.mk

cvs diff -r1.62 -r1.63 pkgsrc/sysutils/amanda-common/Makefile (expand / switch to context diff)
--- pkgsrc/sysutils/amanda-common/Makefile 2013/07/12 10:45:03 1.62
+++ pkgsrc/sysutils/amanda-common/Makefile 2013/12/13 12:42:12 1.63
@@ -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
 

cvs diff -r1.9 -r1.10 pkgsrc/sysutils/amanda-common/options.mk (expand / switch to context diff)
--- pkgsrc/sysutils/amanda-common/options.mk 2012/07/30 07:21:11 1.9
+++ pkgsrc/sysutils/amanda-common/options.mk 2013/12/13 12:42:12 1.10
@@ -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