head 1.2; access; symbols pkgsrc-2013Q2:1.2.0.4 pkgsrc-2013Q2-base:1.2 pkgsrc-2012Q4:1.2.0.2 pkgsrc-2012Q4-base:1.2 pkgsrc-2012Q2:1.1.0.8 pkgsrc-2012Q2-base:1.1 pkgsrc-2012Q1:1.1.0.6 pkgsrc-2012Q1-base:1.1 pkgsrc-2011Q4:1.1.0.4 pkgsrc-2011Q4-base:1.1 pkgsrc-2011Q3:1.1.0.2 pkgsrc-2011Q3-base:1.1; locks; strict; comment @# @; 1.2 date 2012.07.10.22.32.13; author minskim; state dead; branches; next 1.1; 1.1 date 2011.07.28.04.25.06; author minskim; state Exp; branches; next ; desc @@ 1.2 log @Update kpathsea to 6.1.0. Changes: * New formats for .ris and .bltxml. * Merge with W32TeX. @ text @$NetBSD: patch-cnf-to-paths.awk,v 1.1 2011/07/28 04:25:06 minskim Exp $ --- cnf-to-paths.awk.orig 2011-05-23 17:48:36.000000000 +0000 +++ cnf-to-paths.awk @@@@ -10,19 +10,6 @@@@ # (whitespace around the = is optional) # /^[ \t]*[A-Z0-9_]+[ \t]*=/ { - # On these lines, there are two cases: - # - # 1) definitions referring to SELFAUTO*, which we want to keep. In - # particular, this is how the compile-time TEXMFCNF gets defined and - # thus how texmf.cnf gets found. - # - # 2) all the others, which we want to convert to a constant - # /nonesuch. That way, the binaries don't get change just because we - # change definitions in texmf.cnf. - # - # The definition of DEFAULT_TEXMF (and other variables) - # that winds up in the final paths.h will not be used. - # Let's extract the identifier and the value from the line. Since # gawk's subexpression matching is an extension, do it with copies. ident = $0; @@@@ -34,13 +21,7 @@@@ sub(/[ \t]*$/, "", val); #print "got ident", ident, "and val", val >"/dev/stderr"; - if (val ~ /\$SELFAUTO/) { - # Replace all semicolons with colons in the SELFAUTO paths we're keeping. - # (The path-splitting code should be changed to understand both.) - gsub(/;/, ":", val); - } else { - val = "/nonesuch"; - } + gsub(/;/, ":", val); print "#ifndef DEFAULT_" ident; print "#define DEFAULT_" ident " \"" val "\""; @ 1.1 log @Update kpathsea to 6.0.1. Changes: * Trailing comments and whitespace omitted from config values. * Add .tlu to type lua suffixes, and .dfont to truetype suffixes. * Prefix program_invocation{,_short}_name with kpse_. * Finally remove kpse_set_progname (deprecated since 1998). @ text @d1 1 a1 1 $NetBSD$ @