pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/textproc/py-libxml2
Module Name: pkgsrc
Committed By: jperkin
Date: Fri Jul 13 11:31:58 UTC 2018
Modified Files:
pkgsrc/textproc/py-libxml2: Makefile
Log Message:
py-libxml2: Fix install_name on Darwin.
To generate a diff of this commit:
cvs rdiff -u -r1.61 -r1.62 pkgsrc/textproc/py-libxml2/Makefile
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/textproc/py-libxml2/Makefile
diff -u pkgsrc/textproc/py-libxml2/Makefile:1.61 pkgsrc/textproc/py-libxml2/Makefile:1.62
--- pkgsrc/textproc/py-libxml2/Makefile:1.61 Sun Mar 11 17:49:53 2018
+++ pkgsrc/textproc/py-libxml2/Makefile Fri Jul 13 11:31:58 2018
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.61 2018/03/11 17:49:53 wiz Exp $
+# $NetBSD: Makefile,v 1.62 2018/07/13 11:31:58 jperkin Exp $
.include "../../textproc/libxml2/Makefile.common"
@@ -22,6 +22,15 @@ SUBST_SED.setup+= -e "/^\"/s,/usr/local/
BUILDLINK_TRANSFORM.Darwin+= opt:-bundle:-dynamiclib
+.include "../../mk/bsd.prefs.mk"
+
+.if ${OPSYS} == "Darwin"
+post-install: fix-darwin-install-name
+fix-darwin-install-name:
+ install_name_tool -id ${PREFIX}/${PYSITELIB}/libxml2mod.so \
+ ${DESTDIR}${PREFIX}/${PYSITELIB}/libxml2mod.so
+.endif
+
EGG_NAME= ${DISTNAME:S/-/_python-/}
BUILD_DEPENDS+= ${PYPKGPREFIX}-expat>=0:../../textproc/py-expat
Home |
Main Index |
Thread Index |
Old Index