FreeBSD Bugzilla – Attachment 224113 Details for
Bug 255062
graphics/libgphoto2: append ${PREFIX}/include to clfags in gphoto2-config
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
v1
0001-graphics-libgphoto2-synchronize-gphoto2-config-cflag.patch (text/plain), 1.78 KB, created by
Tobias C. Berner
on 2021-04-14 19:15:04 UTC
(
hide
)
Description:
v1
Filename:
MIME Type:
Creator:
Tobias C. Berner
Created:
2021-04-14 19:15:04 UTC
Size:
1.78 KB
patch
obsolete
>From 87dd988d059db83d942a645dba3e0628b8fb9591 Mon Sep 17 00:00:00 2001 >From: "Tobias C. Berner" <tcberner@FreeBSD.org> >Date: Wed, 14 Apr 2021 21:09:33 +0200 >Subject: [PATCH] graphics/libgphoto2: synchronize gphoto2-config --cflags > output with pkgconfig > >At the moment: > > pkgconf --cflags libgphoto2 > -I/usr/local/include/gphoto2 -I/usr/local/include > >Whereas > > gphoto2-config --cflags > -I/usr/local/include/gphoto2 > >This means that software using gphoto2 via the shipped gphoto2-config >tool will also require USES=localbase (see graphics/kamera). > >The patch attached appends ${PREFIFX}/include to the config tool, making >it also output > > > gphotot2-config --cflags > -I/usr/local/include/gphoto2-I/usr/local/include >--- > graphics/libgphoto2/Makefile | 1 + > graphics/libgphoto2/files/patch-gphoto2-config.in | 11 +++++++++++ > 2 files changed, 12 insertions(+) > create mode 100644 graphics/libgphoto2/files/patch-gphoto2-config.in > >diff --git a/graphics/libgphoto2/Makefile b/graphics/libgphoto2/Makefile >index ae107ada905a..36c2efb682a6 100644 >--- a/graphics/libgphoto2/Makefile >+++ b/graphics/libgphoto2/Makefile >@@ -2,6 +2,7 @@ > > PORTNAME= libgphoto2 > PORTVERSION= 2.5.26 >+PORTREVISION= 1 > CATEGORIES= graphics > MASTER_SITES= SF/gphoto/libgphoto/${PORTVERSION} > >diff --git a/graphics/libgphoto2/files/patch-gphoto2-config.in b/graphics/libgphoto2/files/patch-gphoto2-config.in >new file mode 100644 >index 000000000000..48d8f2342cab >--- /dev/null >+++ b/graphics/libgphoto2/files/patch-gphoto2-config.in >@@ -0,0 +1,11 @@ >+--- gphoto2-config.in.orig 2021-04-14 19:05:18 UTC >++++ gphoto2-config.in >+@@ -55,7 +55,7 @@ while test $# -gt 0; do >+ ;; >+ >+ --cflags) >+- echo "-I@includedir@/gphoto2" >++ echo "-I@includedir@/gphoto2 -I@includedir@" >+ ;; >+ >+ --libs) >-- >2.31.1 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 255062
: 224113