Module Name:    src
Committed By:   tsutsui
Date:           Sun May 15 15:10:12 UTC 2011

Modified Files:
        src/crypto/external/bsd/heimdal: Makefile.rules.inc

Log Message:
- fix build failure on CentOS 5
  (it looks bash doesn't like redirection operators before commands)
- use ${TOOL_SED}


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/crypto/external/bsd/heimdal/Makefile.rules.inc

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/crypto/external/bsd/heimdal/Makefile.rules.inc
diff -u src/crypto/external/bsd/heimdal/Makefile.rules.inc:1.3 src/crypto/external/bsd/heimdal/Makefile.rules.inc:1.4
--- src/crypto/external/bsd/heimdal/Makefile.rules.inc:1.3	Fri Apr 15 14:39:32 2011
+++ src/crypto/external/bsd/heimdal/Makefile.rules.inc	Sun May 15 15:10:12 2011
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.rules.inc,v 1.3 2011/04/15 14:39:32 elric Exp $
+# $NetBSD: Makefile.rules.inc,v 1.4 2011/05/15 15:10:12 tsutsui Exp $
 
 SRCS+= ${HEIMSRCS:N*.et:N*.in:N*.asn1}
 
@@ -53,13 +53,13 @@
 .endif
 
 ${src:.asn1=_asn1.h}: ${src:.asn1=_asn1.hx}
-	@2>/dev/null < ${src:.asn1=_asn1.hx} > ${src:.asn1=_asn1.h}	\
-	    sed -E							\
-		-e 's,#include <(.*)_asn1\.h>,#include <krb5/\1_asn1.h>,'
+	@${TOOL_SED} -E 						\
+	    -e 's,#include <(.*)_asn1\.h>,#include <krb5/\1_asn1.h>,'	\
+	    2> /dev/null < ${src:.asn1=_asn1.hx} > ${src:.asn1=_asn1.h}
 
 ${src:.asn1=_asn1-priv.h}: ${src:.asn1=_asn1-priv.hx}
-	@2> /dev/null							   \
-	    cmp -s ${src:.asn1=_asn1-priv.hx} ${src:.asn1=_asn1-priv.h} || \
+	@cmp -s ${src:.asn1=_asn1-priv.hx} ${src:.asn1=_asn1-priv.h}	\
+	    2> /dev/null ||						\
 	    cp ${src:.asn1=_asn1-priv.hx} ${src:.asn1=_asn1-priv.h}
 
 .for x2c in ${ASN1_FILES.${src}}

Reply via email to