Commit 861f4cf8 authored by felix s's avatar felix s

fix gnucap-conf --libdir

can't think of a use case but this way it is accurate.
parent b6e8b6fe
......@@ -23,7 +23,8 @@ LDFLAGS := $(shell dpkg-buildflags --get LDFLAGS)
LN_S = ln -sf
pkglibdir = /usr/lib/$(DEB_HOST_MULTIARCH)/gnucap${SOVERSION}
libdir = /usr/lib/$(DEB_HOST_MULTIARCH)
pkglibdir = ${libdir}/gnucap${SOVERSION}
%:
dh $@
......@@ -32,6 +33,7 @@ override_dh_auto_configure:
./configure --prefix=/usr
sed -e '/GNUCAP_PLUGPATH/s#/lib/gnucap#'/lib/${DEB_HOST_MULTIARCH}/gnucap0'#' -i main/config.h
sed -e '/^libdir/s#=.*#='${libdir}'#' -i main/gnucap.conf
sed -e '/^pkglibdir/s#=.*#='${pkglibdir}'#' -i main/gnucap.conf
sed -e '/^sysconfdir/s#=.*#=${pkglibdir}/#' -i main/gnucap-conf
sed -e '/^sysconfdir/s#=.*#=/etc#' -i main/gnucap.conf
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment