File: 09-gen-gpd-fix.patch

package info (click to toggle)
gauche-gtk 0.6%2Bgit20160927-3
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 1,452 kB
  • sloc: ansic: 7,097; lisp: 5,659; sh: 2,829; makefile: 338
file content (13 lines) | stat: -rw-r--r-- 649 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
Index: gauche-gtk/configure.ac
===================================================================
--- gauche-gtk.orig/configure.ac
+++ gauche-gtk/configure.ac
@@ -104,7 +104,7 @@ GEN_STUBS="`echo $gen_files | sed 's/\.h
 AC_SUBST(GEN_STUBS)
 
 dnl Creating gpd (gauche package description) file
-GAUCHE_PACKAGE_CONFIGURE_ARGS="`echo ""$ac_configure_args"" | sed 's/[\\""\`\$]/\\\&/g'`"
+GAUCHE_PACKAGE_CONFIGURE_ARGS=`echo "$ac_configure_args" | sed 's/@<:@\\"\`\$@:>@/\\\\&/g' 's/-f@<:@a-z@:>@*-prefix-map=@<:@^ @:>@* //'`
 AC_MSG_NOTICE([creating ${PACKAGE_NAME}.gpd])
 $GAUCHE_PACKAGE make-gpd "$PACKAGE_NAME" \
   -version "$PACKAGE_VERSION" \