pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/mk Fix FUSE version in fake pkg-config files



details:   https://anonhg.NetBSD.org/pkgsrc/rev/1fe5045bf605
branches:  trunk
changeset: 372545:1fe5045bf605
user:      pho <pho%pkgsrc.org@localhost>
date:      Thu Jan 27 04:27:05 2022 +0000

description:
Fix FUSE version in fake pkg-config files

The original FUSE contains a patch version in fuse.pc or fuse3.pc. We must do
the same or otherwise pkg-config requirements such as 'fuse >= 2.6.0' will fail.

diffstat:

 mk/fuse.buildlink3.mk |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 71a2f8acfacc -r 1fe5045bf605 mk/fuse.buildlink3.mk
--- a/mk/fuse.buildlink3.mk     Thu Jan 27 04:24:05 2022 +0000
+++ b/mk/fuse.buildlink3.mk     Thu Jan 27 04:27:05 2022 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: fuse.buildlink3.mk,v 1.24 2022/01/22 18:23:43 pho Exp $
+# $NetBSD: fuse.buildlink3.mk,v 1.25 2022/01/27 04:27:05 pho Exp $
 #
 # Makefile fragment for packages using the FUSE framework.
 #
@@ -81,7 +81,7 @@
                /\#define[ \t]+FUSE_MINOR_VERSION[ \t]/ { if (minor == "") minor = $$3; } \
                END { \
                        if (major != "" && minor != "") \
-                               print major "." minor; \
+                               print major "." minor ".0"; \
                        else \
                                print ""; \
                }' ${H_FUSE}



Home | Main Index | Thread Index | Old Index