summaryrefslogtreecommitdiff
path: root/editors/mp/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'editors/mp/Makefile')
-rw-r--r--editors/mp/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/editors/mp/Makefile b/editors/mp/Makefile
index 1948987f3dc6..c7486b5254c6 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