- Fix compile problem with over optimization caused by -O2 flag for gcc in base
prior OSVERSION 700042 - Unbreak Approved by: portmgr (miwi) Feature safe: yes
This commit is contained in:
@@ -22,8 +22,6 @@ USE_BISON= build
|
||||
|
||||
PERL_CONFIGURE= yes
|
||||
|
||||
BROKEN= Does not compile
|
||||
|
||||
MAN1= vhier.1 vpassert.1 vppreproc.1 vrename.1
|
||||
|
||||
MAN3= Verilog::EditFiles.3 Verilog::Netlist::Logger.3 \
|
||||
@@ -34,14 +32,21 @@ MAN3= Verilog::EditFiles.3 Verilog::Netlist::Logger.3 \
|
||||
Verilog::Netlist::File.3 Verilog::Netlist::Subclass.3 \
|
||||
Verilog::Verilog-Perl.3 Verilog::Netlist::Interface.3 Verilog::Std.3
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} -e '/EXE_FILES/ s/ vsplitmodule//' \
|
||||
${WRKSRC}/Makefile.PL
|
||||
|
||||
post-configure:
|
||||
.if ${OSVERSION} < 700042
|
||||
@${REINPLACE_CMD} -e 's|-O2|-O|g' ${WRKSRC}/Makefile
|
||||
.endif
|
||||
|
||||
post-build:
|
||||
cd ${WRKSRC} && make test
|
||||
|
||||
test:
|
||||
make post-build
|
||||
|
||||
.include <bsd.port.mk>
|
||||
.include <bsd.port.post.mk>
|
||||
|
||||
Reference in New Issue
Block a user