From b19caf8702054a6814e21597da4ba904a109a35f Mon Sep 17 00:00:00 2001 From: rhatto Date: Fri, 5 Oct 2007 17:32:46 +0000 Subject: gnuradio: explicitly adding boost include path on ./configure git-svn-id: svn+slack://slack.fluxo.info/var/svn/mkbuilds@14 18ef50b8-d735-4ccd-97c1-689132df3dd9 --- media/radio/gnuradio/gnuradio.mkbuild | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/media/radio/gnuradio/gnuradio.mkbuild b/media/radio/gnuradio/gnuradio.mkbuild index 20e38ab..00229b9 100644 --- a/media/radio/gnuradio/gnuradio.mkbuild +++ b/media/radio/gnuradio/gnuradio.mkbuild @@ -59,6 +59,26 @@ # Sections changes #------------------ +#>configure + +# get boost version +boost="`basename $(ls /var/log/packages/boost-[0-9]* 2> /dev/null)`" + +if [ -z "$boost" ]; then + echo Error: missing boost package + exit $ERROR_CONF +fi + +pack="`basename $boost | sed -e 's/-[^-]*-[^-]*-[^-]*$//'`" +boost_version="`echo $boost | sed -e "s/^$pack-//" | cut -d "-" -f 1 | sed -e 's/\./_/g'`" + +CFLAGS="$SLKCFLAGS" \ + CXXFLAGS="$SLKCFLAGS" \ + ./configure \ + --prefix="$PREFIX" --libdir="$LIBDIR" $CONF_OPTIONS --with-boost-include-dir=/usr/include/boost-$boost_version || exit $ERROR_CONF + +#slackdesc gnuradio: gnuradio gnuradio: -- cgit v1.2.3