pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/security/mit-krb5 The SunOS (OmniOS) yacc(1) breaks th...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/0b053ea47bfa
branches:  trunk
changeset: 309699:0b053ea47bfa
user:      hauke <hauke%pkgsrc.org@localhost>
date:      Fri Jun 22 09:16:07 2018 +0000

description:
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:

 security/mit-krb5/Makefile |  10 ++++++++--
 1 files changed, 8 insertions(+), 2 deletions(-)

diffs (28 lines):

diff -r d4591788fc73 -r 0b053ea47bfa security/mit-krb5/Makefile
--- a/security/mit-krb5/Makefile        Fri Jun 22 09:12:57 2018 +0000
+++ b/security/mit-krb5/Makefile        Fri Jun 22 09:16:07 2018 +0000
@@ -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 @@
 
 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}



Home | Main Index | Thread Index | Old Index