aboutsummaryrefslogtreecommitdiff
path: root/devel/p5-Curses
diff options
context:
space:
mode:
authorYen-Ming Lee <leeym@FreeBSD.org>2006-01-01 19:45:31 +0000
committerYen-Ming Lee <leeym@FreeBSD.org>2006-01-01 19:45:31 +0000
commitfa9062b7ea61ee2d56fbf9beb33e5bc26e6362a2 (patch)
treeb48e7002b730af467f42c7a0f6aaf66629a3f911 /devel/p5-Curses
parentbb6e43ccbf3121064e6a9ebcd8dd9e9fa8d802e1 (diff)
downloadports-fa9062b7ea61ee2d56fbf9beb33e5bc26e6362a2.tar.gz
ports-fa9062b7ea61ee2d56fbf9beb33e5bc26e6362a2.zip
Notes
Diffstat (limited to 'devel/p5-Curses')
-rw-r--r--devel/p5-Curses/Makefile10
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>