Source-Changes-HG archive

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

[src/trunk]: src/crypto/external/bsd/heimdal/bin/krb5-config PR/54773: David ...



details:   https://anonhg.NetBSD.org/src/rev/0cf40ee0de6f
branches:  trunk
changeset: 847288:0cf40ee0de6f
user:      christos <christos%NetBSD.org@localhost>
date:      Tue Dec 17 00:16:26 2019 +0000

description:
PR/54773: David Shao: krb5-config.in needs to be evaluated by the shell now
in order to work. Perhaps it is better to keep a local modified copy that
does not need this treatment...

diffstat:

 crypto/external/bsd/heimdal/bin/krb5-config/Makefile |  9 +++++----
 1 files changed, 5 insertions(+), 4 deletions(-)

diffs (30 lines):

diff -r 6609dab563c6 -r 0cf40ee0de6f crypto/external/bsd/heimdal/bin/krb5-config/Makefile
--- a/crypto/external/bsd/heimdal/bin/krb5-config/Makefile      Mon Dec 16 22:55:45 2019 +0000
+++ b/crypto/external/bsd/heimdal/bin/krb5-config/Makefile      Tue Dec 17 00:16:26 2019 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.3 2014/04/24 13:50:53 pettai Exp $
+#      $NetBSD: Makefile,v 1.4 2019/12/17 00:16:26 christos Exp $
 
 .include <bsd.own.mk>
 .include <${.CURDIR}/../../Makefile.inc>
@@ -11,8 +11,9 @@
 CLEANFILES+=   krb5-config
 
 krb5-config: krb5-config.in
-       ${TOOL_SED} -e "s!@PACKAGE\@!heimdal!g" \
-               -e "s!@VERSION\@!1.5.3!g" \
+       ${TOOL_SED} \
+               -e "s!@PACKAGE\@!heimdal!g" \
+               -e "s!@VERSION\@!${VERSION}!g" \
                -e "s!@prefix\@!/!g" \
                -e "s!@exec_prefix\@!/!g" \
                -e "s!@libdir\@!/usr/lib!g" \
@@ -26,7 +27,7 @@
                -e "s!@LIB_pkinit\@!-lhx509!g" \
                -e "s!@PTHREAD_LIBADD\@!!g" \
                -e "s!@LIBS\@!!g" \
-               ${HEIMDIST}/tools/krb5-config.in > $@
+               ${HEIMDIST}/tools/krb5-config.in | sh > $@
        chmod +x $@
 
 .include <bsd.prog.mk>



Home | Main Index | Thread Index | Old Index