qwt6-qt5: libqwt.dylib needs rpath fixup

This commit is contained in:
tnn 2022-05-14 16:18:30 +00:00
parent 9da4eb86ac
commit 1c4a064528
2 changed files with 13 additions and 5 deletions

View file

@ -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 @@ do-configure:
# 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"

View file

@ -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 @@ BUILDLINK_TREE+= qwt6-qt5
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