summaryrefslogtreecommitdiffstats
path: root/editors
diff options
context:
space:
mode:
Diffstat (limited to 'editors')
-rw-r--r--editors/mp/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/editors/mp/Makefile b/editors/mp/Makefile
index 1948987..c7486b5 100644
--- a/editors/mp/Makefile
+++ b/editors/mp/Makefile
@@ -18,7 +18,8 @@ MAKE_ARGS+= PREFIX="${PREFIX}"
MAKEFILE= makefile
post-patch:
- ${REINPLACE_CMD} -e "s@gcc -g -Wall@${CC} ${CFLAGS} -Wall@g" ${WRKSRC}/makefile
+ ${REINPLACE_CMD} "s/gcc -g -Wall/${CC} ${CFLAGS} -Wall/g; \
+ s/mp gmp/mp/g" ${WRKSRC}/makefile
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/mp ${PREFIX}/bin
OpenPOWER on IntegriCloud