svn commit: r315593 - in head/databases/p5-DBD-cego: . files
Martin Wilke
miwi at FreeBSD.org
Sat Mar 30 04:40:55 UTC 2013
Author: miwi
Date: Sat Mar 30 04:40:54 2013
New Revision: 315593
URL: http://svnweb.freebsd.org/changeset/ports/315593
Log:
- Unbreak build
PR: 177473
Submitted by: maintainer
Reported by: pointyhat
Modified:
head/databases/p5-DBD-cego/Makefile (contents, props changed)
head/databases/p5-DBD-cego/files/patch-makefile-pl (contents, props changed)
Modified: head/databases/p5-DBD-cego/Makefile
==============================================================================
--- head/databases/p5-DBD-cego/Makefile Sat Mar 30 04:37:26 2013 (r315592)
+++ head/databases/p5-DBD-cego/Makefile Sat Mar 30 04:40:54 2013 (r315593)
@@ -1,7 +1,4 @@
-# New ports collection makefile for: p5-DBD-cego
-# Date created: Jul 2, 2010
-# Whom: Kurt Jaeger <fbsd-ports at opsec.eu>
-#
+# Created by: Kurt Jaeger <fbsd-ports at opsec.eu>
# $FreeBSD$
PORTNAME= DBD-cego
@@ -24,4 +21,7 @@ CC:= ${CXX}
MAN3= DBD::Cego.3
+post-configure:
+ @${REINPLACE_CMD} -e 's|fno-strict-aliasing|fno-strict-aliasing -fpermissive|g' ${WRKSRC}/Makefile
+
.include <bsd.port.mk>
Modified: head/databases/p5-DBD-cego/files/patch-makefile-pl
==============================================================================
--- head/databases/p5-DBD-cego/files/patch-makefile-pl Sat Mar 30 04:37:26 2013 (r315592)
+++ head/databases/p5-DBD-cego/files/patch-makefile-pl Sat Mar 30 04:40:54 2013 (r315593)
@@ -1,6 +1,6 @@
---- Makefile.PL 2010-09-17 10:14:49.000000000 +0200
-+++ /tmp/bla/Makefile.PL 2011-04-24 22:00:03.000000000 +0200
-@@ -25,30 +25,21 @@
+--- Makefile.PL.orig 2010-09-17 10:14:49.000000000 +0200
++++ Makefile.PL 2013-03-29 14:42:20.000000000 +0100
+@@ -25,30 +25,22 @@
Getopt::Long::GetOptions(
$opt,
"help",
@@ -28,15 +28,17 @@
- 'MYEXTLIB' => $opt->{'prefix'} . "/lib/libcego.a "
- . $opt->{'prefix'} . "/lib/liblfcxml.a "
- . $opt->{'prefix'} . "/lib/liblfc.a",
+- "CC" => "g++",
+- "LD" => "g++",
+ 'INC' => '-I$(DBI_INSTARCH_DIR) -I/usr/local/include',
+ 'MYEXTLIB' => '-lcego -llfcxml -llfc',
- "CC" => "g++",
-- "LD" => "g++",
++ 'CC' => 'g++',
++ 'CCFLAGS' => '-O2 -pipe -fno-strict-aliasing -fpermissive',
+ "LD" => "g++ -L/usr/local/lib",
"XSPROTOARG" => "-noprototypes",
'OPTIMIZE' => '-O6 -DNDEBUG=1',
'XSOPT' => '-C++',
-@@ -59,12 +50,6 @@
+@@ -59,12 +51,6 @@
sub Usage {
print STDERR <<"USAGE";
Usage: perl $0 [options]
More information about the svn-ports-all
mailing list