summaryrefslogtreecommitdiff
path: root/security
diff options
context:
space:
mode:
authorhauke <hauke@pkgsrc.org>2018-06-22 09:16:07 +0000
committerhauke <hauke@pkgsrc.org>2018-06-22 09:16:07 +0000
commitcc5fb2138e7467ea676db0e7cb9724036d1b4cb4 (patch)
treed356dce7c7a0edcda1c93e16b1ccdc536666fa48 /security
parent8437ee8918080be49835b48d516456f393c9d1dd (diff)
downloadpkgsrc-cc5fb2138e7467ea676db0e7cb9724036d1b4cb4.tar.gz
The SunOS (OmniOS) yacc(1) breaks the build with
making generate-files-mac in kadmin... making generate-files-mac in kadmin/cli... ../../util/ss/mk_cmds kadmin_ct.ct /usr/bin/yacc getdate.y "getdate.y", line 180: fatal: invalid escape, or illegal reserved word: expect *** Error code 1 -- use bison(1) instead.
Diffstat (limited to 'security')
-rw-r--r--security/mit-krb5/Makefile10
1 files changed, 8 insertions, 2 deletions
diff --git a/security/mit-krb5/Makefile b/security/mit-krb5/Makefile
index 5455ca9bd6e..d8482432a20 100644
--- a/security/mit-krb5/Makefile
+++ b/security/mit-krb5/Makefile
@@ -1,7 +1,8 @@
-# $NetBSD: Makefile,v 1.96 2018/06/15 20:46:01 tez Exp $
+# $NetBSD: Makefile,v 1.97 2018/06/22 09:16:07 hauke Exp $
DISTNAME= krb5-1.16.1
PKGNAME= mit-${DISTNAME}
+PKGREVISION= 1
CATEGORIES= security
MASTER_SITES= http://web.mit.edu/kerberos/dist/krb5/${PKGVERSION_NOREV:R}/
EXTRACT_SUFX= .tar.gz
@@ -27,8 +28,13 @@ CONFLICTS+= kth-krb4-[0-9]*
USE_LANGUAGES= c c++
USE_LIBTOOL= yes
-USE_TOOLS+= autoconf gzip m4 perl yacc msgfmt
GNU_CONFIGURE= yes
+USE_TOOLS+= autoconf gzip m4 perl msgfmt
+.if ${OPSYS} == "SunOS"
+USE_TOOLS+= bison
+.else
+USE_TOOLS+= yacc
+.endif
# The actual KDC databases are stored in ${MIT_KRB5_STATEDIR}/krb5kdc.
MIT_KRB5_STATEDIR?= ${VARBASE}