cad/p5-Verilog-Perl makes clang malloc all memory and finish without memory
Otacílio
otacilio.neto at bsd.com.br
Sun Jan 26 16:28:32 UTC 2014
Dears
I'm the mantainer of cad/p5-Verilog-Perl. I'm doing the patch to compile
it under FreeBSD 10 using clang/clang++. But, when I try compile, clang
uses all memory and crashes without memory. Below is the patch to apply
to the port to reproduce the problem. Can anyone give-me a hint about
it? Thanks a lot.
Index: Makefile
===================================================================
--- Makefile (revisão 341171)
+++ Makefile (cópia de trabalho)
@@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= Verilog-Perl
-PORTVERSION= 3.400
+PORTVERSION= 3.402
CATEGORIES= cad perl5
MASTER_SITES= CPAN
PKGNAMEPREFIX= p5-
@@ -14,6 +14,8 @@
USES= bison gmake perl5
USE_PERL5= configure
+C= clang
+CPP= clang++
MAN1= vhier.1 vpassert.1 vppreproc.1 vrename.1
@@ -33,6 +35,8 @@
@${REINPLACE_CMD} -e '/EXE_FILES/ s/ vsplitmodule//' \
${WRKSRC}/Makefile.PL
@${REINPLACE_CMD} -e 's|make|gmake|g' ${WRKSRC}/Makefile.PL
+ @${REINPLACE_CMD} -e 's|g++|$(CPP)|g' ${WRKSRC}/Makefile.PL
+ @${REINPLACE_CMD} -e 's|g++|$(CPP)|g' ${WRKSRC}/Parser/Makefile.PL
post-configure:
.if ${OSVERSION} < 700042
Index: distinfo
===================================================================
--- distinfo (revisão 341171)
+++ distinfo (cópia de trabalho)
@@ -1,2 +1,2 @@
-SHA256 (Verilog-Perl-3.400.tar.gz) =
e6f33d5c0346f56ba96fa9964dd75734e1315dff8dfce55f0b31f33a6210f69b
-SIZE (Verilog-Perl-3.400.tar.gz) = 558455
+SHA256 (Verilog-Perl-3.402.tar.gz) =
506262ae015f1b4660eed49171173ac57726b74fd26c77ef87cd133199129d9d
+SIZE (Verilog-Perl-3.402.tar.gz) = 555131
More information about the freebsd-ports-bugs
mailing list