aboutsummaryrefslogtreecommitdiff
path: root/editors/manedit/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'editors/manedit/Makefile')
-rw-r--r--editors/manedit/Makefile9
1 files changed, 7 insertions, 2 deletions
diff --git a/editors/manedit/Makefile b/editors/manedit/Makefile
index d01b15dee7c5..d8fbec5b5fee 100644
--- a/editors/manedit/Makefile
+++ b/editors/manedit/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= manedit
-PORTVERSION= 0.7.1
+PORTVERSION= 0.8.1
CATEGORIES= editors
MASTER_SITES= http://wolfpack.twu.net/users/wolfpack/
@@ -22,6 +22,11 @@ MAKEFILE= Makefile.FreeBSD
MAN1= manedit.1
pre-configure:
- ${CP} ${FILESDIR}/mntent* ${WRKSRC}
+ @${CP} ${FILESDIR}/mntent* ${WRKSRC}
+
+post-patch:
+ @${REINPLACE_CMD} -E 's,(viewerfio.c),\1 mntent_compat.c,; \
+ s,(viewerfio.h),\1 mntent.h,' \
+ ${WRKSRC}/Makefile.srclist
.include <bsd.port.mk>