File:  [cvs.NetBSD.org] / pkgsrc / news / canlock-hp / patches / Attic / patch-hp_libcanlock-hp-3.pc.in
Revision 1.1: download - view: text, annotated - select for diffs
Mon Apr 29 12:34:31 2024 UTC (9 months, 2 weeks ago) by micha
Branches: MAIN
CVS tags: HEAD
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.

$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

CVSweb <webmaster@jp.NetBSD.org>