components/openscap/patches/configure.ac.patch
author Mike Sullivan <Mike.Sullivan@Oracle.COM>
Mon, 11 Mar 2013 10:38:09 -0700
branchs11-update
changeset 2520 ceec631e74d1
parent 848 0c3d865471c8
child 1369 20813e08fff3
permissions -rw-r--r--
Close of build 10.
--- openscap-0.8.1/configure.ac.orig	2012-05-09 09:09:41.227540183 -0700
+++ openscap-0.8.1/configure.ac	2012-05-09 15:05:59.163156764 -0700
@@ -837,11 +837,11 @@
 
 AC_PATH_PROG(PERL, perl)
 PERL_INCLUDES="`$PERL -e 'use Config; print $Config{archlib}'`/CORE"
-vendorlib="$(  $PERL -e 'use Config; print $Config{vendorlib}'  | sed "s|$($PERL -e 'use Config; print $Config{prefix}')||" )"
-vendorarch="$( $PERL -e 'use Config; print $Config{vendorarch}' | sed "s|$($PERL -e 'use Config; print $Config{prefix}')||" )"
+vendorlib="$(  $PERL -e 'use Config; print $Config{vendorlib}')"
+vendorarch="$( $PERL -e 'use Config; print $Config{vendorarch}')"
 AC_SUBST([PERL_INCLUDES], ["$PERL_INCLUDES"])
-AC_SUBST([perl_vendorlibdir], ['${prefix}'$vendorlib])
-AC_SUBST([perl_vendorarchdir], ['${prefix}'$vendorarch])
+AC_SUBST([perl_vendorlibdir], [$vendorlib])
+AC_SUBST([perl_vendorarchdir], [$vendorarch])
 
 AC_ARG_ENABLE([oval],
      [AC_HELP_STRING([--enable-oval], [include support for OVAL (default=yes)])],