view components/pcp/patches/104-fix-private-bins-paths.patch @ 471:96da3a025725

pcp: keep the init script for the smf manifest
author Josef 'Jeff' Sipek <jeffpc@josefsipek.net>
date Sun, 05 Feb 2012 13:51:16 -0500
parents
children
line wrap: on
line source

--- a/configure.in	2012-02-05 12:26:26.019808712 -0500
+++ a/configure.in	2012-02-05 12:27:56.307149774 -0500
@@ -1407,25 +1407,7 @@
 AC_SUBST(pcp_share_dir)
 
 dnl private PCP executables
-pcp_binadm_dir=`eval echo $libexecdir`
-pcp_binadm_dir=`eval echo $pcp_binadm_dir`
-if test -z "`echo $pcp_binadm_dir | sed 's;/.*\$;;'`"
-then
-    if test $target_distro = debian
-    then
-        pcp_binadm_dir=/usr/lib/pcp/bin
-    elif test $target_os = mingw
-    then
-        pcp_binadm_dir=/local/bin
-    elif test -d /usr/libexec
-    then
-        pcp_binadm_dir=/usr/libexec/pcp/bin
-    else
-        pcp_binadm_dir=$pcp_share_dir/bin
-    fi
-else
-   pcp_binadm_dir=`eval echo $pcp_binadm_dir/pcp/bin`
-fi
+pcp_binadm_dir=/usr/lib/pcp/bin
 AC_SUBST(pcp_binadm_dir)
 
 dnl non-shared (i.e. system local) PCP files