pkgsrc-Changes archive

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

CVS commit: pkgsrc/news/canlock-hp



Module Name:    pkgsrc
Committed By:   micha
Date:           Mon Apr 29 12:34:31 UTC 2024

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

Log Message:
news/canlock-hp: Improve pkg-config support.

- Add main include directory to Cflags in "libcanlock-hp-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.9 -r1.10 pkgsrc/news/canlock-hp/Makefile \
    pkgsrc/news/canlock-hp/distinfo
cvs rdiff -u -r0 -r1.1 \
    pkgsrc/news/canlock-hp/patches/patch-hp_libcanlock-hp-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/canlock-hp/Makefile
diff -u pkgsrc/news/canlock-hp/Makefile:1.9 pkgsrc/news/canlock-hp/Makefile:1.10
--- pkgsrc/news/canlock-hp/Makefile:1.9 Wed Aug 30 13:16:32 2023
+++ pkgsrc/news/canlock-hp/Makefile     Mon Apr 29 12:34:31 2024
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.9 2023/08/30 13:16:32 micha Exp $
+# $NetBSD: Makefile,v 1.10 2024/04/29 12:34:31 micha Exp $
 
 DISTNAME=      libcanlock-3.3.0
 PKGNAME=       ${DISTNAME:S/libcanlock/canlock-hp/}
-PKGREVISION=   1
+PKGREVISION=   2
 CATEGORIES=    news
 MASTER_SITES=  http://micha.freeshell.org/libcanlock/src/
 EXTRACT_SUFX=  .tar.bz2
@@ -25,4 +25,6 @@ CONFIGURE_DIRS=       hp
 BUILD_DIRS=    hp
 TEST_TARGET=   test
 
+PKGCONFIG_OVERRIDE+=   hp/libcanlock-hp-3.pc.in
+
 .include "../../mk/bsd.pkg.mk"
Index: pkgsrc/news/canlock-hp/distinfo
diff -u pkgsrc/news/canlock-hp/distinfo:1.9 pkgsrc/news/canlock-hp/distinfo:1.10
--- pkgsrc/news/canlock-hp/distinfo:1.9 Fri Dec  3 10:59:16 2021
+++ pkgsrc/news/canlock-hp/distinfo     Mon Apr 29 12:34:31 2024
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.9 2021/12/03 10:59:16 micha Exp $
+$NetBSD: distinfo,v 1.10 2024/04/29 12:34:31 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-hp_libcanlock-hp-3.pc.in) = 6005ac26946577840dd7a57b315aa34e9a160cb2

Added files:

Index: pkgsrc/news/canlock-hp/patches/patch-hp_libcanlock-hp-3.pc.in
diff -u /dev/null pkgsrc/news/canlock-hp/patches/patch-hp_libcanlock-hp-3.pc.in:1.1
--- /dev/null   Mon Apr 29 12:34:31 2024
+++ pkgsrc/news/canlock-hp/patches/patch-hp_libcanlock-hp-3.pc.in       Mon Apr 29 12:34:31 2024
@@ -0,0 +1,15 @@
+$NetBSD: patch-hp_libcanlock-hp-3.pc.in,v 1.1 2024/04/29 12:34:31 micha Exp $
+
+Add main include directory to Cflags.
+The documentation specifies to include headers with "lincanlock-3/"
+prefix.
+
+--- hp/libcanlock-hp-3.pc.in.orig      2021-08-16 18:35:51.000000000 +0000
++++ hp/libcanlock-hp-3.pc.in
+@@ -8,5 +8,5 @@ Name: lib@PACKAGE@
+ Description: Library for parsing article headers
+ URL: https://micha.freeshell.org/libcanlock/
+ Version: @VERSION@
+-Cflags: -I${includedir}/libcanlock-3
++Cflags: -I${includedir} -I${includedir}/libcanlock-3
+ Libs: -L${libdir} -lcanlock-hp



Home | Main Index | Thread Index | Old Index