3f45f837d5
This works around an assumption by the py-meson build system that loadable modules should have a .dylib suffix on Darwin. glib2 expects those modules to have a .so suffix.
14 lines
514 B
Makefile
14 lines
514 B
Makefile
# $NetBSD: hacks.mk,v 1.1 2018/06/04 05:31:02 dbj Exp $
|
|
|
|
# devel/glib2 expects modules to end in .so on darwin
|
|
# net/glib-networking uses py-meson to build
|
|
# py-meson's build.py SharedModule class inherits from SharedLibrary and assumes .dylib suffix
|
|
# (true as of py36-meson-0.44.1nb3)
|
|
|
|
.if ${OPSYS} == "Darwin"
|
|
post-install:
|
|
for l in libgiognomeproxy libgiognutls libgiolibproxy; do \
|
|
${MV} "${DESTDIR}${PREFIX}/lib/gio/modules/$${l}.dylib" \
|
|
"${DESTDIR}${PREFIX}/lib/gio/modules/$${l}.so"; \
|
|
done
|
|
.endif
|