Use api=2 for cmake.exlib

This commit is contained in:
2016-04-23 04:22:08 +02:00
parent 94e0b52466
commit d6439f0765
20 changed files with 55 additions and 57 deletions

View File

@@ -1,7 +1,7 @@
# Copyright 2016 Julian Ospald <hasufell@posteo.de>
# Distributed under the terms of the GNU General Public License v2
require cmake systemd-service
require cmake [ api=2 ] systemd-service
SUMMARY="Advanced and secure webserver"
HOMEPAGE="http://www.hiawatha-webserver.org"
@@ -69,7 +69,7 @@ CMAKE_SRC_CONFIGURE_TESTS=(
)
src_prepare() {
default
cmake_src_prepare
edo grep -E "^#ServerId =.*$" "config/hiawatha.conf.in" 1>/dev/null
edo sed -r -i -e "s|^#ServerId =.*$|ServerId = hiawatha|" \