Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 30 Mar 2013 04:40:54 +0000 (UTC)
From:      Martin Wilke <miwi@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r315593 - in head/databases/p5-DBD-cego: . files
Message-ID:  <201303300440.r2U4es8A079139@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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@opsec.eu>
-#
+# Created by: Kurt Jaeger <fbsd-ports@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]



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201303300440.r2U4es8A079139>