pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/multimedia/assimp Fix the assimp pkgconfig file
details: https://anonhg.NetBSD.org/pkgsrc/rev/76f3766dbdf4
branches: trunk
changeset: 452428:76f3766dbdf4
user: nros <nros%pkgsrc.org@localhost>
date: Mon May 10 08:18:53 2021 +0000
description:
Fix the assimp pkgconfig file
Set the correct includedir in the
assimp pkgconfig file.
Add missing PKGCONFIG_OVERRIDE.
diffstat:
multimedia/assimp/Makefile | 4 +++-
multimedia/assimp/distinfo | 3 ++-
multimedia/assimp/patches/patch-assimp.pc.in | 15 +++++++++++++++
3 files changed, 20 insertions(+), 2 deletions(-)
diffs (50 lines):
diff -r 800cf0339854 -r 76f3766dbdf4 multimedia/assimp/Makefile
--- a/multimedia/assimp/Makefile Mon May 10 06:06:35 2021 +0000
+++ b/multimedia/assimp/Makefile Mon May 10 08:18:53 2021 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.2 2021/01/05 04:50:53 gutteridge Exp $
+# $NetBSD: Makefile,v 1.3 2021/05/10 08:18:53 nros Exp $
DISTNAME= assimp-5.0.1
PKGREVISION= 1
@@ -15,5 +15,7 @@
USE_TOOLS+= pkg-config
USE_LANGUAGES= c c++
+PKGCONFIG_OVERRIDE= assimp.pc.in
+
.include "../../devel/zlib/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
diff -r 800cf0339854 -r 76f3766dbdf4 multimedia/assimp/distinfo
--- a/multimedia/assimp/distinfo Mon May 10 06:06:35 2021 +0000
+++ b/multimedia/assimp/distinfo Mon May 10 08:18:53 2021 +0000
@@ -1,8 +1,9 @@
-$NetBSD: distinfo,v 1.4 2021/01/10 05:20:00 gutteridge Exp $
+$NetBSD: distinfo,v 1.5 2021/05/10 08:18:53 nros Exp $
SHA1 (assimp-5.0.1.tar.gz) = f148ba31dc1e7e00e59cc09b25535af997dc1998
RMD160 (assimp-5.0.1.tar.gz) = 1c8311f5a1e2943f786c5385128a934274a4230d
SHA512 (assimp-5.0.1.tar.gz) = 51b704ffea778638b9e228578650f62691c56ee1a90337f8bbbee37e807455466d818234be24852334e5806260e5690932c9bd8e00f055c5c26782e0636538f0
Size (assimp-5.0.1.tar.gz) = 46607553 bytes
+SHA1 (patch-assimp.pc.in) = 4c8bc0922ba046dfe37a007f5631254cf256101e
SHA1 (patch-contrib_irrXML_CMakeLists.txt) = 0c2dd457cfacf7be1b9c64068848b3e3bb476afa
SHA1 (patch-contrib_zip_src_zip.h) = 824462e986010e705b3089f3055eecd23093cf7c
diff -r 800cf0339854 -r 76f3766dbdf4 multimedia/assimp/patches/patch-assimp.pc.in
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/multimedia/assimp/patches/patch-assimp.pc.in Mon May 10 08:18:53 2021 +0000
@@ -0,0 +1,15 @@
+$NetBSD: patch-assimp.pc.in,v 1.1 2021/05/10 08:18:53 nros Exp $
+
+* set correct includedir
+
+--- assimp.pc.in.orig 2021-05-09 20:07:26.984559921 +0000
++++ assimp.pc.in
+@@ -1,7 +1,7 @@
+ prefix=@CMAKE_INSTALL_PREFIX@
+ exec_prefix=@CMAKE_INSTALL_PREFIX@/
+ libdir=@CMAKE_INSTALL_PREFIX@/@ASSIMP_LIB_INSTALL_DIR@
+-includedir=@CMAKE_INSTALL_PREFIX@/../include/@ASSIMP_INCLUDE_INSTALL_DIR@
++includedir=@CMAKE_INSTALL_PREFIX@/@ASSIMP_INCLUDE_INSTALL_DIR@
+
+ Name: @CMAKE_PROJECT_NAME@
+ Description: Import various well-known 3D model formats in an uniform manner.
Home |
Main Index |
Thread Index |
Old Index