aboutsummaryrefslogtreecommitdiffstats
path: root/lang/afnix/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'lang/afnix/Makefile')
-rw-r--r--lang/afnix/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/lang/afnix/Makefile b/lang/afnix/Makefile
index 990f679ea9ae..c42122b1416b 100644
--- a/lang/afnix/Makefile
+++ b/lang/afnix/Makefile
@@ -42,5 +42,7 @@ post-patch:
@${REINPLACE_CMD} -e '/\.rtf/d' ${WRKSRC}/etc/Makefile
@${REINPLACE_CMD} -e '/^MANDIR/s/SHRDIR/MANPREFIX/' \
${WRKSRC}/cnf/mak/afnix-defs.mak
+ @${REINPLACE_CMD} -e '/uname -r/s/\\\./[.-]/' \
+ ${WRKSRC}/cnf/bin/afnix-guess
.include <bsd.port.post.mk>