svn commit: r340100 - in head/textproc/p5-SGML-Parser-OpenSP: . files
Raphael Kubo da Costa
rakuco at FreeBSD.org
Fri Jan 17 20:11:00 UTC 2014
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 at utahime.org>
Approved by: Naram Qashat <cyberbotx at 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 at 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,
More information about the svn-ports-head
mailing list