diff options
author | Matteo Bernardini <ponce@slackbuilds.org> | 2018-10-19 18:29:47 +0200 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2021-04-17 23:37:18 -0500 |
commit | e96de8dd61f0567a507962027dd54f095b3edff9 (patch) | |
tree | 728c0c9a9c9dff3f67671e54cd640fa219d082bd /libraries/libevhtp/libevhtp.SlackBuild | |
parent | 9b9d3ec11b4501342675696302e0bfefc27873c4 (diff) |
libraries/libevhtp: Updated for version 1.2.16.
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Diffstat (limited to 'libraries/libevhtp/libevhtp.SlackBuild')
-rw-r--r-- | libraries/libevhtp/libevhtp.SlackBuild | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/libraries/libevhtp/libevhtp.SlackBuild b/libraries/libevhtp/libevhtp.SlackBuild index 4b6993221c2b9..0697ea8e9c070 100644 --- a/libraries/libevhtp/libevhtp.SlackBuild +++ b/libraries/libevhtp/libevhtp.SlackBuild @@ -25,13 +25,13 @@ # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=libevhtp -VERSION=${VERSION:-1.2.10} +VERSION=${VERSION:-1.2.16} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then case "$( uname -m )" in - i?86) ARCH=i486 ;; + i?86) ARCH=i586 ;; arm*) ARCH=arm ;; *) ARCH=$( uname -m ) ;; esac @@ -42,8 +42,8 @@ TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} -if [ "$ARCH" = "i486" ]; then - SLKCFLAGS="-O2 -march=i486 -mtune=i686" +if [ "$ARCH" = "i586" ]; then + SLKCFLAGS="-O2 -march=i586 -mtune=i686" LIBDIRSUFFIX="" elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" @@ -74,6 +74,8 @@ find -L . \ # fix wrong version number sed -i "s/@PROJECT_VERSION@/${VERSION}/" evhtp.pc.in +sed -i "s|/lib/pkgconfig|/lib$LIBDIRSUFFIX/pkgconfig|" CMakeLists.txt + mkdir -p build cd build cmake \ |