diff options
author | rakuco <rakuco@FreeBSD.org> | 2014-01-17 20:10:59 +0000 |
---|---|---|
committer | rakuco <rakuco@FreeBSD.org> | 2014-01-17 20:10:59 +0000 |
commit | f4f73784503345ccdaab85e44895561871af95b6 (patch) | |
tree | 873e8d189ef10104fd53716a2d00c5d2942f73fc | |
parent | 144d9c5643007104b5c2aff1e989c14058bd1adb (diff) | |
download | FreeBSD-ports-f4f73784503345ccdaab85e44895561871af95b6.zip FreeBSD-ports-f4f73784503345ccdaab85e44895561871af95b6.tar.gz |
- 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
-rw-r--r-- | textproc/p5-SGML-Parser-OpenSP/Makefile | 8 | ||||
-rw-r--r-- | textproc/p5-SGML-Parser-OpenSP/files/patch-Makefile.PL | 17 |
2 files changed, 16 insertions, 9 deletions
diff --git a/textproc/p5-SGML-Parser-OpenSP/Makefile b/textproc/p5-SGML-Parser-OpenSP/Makefile index d70f040..020fa0f 100644 --- a/textproc/p5-SGML-Parser-OpenSP/Makefile +++ b/textproc/p5-SGML-Parser-OpenSP/Makefile @@ -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" diff --git a/textproc/p5-SGML-Parser-OpenSP/files/patch-Makefile.PL b/textproc/p5-SGML-Parser-OpenSP/files/patch-Makefile.PL index 202133a..ad9f61b 100644 --- a/textproc/p5-SGML-Parser-OpenSP/files/patch-Makefile.PL +++ b/textproc/p5-SGML-Parser-OpenSP/files/patch-Makefile.PL @@ -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, |