pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/x11/qwt6-qt5 qwt6-qt5: libqwt.dylib needs rpath fixup



details:   https://anonhg.NetBSD.org/pkgsrc/rev/bdb1f6df6f06
branches:  trunk
changeset: 379312:bdb1f6df6f06
user:      tnn <tnn%pkgsrc.org@localhost>
date:      Sat May 14 16:18:30 2022 +0000

description:
qwt6-qt5: libqwt.dylib needs rpath fixup

diffstat:

 x11/qwt6-qt5/Makefile      |  14 +++++++++++---
 x11/qwt6-qt5/buildlink3.mk |   4 ++--
 2 files changed, 13 insertions(+), 5 deletions(-)

diffs (49 lines):

diff -r 480cb60b827b -r bdb1f6df6f06 x11/qwt6-qt5/Makefile
--- a/x11/qwt6-qt5/Makefile     Sat May 14 16:08:58 2022 +0000
+++ b/x11/qwt6-qt5/Makefile     Sat May 14 16:18:30 2022 +0000
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.22 2022/05/14 15:19:05 tnn Exp $
+# $NetBSD: Makefile,v 1.23 2022/05/14 16:18:30 tnn Exp $
 
 DISTNAME=      qwt-6.1.5
 PKGNAME=       qwt6-qt5-6.1.5
-PKGREVISION=   10
+PKGREVISION=   11
 CATEGORIES=    x11
 MASTER_SITES=  ${MASTER_SITE_SOURCEFORGE:=qwt/}
 EXTRACT_SUFX=  .tar.bz2
@@ -34,7 +34,15 @@
 # already loaded, at least as used in qgis.
 CHECK_SHLIBS_SKIP+=    qt5/plugins/designer/libqwt_designer_plugin.so
 CHECK_SHLIBS_SKIP+=    qt5/plugins/designer/libqwt_designer_plugin.dylib
-CHECK_SHLIBS_SKIP+=    qwt-6.1.5/lib/libqwt.6.1.5.dylib
+
+.include "../../mk/bsd.prefs.mk"
+
+post-install:
+.if ${OPSYS} == "Darwin"
+       install_name_tool       \
+         -id       ${PREFIX}/qwt-${PKGVERSION_NOREV}/lib/qwt-${PKGVERSION_NOREV}/lib/libqwt.${PKGVERSION_NOREV}.dylib  \
+         ${DESTDIR}${PREFIX}/qwt-${PKGVERSION_NOREV}/lib/qwt-${PKGVERSION_NOREV}/lib/libqwt.${PKGVERSION_NOREV}.dylib
+.endif
 
 .include "../../x11/qt5-qttools/buildlink3.mk"
 .include "../../x11/qt5-qtbase/buildlink3.mk"
diff -r 480cb60b827b -r bdb1f6df6f06 x11/qwt6-qt5/buildlink3.mk
--- a/x11/qwt6-qt5/buildlink3.mk        Sat May 14 16:08:58 2022 +0000
+++ b/x11/qwt6-qt5/buildlink3.mk        Sat May 14 16:18:30 2022 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.14 2022/04/18 19:10:18 adam Exp $
+# $NetBSD: buildlink3.mk,v 1.15 2022/05/14 16:18:30 tnn Exp $
 
 BUILDLINK_TREE+=       qwt6-qt5
 
@@ -6,7 +6,7 @@
 QWT6_QT5_BUILDLINK3_MK:=
 
 BUILDLINK_API_DEPENDS.qwt6-qt5+=       qwt6-qt5>=6.1.5
-BUILDLINK_ABI_DEPENDS.qwt6-qt5?=               qwt6-qt5>=6.1.5nb10
+BUILDLINK_ABI_DEPENDS.qwt6-qt5?=       qwt6-qt5>=6.1.5nb10
 BUILDLINK_PKGSRCDIR.qwt6-qt5?=         ../../x11/qwt6-qt5
 
 QWT_DIR=                       ${BUILDLINK_PREFIX.qwt6-qt5}/qwt-6.1.5



Home | Main Index | Thread Index | Old Index