summaryrefslogtreecommitdiff
path: root/sysutils
diff options
context:
space:
mode:
authorjperkin <jperkin@pkgsrc.org>2013-12-13 12:42:12 +0000
committerjperkin <jperkin@pkgsrc.org>2013-12-13 12:42:12 +0000
commitcc9490e6be309d3a2e0936d4721d867b57b56819 (patch)
tree5efef46729896898c6c8f2671f0ffb59b8e91eb3 /sysutils
parentd36c17a744e6c7c763679bc09df65f96a86f8e2a (diff)
downloadpkgsrc-cc9490e6be309d3a2e0936d4721d867b57b56819.tar.gz
Need -lsocket and mark package incompatible with builtin mit-krb5 on SunOS.
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/amanda-common/Makefile7
-rw-r--r--sysutils/amanda-common/options.mk5
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