summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorLaurent Bercot <ska-skaware@skarnet.org>2021-12-19 08:21:43 +0000
committerLaurent Bercot <ska@appnovation.com>2021-12-19 08:21:43 +0000
commit6840e306838d1913d0d37c957230fa543bd2c655 (patch)
tree893297b16dee7749115542962a705dfe001d528d /configure
parentfbbdd3af78f06346d59b25ae67f79020030e7c69 (diff)
downloadbcnm-6840e306838d1913d0d37c957230fa543bd2c655.tar.xz
Prepare for 0.0.1.5, fix configure
Signed-off-by: Laurent Bercot <ska@appnovation.com>
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