pkgsrc-Changes archive

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

CVS commit: pkgsrc/news/libcanlock



Module Name:    pkgsrc
Committed By:   micha
Date:           Mon Apr 29 12:20:35 UTC 2024

Modified Files:
        pkgsrc/news/libcanlock: Makefile distinfo
Added Files:
        pkgsrc/news/libcanlock/patches: patch-libcanlock-3.pc.in

Log Message:
news/libcanlock: Improve pkg-config support.

- Add main include directory to Cflags in "libcanlock-3.pc.in".
- Add PKGCONFIG_OVERRIDE to Makefile for runtime search path.

Bump PKGREVISION.


To generate a diff of this commit:
cvs rdiff -u -r1.10 -r1.11 pkgsrc/news/libcanlock/Makefile \
    pkgsrc/news/libcanlock/distinfo
cvs rdiff -u -r0 -r1.1 \
    pkgsrc/news/libcanlock/patches/patch-libcanlock-3.pc.in

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/news/libcanlock/Makefile
diff -u pkgsrc/news/libcanlock/Makefile:1.10 pkgsrc/news/libcanlock/Makefile:1.11
--- pkgsrc/news/libcanlock/Makefile:1.10        Mon Aug 21 13:29:44 2023
+++ pkgsrc/news/libcanlock/Makefile     Mon Apr 29 12:20:34 2024
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.10 2023/08/21 13:29:44 micha Exp $
+# $NetBSD: Makefile,v 1.11 2024/04/29 12:20:34 micha Exp $
 
 DISTNAME=      libcanlock-3.3.0
-PKGREVISION=   1
+PKGREVISION=   2
 CATEGORIES=    news
 MASTER_SITES=  http://micha.freeshell.org/libcanlock/src/
 EXTRACT_SUFX=  .tar.bz2
@@ -24,4 +24,6 @@ CONFIGURE_ARGS+=      --disable-hp
 
 TEST_TARGET=           test
 
+PKGCONFIG_OVERRIDE+=   libcanlock-3.pc.in
+
 .include "../../mk/bsd.pkg.mk"
Index: pkgsrc/news/libcanlock/distinfo
diff -u pkgsrc/news/libcanlock/distinfo:1.10 pkgsrc/news/libcanlock/distinfo:1.11
--- pkgsrc/news/libcanlock/distinfo:1.10        Fri Dec  3 10:50:56 2021
+++ pkgsrc/news/libcanlock/distinfo     Mon Apr 29 12:20:34 2024
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.10 2021/12/03 10:50:56 micha Exp $
+$NetBSD: distinfo,v 1.11 2024/04/29 12:20:34 micha Exp $
 
 BLAKE2s (libcanlock-3.3.0.tar.bz2) = e92e29824779fc262d3775e217c6d76d8a99baf8d55c837c317d0025b53349a3
 SHA512 (libcanlock-3.3.0.tar.bz2) = 100d2b4bf3eadedb7da230317cd37b2c1b259bbd783099a74e0d75fdc6ecddb8a6fd854a2b272bda3629bcf1ac1ae2b3d5657fca9137c17e38aad88f30e4c81c
 Size (libcanlock-3.3.0.tar.bz2) = 625796 bytes
+SHA1 (patch-libcanlock-3.pc.in) = a53dbe83d65486af6c0900fd5d65dbada552daa9

Added files:

Index: pkgsrc/news/libcanlock/patches/patch-libcanlock-3.pc.in
diff -u /dev/null pkgsrc/news/libcanlock/patches/patch-libcanlock-3.pc.in:1.1
--- /dev/null   Mon Apr 29 12:20:35 2024
+++ pkgsrc/news/libcanlock/patches/patch-libcanlock-3.pc.in     Mon Apr 29 12:20:34 2024
@@ -0,0 +1,15 @@
+$NetBSD: patch-libcanlock-3.pc.in,v 1.1 2024/04/29 12:20:34 micha Exp $
+
+Add main include directory to Cflags.
+The documentation specifies to include headers with "lincanlock-3/"
+prefix.
+
+--- libcanlock-3.pc.in.orig    2021-08-15 11:15:39.000000000 +0000
++++ libcanlock-3.pc.in
+@@ -8,5 +8,5 @@ Name: @PACKAGE@
+ Description: Library for creating and verifying RFC 8315 Netnews Cancel-Locks
+ URL: https://micha.freeshell.org/libcanlock/
+ Version: @VERSION@
+-Cflags: -I${includedir}/libcanlock-3
++Cflags: -I${includedir} -I${includedir}/libcanlock-3
+ Libs: -L${libdir} -lcanlock



Home | Main Index | Thread Index | Old Index