comparison uwsginl-plugin-lang-pypy3/Makefile @ 162:620a0992bf93

FIX: The exported symbol from a plugin really needs to match the name of the plugin
author Franz Glasner <fzglas.hg@dom66.de>
date Wed, 19 Oct 2022 02:34:51 +0200
parents 5a9516babd5e
children 9b279d675487
comparison
equal deleted inserted replaced
161:31cd6efe7e57 162:620a0992bf93
67 PLUGIN_FILENAME= ${PLUGIN_NAME}_plugin.so 67 PLUGIN_FILENAME= ${PLUGIN_NAME}_plugin.so
68 68
69 # Use the PATCHDIR of the binary executable by default 69 # Use the PATCHDIR of the binary executable by default
70 PATCHDIR?= ${.CURDIR}/../uwsginl/files 70 PATCHDIR?= ${.CURDIR}/../uwsginl/files
71 71
72 .if ${PLUGIN_NAME} != pypy3 && ${PLUGIN_NAME} != pypy38
73 post-patch:
74 ${REINPLACE_CMD} -i '' -e 's/pypy3_plugin/${PLUGIN_NAME}_plugin/g' ${WRKSRC}/${PLUGIN_SOURCE}/pypy_setup.py
75 .endif
76
72 do-configure: 77 do-configure:
73 @${DO_NADA} 78 @${DO_NADA}
74 79
75 do-build: 80 do-build:
76 @${MKDIR} ${STAGEDIR}${PREFIX}/${PLUGIN_DIR} 81 @${MKDIR} ${STAGEDIR}${PREFIX}/${PLUGIN_DIR}