pkgsrc-Changes archive

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

CVS commit: pkgsrc/graphics/librsvg



Module Name:    pkgsrc
Committed By:   tnn
Date:           Thu Jan  2 16:26:36 UTC 2025

Modified Files:
        pkgsrc/graphics/librsvg: Makefile

Log Message:
librsvg: correct rpath for Darwin


To generate a diff of this commit:
cvs rdiff -u -r1.168 -r1.169 pkgsrc/graphics/librsvg/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/librsvg/Makefile
diff -u pkgsrc/graphics/librsvg/Makefile:1.168 pkgsrc/graphics/librsvg/Makefile:1.169
--- pkgsrc/graphics/librsvg/Makefile:1.168      Fri Dec 27 08:47:57 2024
+++ pkgsrc/graphics/librsvg/Makefile    Thu Jan  2 16:26:36 2025
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.168 2024/12/27 08:47:57 wiz Exp $
+# $NetBSD: Makefile,v 1.169 2025/01/02 16:26:36 tnn Exp $
 
 DISTNAME=      librsvg-2.59.2
 CATEGORIES=    graphics gnome
@@ -35,6 +35,16 @@ SUBST_STAGE.rst2man= pre-configure
 SUBST_FILES.rst2man=   meson.build
 SUBST_SED.rst2man=     -e 's,rst2man.py,rst2man-${PYVERSSUFFIX},g'
 
+.include "../../mk/bsd.prefs.mk"
+
+post-install:
+.if ${OPSYS} == "Darwin"
+       install_name_tool                       \
+         -change @rpath/librsvg-2.2.dylib      \
+         ${PREFIX}/lib/librsvg-2.2.dylib       \
+         ${DESTDIR}${PREFIX}/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader_svg.dylib
+.endif
+
 .include "cargo-depends.mk"
 
 .include "../../devel/meson/build.mk"



Home | Main Index | Thread Index | Old Index