summaryrefslogtreecommitdiff
path: root/editors/mp
diff options
context:
space:
mode:
authorMark Pulford <markp@FreeBSD.org>2003-02-11 13:12:16 +0000
committerMark Pulford <markp@FreeBSD.org>2003-02-11 13:12:16 +0000
commitf6b66503481590d03791f259c7db4962682b6b2c (patch)
tree0c091069d2b0755e563c4efa97f88607493dad3a /editors/mp
parentUse USE_GNOME = gnomehack instead of patching Makefile.in. (diff)
Fix build broken by version update.
Pointed out by: kris/bento
Diffstat (limited to 'editors/mp')
-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