Summary: | [PATCH] textproc/p5-SGML-Parser-OpenSP: fix build on system without GCC. | ||||||
---|---|---|---|---|---|---|---|
Product: | Ports & Packages | Reporter: | Yasuhiro Kimura <yasu> | ||||
Component: | Individual Port(s) | Assignee: | freebsd-ports-bugs (Nobody) <ports-bugs> | ||||
Status: | Closed FIXED | ||||||
Severity: | Affects Only Me | ||||||
Priority: | Normal | ||||||
Version: | Latest | ||||||
Hardware: | Any | ||||||
OS: | Any | ||||||
Attachments: |
|
Description
Yasuhiro Kimura
2013-10-24 10:30:04 UTC
Synopsis: Re: ports/183267: [PATCH] textproc/p5-SGML-Parser-OpenSP: fix build on system without GCC. State-Changed-From-To: open->closed State-Changed-By: linimon State-Changed-When: Tue Oct 29 20:06:57 UTC 2013 State-Changed-Why: Misfiled followup to ports/183267; content migrated. Responsible-Changed-From-To: gnats-admin->freebsd-ports-bugs Responsible-Changed-By: linimon Responsible-Changed-When: Tue Oct 29 20:06:57 UTC 2013 Responsible-Changed-Why: http://www.freebsd.org/cgi/query-pr.cgi?pr=183268 State Changed From-To: open->feedback Date: Thu, 24 Oct 2013 09:31:30 UT Hello, Would you please approve this PR? Best Regards. --- Yasuhiro KIMURA Somehow I missed seeing this PR, sorry about that. The patch is fine to me. Thanks, Naram Qashat Author: rakuco Date: Fri Jan 17 20:10:59 2014 New Revision: 340100 URL: http://svnweb.freebsd.org/changeset/ports/340100 QAT: https://qat.redports.org/buildarchive/r340100/ Log: - Fix the build when GCC is not present. [1] - Set LICENSE. - USE_DOS2UNIX -> USES=dos2unix PR: ports/183267 [1] Submitted by: Yasuhiro KIMURA <yasu@utahime.org> Approved by: Naram Qashat <cyberbotx@cyberbotx.com> (maintainer) MFH: 2014Q1 Modified: head/textproc/p5-SGML-Parser-OpenSP/Makefile head/textproc/p5-SGML-Parser-OpenSP/files/patch-Makefile.PL Modified: head/textproc/p5-SGML-Parser-OpenSP/Makefile ============================================================================== --- head/textproc/p5-SGML-Parser-OpenSP/Makefile Fri Jan 17 19:58:58 2014 (r340099) +++ head/textproc/p5-SGML-Parser-OpenSP/Makefile Fri Jan 17 20:10:59 2014 (r340100) @@ -11,13 +11,17 @@ PKGNAMEPREFIX= p5- MAINTAINER= cyberbotx@cyberbotx.com COMMENT= Parse SGML documents using OpenSP +# The port's README says the port "is licensed under the same terms as Perl +# itself". +LICENSE= ART10 GPLv1 +LICENSE_COMB= dual + BUILD_DEPENDS= onsgmls:${PORTSDIR}/textproc/opensp \ p5-Class-Accessor>=0:${PORTSDIR}/devel/p5-Class-Accessor \ p5-Test-Exception>=0:${PORTSDIR}/devel/p5-Test-Exception RUN_DEPENDS:= ${BUILD_DEPENDS} -USE_DOS2UNIX= yes -USES= perl5 +USES= dos2unix perl5 USE_PERL5= configure CC= ${CXX} CONFIGURE_ARGS+="INC=-I${LOCALBASE}/include" Modified: head/textproc/p5-SGML-Parser-OpenSP/files/patch-Makefile.PL ============================================================================== --- head/textproc/p5-SGML-Parser-OpenSP/files/patch-Makefile.PL Fri Jan 17 19:58:58 2014 (r340099) +++ head/textproc/p5-SGML-Parser-OpenSP/files/patch-Makefile.PL Fri Jan 17 20:10:59 2014 (r340100) @@ -1,14 +1,17 @@ ---- Makefile.PL.orig 2010-02-07 23:33:39.000000000 +0900 -+++ Makefile.PL 2010-02-07 23:34:03.000000000 +0900 -@@ -15,7 +15,7 @@ +--- Makefile.PL.orig 2013-10-24 16:00:49.000000000 +0900 ++++ Makefile.PL 2013-10-24 16:08:32.000000000 +0900 +@@ -13,9 +13,9 @@ + else + { # assume some compatible Linux - $options{LD} = "g++"; - $options{CC} = "g++"; +- $options{LD} = "g++"; +- $options{CC} = "g++"; - $options{LIBS} = "-lstdc++ -losp"; ++ $options{LD} = "c++"; ++ $options{CC} = "c++"; + $options{LIBS} = "-L%%LOCALBASE%%/lib -lstdc++ -losp"; } - - WriteMakefile( + WriteMakefile( @@ -26,6 +26,10 @@ Test::Exception => 0, File::Temp => 0, _______________________________________________ svn-ports-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-ports-all To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org" State Changed From-To: feedback->closed Committed. Thanks! Author: rakuco Date: Fri Jan 17 21:55:18 2014 New Revision: 340123 URL: http://svnweb.freebsd.org/changeset/ports/340123 QAT: https://qat.redports.org/buildarchive/r340123/ Log: MFH: r340100 - Fix the build when GCC is not present. [1] - Set LICENSE. - USE_DOS2UNIX -> USES=dos2unix PR: ports/183267 [1] Submitted by: Yasuhiro KIMURA <yasu@utahime.org> Approved by: Naram Qashat <cyberbotx@cyberbotx.com> (maintainer) Approved by: portmgr (erwin, antoine) Modified: branches/2014Q1/textproc/p5-SGML-Parser-OpenSP/Makefile branches/2014Q1/textproc/p5-SGML-Parser-OpenSP/files/patch-Makefile.PL Directory Properties: branches/2014Q1/ (props changed) Modified: branches/2014Q1/textproc/p5-SGML-Parser-OpenSP/Makefile ============================================================================== --- branches/2014Q1/textproc/p5-SGML-Parser-OpenSP/Makefile Fri Jan 17 21:53:13 2014 (r340122) +++ branches/2014Q1/textproc/p5-SGML-Parser-OpenSP/Makefile Fri Jan 17 21:55:18 2014 (r340123) @@ -11,13 +11,17 @@ PKGNAMEPREFIX= p5- MAINTAINER= cyberbotx@cyberbotx.com COMMENT= Parse SGML documents using OpenSP +# The port's README says the port "is licensed under the same terms as Perl +# itself". +LICENSE= ART10 GPLv1 +LICENSE_COMB= dual + BUILD_DEPENDS= onsgmls:${PORTSDIR}/textproc/opensp \ p5-Class-Accessor>=0:${PORTSDIR}/devel/p5-Class-Accessor \ p5-Test-Exception>=0:${PORTSDIR}/devel/p5-Test-Exception RUN_DEPENDS:= ${BUILD_DEPENDS} -USE_DOS2UNIX= yes -USES= perl5 +USES= dos2unix perl5 USE_PERL5= configure CC= ${CXX} CONFIGURE_ARGS+="INC=-I${LOCALBASE}/include" Modified: branches/2014Q1/textproc/p5-SGML-Parser-OpenSP/files/patch-Makefile.PL ============================================================================== --- branches/2014Q1/textproc/p5-SGML-Parser-OpenSP/files/patch-Makefile.PL Fri Jan 17 21:53:13 2014 (r340122) +++ branches/2014Q1/textproc/p5-SGML-Parser-OpenSP/files/patch-Makefile.PL Fri Jan 17 21:55:18 2014 (r340123) @@ -1,14 +1,17 @@ ---- Makefile.PL.orig 2010-02-07 23:33:39.000000000 +0900 -+++ Makefile.PL 2010-02-07 23:34:03.000000000 +0900 -@@ -15,7 +15,7 @@ +--- Makefile.PL.orig 2013-10-24 16:00:49.000000000 +0900 ++++ Makefile.PL 2013-10-24 16:08:32.000000000 +0900 +@@ -13,9 +13,9 @@ + else + { # assume some compatible Linux - $options{LD} = "g++"; - $options{CC} = "g++"; +- $options{LD} = "g++"; +- $options{CC} = "g++"; - $options{LIBS} = "-lstdc++ -losp"; ++ $options{LD} = "c++"; ++ $options{CC} = "c++"; + $options{LIBS} = "-L%%LOCALBASE%%/lib -lstdc++ -losp"; } - - WriteMakefile( + WriteMakefile( @@ -26,6 +26,10 @@ Test::Exception => 0, File::Temp => 0, _______________________________________________ svn-ports-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-ports-all To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org" |