pkgsrc-Changes archive

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

CVS commit: pkgsrc/graphics/inkscape



Module Name:    pkgsrc
Committed By:   tnn
Date:           Sat Nov 25 23:37:46 UTC 2023

Modified Files:
        pkgsrc/graphics/inkscape: Makefile

Log Message:
inkscape: dylib fixes


To generate a diff of this commit:
cvs rdiff -u -r1.279 -r1.280 pkgsrc/graphics/inkscape/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/graphics/inkscape/Makefile
diff -u pkgsrc/graphics/inkscape/Makefile:1.279 pkgsrc/graphics/inkscape/Makefile:1.280
--- pkgsrc/graphics/inkscape/Makefile:1.279     Sun Nov 19 19:54:30 2023
+++ pkgsrc/graphics/inkscape/Makefile   Sat Nov 25 23:37:45 2023
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.279 2023/11/19 19:54:30 wiz Exp $
+# $NetBSD: Makefile,v 1.280 2023/11/25 23:37:45 tnn Exp $
 
 DISTNAME=      inkscape-1.3.1
 CATEGORIES=    graphics
@@ -94,9 +94,18 @@ post-build:
 .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
+       ${RUN} cd ${DESTDIR}${PREFIX} && \
+               for f in lib/inkscape/libinkscape_base.${PKGVERSION_NOREV}.0.dylib; do  \
+                       install_name_tool -id                                           \
+                       ${PREFIX}/$$f $$f;                                              \
+               done
+       ${RUN} cd ${DESTDIR}${PREFIX} && \
+               for f in bin/inkscape bin/inkview; do                                   \
+                       install_name_tool -change                                       \
+                       ${PREFIX}/lib/libinkscape_base.${PKGVERSION_NOREV}.0.dylib      \
+                       ${PREFIX}/lib/inkscape/libinkscape_base.${PKGVERSION_NOREV}.0.dylib     \
+                       $$f;                                                            \
+               done
 .endif
 
 .include "../../devel/cmake/build.mk"



Home | Main Index | Thread Index | Old Index