From owner-svn-ports-all@FreeBSD.ORG Fri Jun 27 18:59:29 2014 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id CF5B36E1; Fri, 27 Jun 2014 18:59:29 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id BBA4F2060; Fri, 27 Jun 2014 18:59:29 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.8/8.14.8) with ESMTP id s5RIxTrd046305; Fri, 27 Jun 2014 18:59:29 GMT (envelope-from garga@svn.freebsd.org) Received: (from garga@localhost) by svn.freebsd.org (8.14.8/8.14.8/Submit) id s5RIxSMO046294; Fri, 27 Jun 2014 18:59:28 GMT (envelope-from garga@svn.freebsd.org) Message-Id: <201406271859.s5RIxSMO046294@svn.freebsd.org> From: Renato Botelho Date: Fri, 27 Jun 2014 18:59:28 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r359597 - in head/cad/p5-Verilog-Perl: . files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 27 Jun 2014 18:59:29 -0000 Author: garga Date: Fri Jun 27 18:59:28 2014 New Revision: 359597 URL: http://svnweb.freebsd.org/changeset/ports/359597 QAT: https://qat.redports.org/buildarchive/r359597/ Log: - Update to 3.404 - Fix build, it needs gcc PR: 191368 Submitted by: otaciliodearaujo@gmail.com (maintainer) Added: head/cad/p5-Verilog-Perl/files/ head/cad/p5-Verilog-Perl/files/patch-Makefile.PL (contents, props changed) head/cad/p5-Verilog-Perl/files/patch-Parser__Makefile.PL (contents, props changed) head/cad/p5-Verilog-Perl/files/patch-Preproc__Makefile.PL (contents, props changed) Modified: head/cad/p5-Verilog-Perl/Makefile head/cad/p5-Verilog-Perl/distinfo head/cad/p5-Verilog-Perl/pkg-descr head/cad/p5-Verilog-Perl/pkg-plist Modified: head/cad/p5-Verilog-Perl/Makefile ============================================================================== --- head/cad/p5-Verilog-Perl/Makefile Fri Jun 27 18:54:58 2014 (r359596) +++ head/cad/p5-Verilog-Perl/Makefile Fri Jun 27 18:59:28 2014 (r359597) @@ -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 @@ BUILD_DEPENDS= flex>=2.5.35:${PORTSDIR}/ USES= bison gmake perl5 USE_PERL5= configure +USE_GCC= any +CONFIGURE_ENV= CXX=${CXX}\ + CPP=${CPP}\ + CC=${CC} .include -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 Modified: head/cad/p5-Verilog-Perl/distinfo ============================================================================== --- head/cad/p5-Verilog-Perl/distinfo Fri Jun 27 18:54:58 2014 (r359596) +++ head/cad/p5-Verilog-Perl/distinfo Fri Jun 27 18:59:28 2014 (r359597) @@ -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 Added: head/cad/p5-Verilog-Perl/files/patch-Makefile.PL ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/cad/p5-Verilog-Perl/files/patch-Makefile.PL Fri Jun 27 18:59:28 2014 (r359597) @@ -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; Added: head/cad/p5-Verilog-Perl/files/patch-Parser__Makefile.PL ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/cad/p5-Verilog-Perl/files/patch-Parser__Makefile.PL Fri Jun 27 18:59:28 2014 (r359597) @@ -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 Added: head/cad/p5-Verilog-Perl/files/patch-Preproc__Makefile.PL ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/cad/p5-Verilog-Perl/files/patch-Preproc__Makefile.PL Fri Jun 27 18:59:28 2014 (r359597) @@ -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 Modified: head/cad/p5-Verilog-Perl/pkg-descr ============================================================================== --- head/cad/p5-Verilog-Perl/pkg-descr Fri Jun 27 18:54:58 2014 (r359596) +++ head/cad/p5-Verilog-Perl/pkg-descr Fri Jun 27 18:59:28 2014 (r359597) @@ -16,4 +16,4 @@ language. It includes: 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 Modified: head/cad/p5-Verilog-Perl/pkg-plist ============================================================================== --- head/cad/p5-Verilog-Perl/pkg-plist Fri Jun 27 18:54:58 2014 (r359596) +++ head/cad/p5-Verilog-Perl/pkg-plist Fri Jun 27 18:59:28 2014 (r359597) @@ -2,6 +2,7 @@ bin/vhier 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