ports/183267: [PATCH] textproc/p5-SGML-Parser-OpenSP: fix build on system without GCC.
Yasuhiro KIMURA
yasu at utahime.org
Thu Oct 24 09:30:04 UTC 2013
>Number: 183267
>Category: ports
>Synopsis: [PATCH] textproc/p5-SGML-Parser-OpenSP: fix build on system without GCC.
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Thu Oct 24 09:30:04 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator: Yasuhiro KIMURA
>Release: FreeBSD 10.0-BETA1 amd64
>Organization:
>Environment:
System: FreeBSD xxxx 10.0-BETA1 FreeBSD 10.0-BETA1 #0 r256770: Sun Oct 20 14:04:52 JST 2013 xxxx amd64
>Description:
Fix build on system without GCC.
>How-To-Repeat:
>Fix:
--- patch-p5-SGML-Parser-OpenSP begins here ---
Index: files/patch-Makefile.PL
===================================================================
--- files/patch-Makefile.PL (revision 331453)
+++ files/patch-Makefile.PL (working copy)
@@ -1,10 +1,14 @@
---- 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";
}
--- patch-p5-SGML-Parser-OpenSP ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list