pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/chat/matrix-synapse
Module Name: pkgsrc
Committed By: adam
Date: Mon Apr 17 13:31:12 UTC 2023
Modified Files:
pkgsrc/chat/matrix-synapse: Makefile
Log Message:
matrix-synapse: set shared object name on Darwin
To generate a diff of this commit:
cvs rdiff -u -r1.75 -r1.76 pkgsrc/chat/matrix-synapse/Makefile
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/chat/matrix-synapse/Makefile
diff -u pkgsrc/chat/matrix-synapse/Makefile:1.75 pkgsrc/chat/matrix-synapse/Makefile:1.76
--- pkgsrc/chat/matrix-synapse/Makefile:1.75 Sun Apr 9 17:55:13 2023
+++ pkgsrc/chat/matrix-synapse/Makefile Mon Apr 17 13:31:11 2023
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.75 2023/04/09 17:55:13 js Exp $
+# $NetBSD: Makefile,v 1.76 2023/04/17 13:31:11 adam Exp $
DISTNAME= matrix-synapse-1.80.0
CATEGORIES= chat
@@ -67,6 +67,8 @@ HUMAN_PKGNAME= matrix-synapse
PKG_SYSCONFSUBDIR= ${HUMAN_PKGNAME}
DOCDIR= ${PREFIX}/share/doc/${HUMAN_PKGNAME}
+.include "../../mk/bsd.prefs.mk"
+
SYNAPSE_USER?= synapse
SYNAPSE_GROUP?= ${SYNAPSE_USER}
SYNAPSE_DATA?= ${VARBASE}/db/${HUMAN_PKGNAME}
@@ -107,6 +109,14 @@ post-install:
${INSTALL_DATA} files/README.pkgsrc.txt ${DESTDIR}${DOCDIR}
${INSTALL_DATA} files/README.pkgsrc.NetBSD.txt ${DESTDIR}${DOCDIR}
+.if ${OPSYS} == "Darwin"
+post-install: fix-rpath
+.PHONY: fix-rpath
+fix-rpath:
+ install_name_tool -id ${PREFIX}/${PYSITELIB}/synapse/synapse_rust.abi3.so \
+ ${DESTDIR}${PREFIX}/${PYSITELIB}/synapse/synapse_rust.abi3.so
+.endif
+
# \todo Grok upstream's new test scheme and port to it.
# test status as of 1.51.0
# 51 warnings, 1 error
Home |
Main Index |
Thread Index |
Old Index