pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/graphics/inkscape inkscape: unbreak Darwin
details: https://anonhg.NetBSD.org/pkgsrc/rev/1ca0d2a21ad4
branches: trunk
changeset: 455300:1ca0d2a21ad4
user: adam <adam%pkgsrc.org@localhost>
date: Fri Jul 02 12:42:59 2021 +0000
description:
inkscape: unbreak Darwin
diffstat:
graphics/inkscape/Makefile | 15 +++++++++++++--
1 files changed, 13 insertions(+), 2 deletions(-)
diffs (43 lines):
diff -r 250a0ffc6ec3 -r 1ca0d2a21ad4 graphics/inkscape/Makefile
--- a/graphics/inkscape/Makefile Fri Jul 02 12:17:49 2021 +0000
+++ b/graphics/inkscape/Makefile Fri Jul 02 12:42:59 2021 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.236 2021/07/02 06:59:15 wiz Exp $
+# $NetBSD: Makefile,v 1.237 2021/07/02 12:42:59 adam Exp $
DISTNAME= inkscape-1.1
CATEGORIES= graphics
@@ -67,7 +67,6 @@
CHECK_PORTABILITY_SKIP+= packaging/macosx/Resources/bin/inkscape
CHECK_PORTABILITY_SKIP+= packaging/macosx/ScriptExec/launcher-quartz-no-macintegration.sh
-CMAKE_ARGS+= -DINKSCAPE_INSTALL_LIBDIR=${PREFIX}/lib
CMAKE_ARGS+= -DPACKAGE_LOCALE_DIR=${PREFIX}/${PKGLOCALEDIR}/locale
MANCOMPRESSED= yes
@@ -84,6 +83,15 @@
post-build:
cd ${WRKSRC} && ${PYTHONBIN} share/templates/create_default_templates.py . .
+.if ${OPSYS} == "Darwin"
+.PHONY: fix-darwin-install-name
+post-install: fix-darwin-install-name
+fix-darwin-install-name:
+ install_name_tool -change ${PREFIX}/lib/libinkscape_base.dylib \
+ ${PREFIX}/lib/inkscape/libinkscape_base.dylib \
+ ${DESTDIR}${PREFIX}/bin/inkscape
+.endif
+
BUILDLINK_API_DEPENDS.boehm-gc+= boehm-gc>=7.4
.include "../../converters/libcdr/buildlink3.mk"
.include "../../converters/librevenge/buildlink3.mk"
@@ -112,6 +120,9 @@
.include "../../textproc/gtkspell3/buildlink3.mk"
BUILDLINK_API_DEPENDS.gtkmm3+= gtkmm3>=3.24
.include "../../x11/gtkmm3/buildlink3.mk"
+.if ${PKG_BUILD_OPTIONS.gtk3:Mquartz}
+.include "../../x11/gtk-mac-integration/buildlink3.mk"
+.endif
.include "../../sysutils/desktop-file-utils/desktopdb.mk"
.include "../../lang/python/application.mk"
.include "../../mk/atomic64.mk"
Home |
Main Index |
Thread Index |
Old Index