diff options
author | leeym <leeym@FreeBSD.org> | 2006-01-02 03:45:31 +0800 |
---|---|---|
committer | leeym <leeym@FreeBSD.org> | 2006-01-02 03:45:31 +0800 |
commit | 41a1bc8682598cac77e0e014737e733ca63cab30 (patch) | |
tree | 25207085bb03a6011e60448987c6ea3085822a59 /devel/p5-Curses | |
parent | 07ee25198429047e6639706c7f9f36182786a5f3 (diff) | |
download | freebsd-ports-gnome-41a1bc8682598cac77e0e014737e733ca63cab30.tar.gz freebsd-ports-gnome-41a1bc8682598cac77e0e014737e733ca63cab30.tar.zst freebsd-ports-gnome-41a1bc8682598cac77e0e014737e733ca63cab30.zip |
- unbreak on old perl
PR: 90571
Submitted by: leeym
Approved by: maintainer timeout
Diffstat (limited to 'devel/p5-Curses')
-rw-r--r-- | devel/p5-Curses/Makefile | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/devel/p5-Curses/Makefile b/devel/p5-Curses/Makefile index 9ed22a1096d8..05b16f5ee5c4 100644 --- a/devel/p5-Curses/Makefile +++ b/devel/p5-Curses/Makefile @@ -24,4 +24,12 @@ pre-configure: @${LN} -s ${WRKSRC}/hints/c-freebsd.ncurses.h \ ${WRKSRC}/c-config.h -.include <bsd.port.mk> +.include <bsd.port.pre.mk> + +.if ${PERL_LEVEL} < 500600 +post-patch: + ${REINPLACE_CMD} -e '/warnings/d' ${WRKSRC}/Makefile.PL ${WRKSRC}/test.syms + ${REINPLACE_CMD} -e "s/.<.,//" ${WRKSRC}/test.syms +.endif + +.include <bsd.port.post.mk> |