FreeBSD Bugzilla – Attachment 144121 Details for
Bug 191368
update port cad/p5-Verilog-Perl
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch to fix and upgrade the port.
p5-Verilog-Perl.diff (text/plain), 6.71 KB, created by
Otacílio de Araújo Ramos Neto
on 2014-06-25 15:36:40 UTC
(
hide
)
Description:
Patch to fix and upgrade the port.
Filename:
MIME Type:
Creator:
Otacílio de Araújo Ramos Neto
Created:
2014-06-25 15:36:40 UTC
Size:
6.71 KB
patch
obsolete
>Index: Makefile >=================================================================== >--- Makefile (revisão 359251) >+++ Makefile (cópia de trabalho) >@@ -2,7 +2,7 @@ > # $FreeBSD$ > > PORTNAME= Verilog-Perl >-PORTVERSION= 3.400 >+PORTVERSION= 3.404 > CATEGORIES= cad perl5 > MASTER_SITES= CPAN > PKGNAMEPREFIX= p5- >@@ -14,14 +14,13 @@ > > USES= bison gmake perl5 > USE_PERL5= configure >+USE_GCC= any >+CONFIGURE_ENV= CXX=${CXX}\ >+ CPP=${CPP}\ >+ CC=${CC} > > .include <bsd.port.pre.mk> > >-post-patch: >- @${REINPLACE_CMD} -e '/EXE_FILES/ s/ vsplitmodule//' \ >- ${WRKSRC}/Makefile.PL >- @${REINPLACE_CMD} -e 's|make|gmake|g' ${WRKSRC}/Makefile.PL >- > post-install: > ${STRIP_CMD} ${STAGEDIR}${SITE_PERL}/${PERL_ARCH}/auto/Verilog/Parser/*.so > >Index: distinfo >=================================================================== >--- distinfo (revisão 359251) >+++ 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.404.tar.gz) = 4eddc21a965019eecc2200e251186f9d8bd0643485d12feda7d0b26a328650d0 >+SIZE (Verilog-Perl-3.404.tar.gz) = 558496 >Index: files/patch-Makefile.PL >=================================================================== >--- files/patch-Makefile.PL (revisão 0) >+++ files/patch-Makefile.PL (cópia de trabalho) >@@ -0,0 +1,39 @@ >+--- Makefile.PL 2014-03-11 19:59:40.000000000 -0300 >++++ Makefile.PL 2014-06-25 11:18:59.000000000 -0300 >+@@ -11,7 +11,7 @@ >+ >+ sub MY::postamble { >+ my $out=""; >+- # Note OPTIMIZE is passed from upper makefile, so this code needed there too. >++ # Note OPTIMIZE is passed from upper gmakefile, so this code needed there too. >+ # -O2 optimization seems unreasonably slow on nearly every platform. I give up. >+ my $optimize = $Config{optimize}; $optimize =~ s/(^| )-O2( |$)/\1-O\2/g; >+ $out .= "OPTIMIZE = $optimize\n"; >+@@ -82,6 +82,8 @@ >+ return $out; >+ } >+ >++$CXX = $ENV{CXX}; >++ >+ my $fail; >+ local $! = undef; >+ my $have_gen = -d "Preproc/gen"; >+@@ -93,7 +95,7 @@ >+ if ($have_gen) { warn "\n-Note: 'bison' must be installed to build from sources\n"; } >+ else { $fail=1; warn "\n%Error: 'bison' must be installed to build\n\n"; } >+ } >+-`g++ --version`; if ($?) { $fail=1; warn "\n%Error: 'gcc/g++' must be installed to build\n"; } >++system("$CXX --version"); if ($?) { $fail=1; warn "\n%Error: 'gcc/g++' must be installed to build\n"; } >+ if ($fail) { >+ if ($ENV{AUTOMATED_TESTING}) { >+ exit(0); >+@@ -135,8 +137,8 @@ >+ }, >+ ); >+ >+-my $mkv = `make --version`; >++my $mkv = `gmake --version`; >+ if ($? || $mkv !~ /GNU Make/i) { >+ warn "-Important: Now type 'gmake MAKE=gmake' as this package requires GNU Make\n"; >+ } >+ 1; > >Mudanças de propriedades em: files/patch-Makefile.PL >___________________________________________________________________ >Added: svn:mime-type >## -0,0 +1 ## >+text/plain >\ No newline at end of property >Added: fbsd:nokeywords >## -0,0 +1 ## >+yes >\ No newline at end of property >Added: svn:eol-style >## -0,0 +1 ## >+native >\ No newline at end of property >Index: files/patch-Parser__Makefile.PL >=================================================================== >--- files/patch-Parser__Makefile.PL (revisão 0) >+++ files/patch-Parser__Makefile.PL (cópia de trabalho) >@@ -0,0 +1,28 @@ >+--- Parser/Makefile.PL 2014-03-11 19:59:40.000000000 -0300 >++++ Parser/Makefile.PL 2014-06-25 11:19:19.000000000 -0300 >+@@ -9,13 +9,15 @@ >+ >+ sub MY::postamble { >+ my $out; >++ >++ $CXX = $ENV{CXX}; >+ #print Config::myconfig(); >+ if ($Config{osname} !~ /cygwin/i && $Config{archname} !~ /cygwin/i >+ && $Config{osname} !~ /darwin/i && $Config{archname} !~ /darwin/i) { >+ # Cygwin: Don't change LD, it breaks >+ # Sun: Requires g++ LD >+ # Linux: Either way >+- $out .= "LD = g++\n"; >++ $out .= "LD = $CXX\n"; >+ } >+ # Note OPTIMIZE is passed from upper makefile, so this code needed there too. >+ my $optimize = $Config{optimize}; $optimize =~ s/(^| )-O2( |$)/\1-O\2/g; >+@@ -46,7 +48,7 @@ >+ $out .= "${cmt}CFLAGS += -DFLEX_DEBUG\n"; >+ $out .= "LEXFLAGS += -d\n"; >+ $out .= ' >+-CC = $(OBJCACHE) g++ >++CC = $(OBJCACHE) $(CXX) >+ LEX = flex >+ YACC = bison >+ PPSRC = ../Preproc > >Mudanças de propriedades em: files/patch-Parser__Makefile.PL >___________________________________________________________________ >Added: fbsd:nokeywords >## -0,0 +1 ## >+yes >\ No newline at end of property >Added: svn:eol-style >## -0,0 +1 ## >+native >\ No newline at end of property >Added: svn:mime-type >## -0,0 +1 ## >+text/plain >\ No newline at end of property >Index: files/patch-Preproc__Makefile.PL >=================================================================== >--- files/patch-Preproc__Makefile.PL (revisão 0) >+++ files/patch-Preproc__Makefile.PL (cópia de trabalho) >@@ -0,0 +1,27 @@ >+--- Preproc/Makefile.PL 2014-03-11 19:59:40.000000000 -0300 >++++ Preproc/Makefile.PL 2014-06-25 11:19:37.000000000 -0300 >+@@ -9,13 +9,14 @@ >+ >+ sub MY::postamble { >+ my $out; >++ $CXX = $ENV{CXX}; >+ #print Config::myconfig(); >+ if ($Config{osname} !~ /cygwin/i && $Config{archname} !~ /cygwin/i >+ && $Config{osname} !~ /darwin/i && $Config{archname} !~ /darwin/i) { >+ # Cygwin: Don't change LD, it breaks >+ # Sun: Requires g++ LD >+ # Linux: Either way >+- $out .= "LD = g++\n"; >++ $out .= "LD = $CXX\n"; >+ } >+ # Note OPTIMIZE is passed from upper makefile, so this code needed there too. >+ my $optimize = $Config{optimize}; $optimize =~ s/(^| )-O2( |$)/\1-O\2/g; >+@@ -46,7 +47,7 @@ >+ $out .= "${cmt}CFLAGS += -DFLEX_DEBUG\n"; >+ $out .= "${cmt}LEXFLAGS += -d\n"; >+ $out .= ' >+-CC = $(OBJCACHE) g++ >++CC = $(OBJCACHE) $(CXX) >+ LEX = flex >+ YACC = bison >+ PPSRC = ../Preproc > >Mudanças de propriedades em: files/patch-Preproc__Makefile.PL >___________________________________________________________________ >Added: svn:mime-type >## -0,0 +1 ## >+text/plain >\ No newline at end of property >Added: fbsd:nokeywords >## -0,0 +1 ## >+yes >\ No newline at end of property >Added: svn:eol-style >## -0,0 +1 ## >+native >\ No newline at end of property >Index: pkg-descr >=================================================================== >--- pkg-descr (revisão 359251) >+++ pkg-descr (cópia de trabalho) >@@ -16,4 +16,4 @@ > edit this list, changing as many symbols as you wish. Vrename is then run a > second time to apply the changes. > >-WWW: http://www.veripool.org/wiki/verilog-perl >+WWW: http://www.veripool.org/wiki/verilog-perl >Index: pkg-plist >=================================================================== >--- pkg-plist (revisão 359251) >+++ pkg-plist (cópia de trabalho) >@@ -2,6 +2,7 @@ > bin/vpassert > bin/vppreproc > bin/vrename >+bin/vsplitmodule > %%PERL5_MAN3%%/Verilog::EditFiles.3.gz > %%PERL5_MAN3%%/Verilog::Getopt.3.gz > %%PERL5_MAN3%%/Verilog::Language.3.gz
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 191368
: 144121