pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/security/libssh libssh: fix pkgconfig file.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/f70ee6fef0e5
branches:  trunk
changeset: 388378:f70ee6fef0e5
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Wed Dec 05 10:54:39 2018 +0000

description:
libssh: fix pkgconfig file.

Fix build on NetBSD by removing -Werror=strict-overflow.

Bump PKGREVISION.

diffstat:

 security/libssh/Makefile |  7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)

diffs (34 lines):

diff -r 5ce0edacafcb -r f70ee6fef0e5 security/libssh/Makefile
--- a/security/libssh/Makefile  Wed Dec 05 10:46:15 2018 +0000
+++ b/security/libssh/Makefile  Wed Dec 05 10:54:39 2018 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.25 2018/12/03 15:19:51 adam Exp $
+# $NetBSD: Makefile,v 1.26 2018/12/05 10:54:39 wiz Exp $
 #
 # history: upstream renamed 0.11 to 0.1.1;
 # we have to use the old-style convention so that version compares work.
@@ -6,6 +6,7 @@
 VER=           0.8.5
 DISTNAME=      libssh-${VER}
 PKGNAME=       libssh-0.85
+PKGREVISION=   1
 CATEGORIES=    security
 MASTER_SITES=  https://www.libssh.org/files/${VER:R}/
 EXTRACT_SUFX=  .tar.xz
@@ -17,13 +18,15 @@
 
 USE_CMAKE=             yes
 USE_LANGUAGES=         c c++
-PKGCONFIG_OVERRIDE+=   libssh.pc.in
+PKGCONFIG_OVERRIDE+=   libssh.pc.cmake
 TEST_TARGET=           test
 
 CONFIGURE_DIRS=                ${WRKDIR}/build
 CMAKE_ARG_PATH=                ${WRKSRC}
 CMAKE_ARGS+=           -DUNIT_TESTING=ON
 
+BUILDLINK_TRANSFORM+=  rm:-Werror=strict-overflow
+
 .include "options.mk"
 
 post-extract:



Home | Main Index | Thread Index | Old Index