mirror of
https://github.com/void-linux/void-packages.git
synced 2025-08-01 10:22:56 +02:00
liblogging: update to 1.0.5.
This commit is contained in:
parent
6536befdc1
commit
355b7caff6
2 changed files with 3 additions and 36 deletions
|
@ -1,29 +0,0 @@
|
||||||
From f8f35f7656d618b3263a51250b6a32a0ea10de96 Mon Sep 17 00:00:00 2001
|
|
||||||
From: Eivind Uggedal <eivind@uggedal.com>
|
|
||||||
Date: Tue, 16 Sep 2014 21:08:32 +0000
|
|
||||||
Subject: [PATCH] Fix man page detection when cross compiling.
|
|
||||||
|
|
||||||
AC_CHECK_FILE(S) is meant for checks of files on the native system and does
|
|
||||||
not work when cross compiling.
|
|
||||||
---
|
|
||||||
configure.ac | 7 +++----
|
|
||||||
1 file changed, 3 insertions(+), 4 deletions(-)
|
|
||||||
|
|
||||||
diff --git a/configure.ac b/configure.ac
|
|
||||||
index 5e1392e..90e836f 100644
|
|
||||||
--- configure.ac
|
|
||||||
+++ configure.ac
|
|
||||||
@@ -127,10 +127,9 @@ AC_ARG_ENABLE(man-pages,
|
|
||||||
if test "x$enable_man_pages" = "xyes"; then
|
|
||||||
AC_CHECKING([if all man pages already exist])
|
|
||||||
have_to_generate_man_pages="no"
|
|
||||||
- AC_CHECK_FILES(["stdlog/stdlog.3" "stdlog/stdlogctl.1"],
|
|
||||||
- [],
|
|
||||||
- [have_to_generate_man_pages="yes"]
|
|
||||||
- )
|
|
||||||
+ if test ! -r "stdlog/stdlog.3" || test ! -r "stdlog/stdlogctl.1"; then
|
|
||||||
+ have_to_generate_man_pages="yes"
|
|
||||||
+ fi
|
|
||||||
if test "x$have_to_generate_man_pages" = "xyes"; then
|
|
||||||
AC_MSG_RESULT([Some man pages are missing. We need rst2man to generate the missing man pages from source... Alternatively, use --disable-man-pages to build without them.])
|
|
||||||
else
|
|
|
@ -1,25 +1,21 @@
|
||||||
# Template file for 'liblogging'
|
# Template file for 'liblogging'
|
||||||
pkgname=liblogging
|
pkgname=liblogging
|
||||||
version=1.0.4
|
version=1.0.5
|
||||||
revision=1
|
revision=1
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
configure_args="--disable-static $(vopt_enable systemd journal)"
|
configure_args="--disable-static $(vopt_enable systemd journal)"
|
||||||
hostmakedepends="pkg-config automake libtool"
|
hostmakedepends="pkg-config"
|
||||||
makedepends="$(vopt_if systemd systemd-devel)"
|
makedepends="$(vopt_if systemd systemd-devel)"
|
||||||
short_desc="Easy to use, portable, open source library for system logging"
|
short_desc="Easy to use, portable, open source library for system logging"
|
||||||
maintainer="Juan RP <xtraeme@gmail.com>"
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
||||||
license="LGPL-2.1"
|
license="LGPL-2.1"
|
||||||
homepage="http://www.liblogging.org/"
|
homepage="http://www.liblogging.org/"
|
||||||
distfiles="http://download.rsyslog.com/liblogging/${pkgname}-${version}.tar.gz"
|
distfiles="http://download.rsyslog.com/liblogging/${pkgname}-${version}.tar.gz"
|
||||||
checksum=aceb5d2aa8bdc771ff66f407f9adf4176b654db63e34a8605795b68be537b81c
|
checksum=310dc1691279b7a669d383581fe4b0babdc7bf75c9b54a24e51e60428624890b
|
||||||
|
|
||||||
# Package build options
|
# Package build options
|
||||||
build_options="systemd"
|
build_options="systemd"
|
||||||
|
|
||||||
pre_configure() {
|
|
||||||
autoreconf -fi
|
|
||||||
}
|
|
||||||
|
|
||||||
liblogging-devel_package() {
|
liblogging-devel_package() {
|
||||||
depends="${sourcepkg}>=${version}_${revision}"
|
depends="${sourcepkg}>=${version}_${revision}"
|
||||||
short_desc+=" - development files"
|
short_desc+=" - development files"
|
||||||
|
|
Loading…
Add table
Reference in a new issue