From owner-svn-ports-branches@freebsd.org Sun Jul 31 13:46:04 2016 Return-Path: Delivered-To: svn-ports-branches@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id AAABCBA9131; Sun, 31 Jul 2016 13:46:04 +0000 (UTC) (envelope-from pi@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::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 664CB1A9E; Sun, 31 Jul 2016 13:46:04 +0000 (UTC) (envelope-from pi@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id u6VDk3LW080825; Sun, 31 Jul 2016 13:46:03 GMT (envelope-from pi@FreeBSD.org) Received: (from pi@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id u6VDk3f1080821; Sun, 31 Jul 2016 13:46:03 GMT (envelope-from pi@FreeBSD.org) Message-Id: <201607311346.u6VDk3f1080821@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: pi set sender to pi@FreeBSD.org using -f From: Kurt Jaeger Date: Sun, 31 Jul 2016 13:46:03 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-branches@freebsd.org Subject: svn commit: r419376 - in branches/2016Q3/editors/p5-Padre: . files X-SVN-Group: ports-branches MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-branches@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: SVN commit messages for all the branches of the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 31 Jul 2016 13:46:04 -0000 Author: pi Date: Sun Jul 31 13:46:03 2016 New Revision: 419376 URL: https://svnweb.freebsd.org/changeset/ports/419376 Log: editors/p5-Padre: Unbreak build by adding #include - unbreak build by adding include cmath to wx-scintilla/src/scintilla/src/Editor.cxx - make other patches makepatch-compliant - remove WX_UNICODE=yes (obsolete) - un-silence several commands during build PR: 210959 MFH: r419375 Reported by: pkg-fallout Approved by: ports-secteam (blanket approval) Added: branches/2016Q3/editors/p5-Padre/files/extra-patch-editor - copied unchanged from r419375, head/editors/p5-Padre/files/extra-patch-editor Modified: branches/2016Q3/editors/p5-Padre/Makefile branches/2016Q3/editors/p5-Padre/files/patch-Makefile.PL branches/2016Q3/editors/p5-Padre/files/patch-lib_Padre_Wx.pm Directory Properties: branches/2016Q3/ (props changed) Modified: branches/2016Q3/editors/p5-Padre/Makefile ============================================================================== --- branches/2016Q3/editors/p5-Padre/Makefile Sun Jul 31 13:42:53 2016 (r419375) +++ branches/2016Q3/editors/p5-Padre/Makefile Sun Jul 31 13:46:03 2016 (r419376) @@ -3,7 +3,7 @@ PORTNAME= Padre PORTVERSION= 1.00 -PORTREVISION= 4 +PORTREVISION= 5 CATEGORIES= editors perl5 MASTER_SITES= CPAN/${PORTNAME}/ CPAN/Wx/:wxsc PKGNAMEPREFIX= p5- @@ -66,12 +66,13 @@ BUILD_DEPENDS= p5-JSON-XS>=2.29:converte RUN_DEPENDS:= ${BUILD_DEPENDS} BUILD_DEPENDS+= p5-Module-Build>=0.36:devel/p5-Module-Build -USES= compiler:c++11-lib gettext perl5 +USES= compiler:c++11-lib dos2unix gettext perl5 USE_PERL5= configure USE_WX= 3.0 WX_COMPS= wx -WX_UNICODE= yes MAKE_JOBS_UNSAFE= yes +DOS2UNIX_WRKSRC=${WRKDIR}/${WXSC_DISTNAME} +DOS2UNIX_FILES= wx-scintilla/src/scintilla/src/Editor.cxx BROKEN_FreeBSD_9= Does not build. @@ -104,12 +105,16 @@ IGNORE= needs a threaded Perl, build wi .endif .endif +pre-patch: + (cd ${WRKDIR}/${WXSC_DISTNAME} && \ + ${PATCH} < ${FILESDIR}/extra-patch-editor ) + post-patch: - @${REINPLACE_CMD} -e \ + ${REINPLACE_CMD} -e \ '/my /s|wx-config|${WX_CONFIG:T}|g' \ -e '/ret/ s|urn .flags;|urn $$flags . " -std=c++11";|' \ ${WRKDIR}/${WXSC_DISTNAME}/inc/Module/Build/Scintilla.pm - @${REINPLACE_CMD} -e \ + ${REINPLACE_CMD} -e \ 's|_scintilla-|_scintilla| ; \ s|$$major.*$$release \.|| ; \ /$$major.*$$release;/s|^|#| ; \ @@ -121,15 +126,15 @@ post-patch: ${WRKDIR}/${WXSC_DISTNAME}/inc/Module/Build/Scintilla/GTK.pm pre-configure: - @(cd ${WRKDIR}/${WXSC_DISTNAME} && ${SETENV} ${CONFIGURE_ENV} \ + (cd ${WRKDIR}/${WXSC_DISTNAME} && ${SETENV} ${CONFIGURE_ENV} \ ${PERL} Build.PL ${CONFIGURE_ARGS} --destdir=${STAGEDIR}) pre-build: - @(cd ${WRKDIR}/${WXSC_DISTNAME} && ${SETENV} CC="$$(${WHICH} ${CC})" \ + (cd ${WRKDIR}/${WXSC_DISTNAME} && ${SETENV} CC="$$(${WHICH} ${CC})" \ ${PERL} Build) pre-install: - @(cd ${WRKDIR}/${WXSC_DISTNAME} && ${SETENV} CC="$$(${WHICH} ${CC})" \ + (cd ${WRKDIR}/${WXSC_DISTNAME} && ${SETENV} CC="$$(${WHICH} ${CC})" \ ${PERL} Build install) post-install: Copied: branches/2016Q3/editors/p5-Padre/files/extra-patch-editor (from r419375, head/editors/p5-Padre/files/extra-patch-editor) ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ branches/2016Q3/editors/p5-Padre/files/extra-patch-editor Sun Jul 31 13:46:03 2016 (r419376, copy of r419375, head/editors/p5-Padre/files/extra-patch-editor) @@ -0,0 +1,10 @@ +--- wx-scintilla/src/scintilla/src/Editor.cxx.orig 2016-07-10 12:18:20.419137000 +0200 ++++ wx-scintilla/src/scintilla/src/Editor.cxx 2016-07-10 12:18:29.917664000 +0200 +@@ -16,6 +16,7 @@ + #include + #include + #include ++#include + + #include "Platform.h" + Modified: branches/2016Q3/editors/p5-Padre/files/patch-Makefile.PL ============================================================================== --- branches/2016Q3/editors/p5-Padre/files/patch-Makefile.PL Sun Jul 31 13:42:53 2016 (r419375) +++ branches/2016Q3/editors/p5-Padre/files/patch-Makefile.PL Sun Jul 31 13:46:03 2016 (r419376) @@ -1,6 +1,6 @@ ---- Makefile.PL.orig +--- Makefile.PL.orig 2013-11-09 03:10:25 UTC +++ Makefile.PL -@@ -46,20 +46,6 @@ +@@ -46,20 +46,6 @@ configure_requires 'ExtUtils::Embed' => # exit 0; #} Modified: branches/2016Q3/editors/p5-Padre/files/patch-lib_Padre_Wx.pm ============================================================================== --- branches/2016Q3/editors/p5-Padre/files/patch-lib_Padre_Wx.pm Sun Jul 31 13:42:53 2016 (r419375) +++ branches/2016Q3/editors/p5-Padre/files/patch-lib_Padre_Wx.pm Sun Jul 31 13:46:03 2016 (r419376) @@ -1,6 +1,6 @@ ---- lib/Padre/Wx.pm.orig +--- lib/Padre/Wx.pm.orig 2013-11-09 03:43:41 UTC +++ lib/Padre/Wx.pm -@@ -67,6 +67,7 @@ +@@ -158,6 +158,7 @@ sub aui_pane_info { sub launch_browser { require Padre::Task::LaunchDefaultBrowser;