about summary refs log tree commit diff
path: root/configure
diff options
context:
space:
mode:
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure14
1 files changed, 7 insertions, 7 deletions
diff --git a/configure b/configure
index 6d34581..c45c42a 100755
--- a/configure
+++ b/configure
@@ -195,7 +195,7 @@ for arg ; do
     --build=*) build=${arg#*=} ;;
     --with-tmpdir=*) tmpdir=${arg#*=} ;;
     -* ) echo "$0: unknown option $arg" ;;
-    *=*) ;;
+    *=*) eval "$arg" ;;
     *) target=$arg ;;
   esac
 done
@@ -244,7 +244,7 @@ if $slashpackage ; then
   if $manualsysdeps ; then
     :
   else
-    sysdeps=${sproot}/package/prog/skalibs/sysdeps
+    sysdeps=${DESTDIR}${sproot}/package/prog/skalibs/sysdeps
   fi
   extbinprefix=${exthome}/command
   dynlibdir=${home}/library.so
@@ -259,11 +259,11 @@ if $slashpackage ; then
       cond=true
     fi
     if $cond ; then
-      addincpath="$addincpath -I${sproot}${dep}/include"
-      vpaths="$vpaths ${sproot}${dep}/library"
-      addlibspath="$addlibspath -L${sproot}${dep}/library"
-      vpathd="$vpathd ${sproot}${dep}/library.so"
-      addlibdpath="$addlibdpath -L${sproot}${dep}/library.so"
+      addincpath="$addincpath -I${DESTDIR}${sproot}${dep}/include"
+      vpaths="$vpaths ${DESTDIR}${sproot}${dep}/library"
+      addlibspath="$addlibspath -L${DESTDIR}${sproot}${dep}/library"
+      vpathd="$vpathd ${DESTDIR}${sproot}${dep}/library.so"
+      addlibdpath="$addlibdpath -L${DESTDIR}${sproot}${dep}/library.so"
     fi
   done < package/deps-build
 fi