Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 26 Nov 2000 17:30:03 -0800 (PST)
From:      "Mario Sergio Fujikawa Ferreira" <lioux@uol.com.br>
To:        freebsd-ports@FreeBSD.org
Subject:   Re: ports/22950
Message-ID:  <200011270130.RAA05848@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR ports/22950; it has been noted by GNATS.

From: "Mario Sergio Fujikawa Ferreira" <lioux@uol.com.br>
To: Jason R Mastaler <jason@mastaler.com>
Cc: freebsd-gnats-submit@FreeBSD.org
Subject: Re: ports/22950
Date: Sun, 26 Nov 2000 23:23:56 -0200

 Since we haven't found a solution for the configure problem.
 I am considering the following patch, let me know what you
 think.
 
 diff -ruN mad/Makefile ../mad/Makefile
 --- mad/Makefile	Sun Nov 26 23:15:42 2000
 +++ ../mad/Makefile	Sun Nov 26 23:09:52 2000
 @@ -1,6 +1,6 @@
  # New ports collection makefile for:  mad
  # Date created:        18 November 2000
 -# Whom:                Jason R. Mastaler <jason-freebsd@mastaler.com>
 +# Whom:                Jason R. Mastaler <jason-freebsd@mastaler.com> et al.
  #
  # $FreeBSD$
  #
 @@ -15,6 +15,10 @@
  MAINTAINER=		jason-freebsd@mastaler.com
  
  GNU_CONFIGURE=		yes
 +# This is port is not CFLAGS SAFE, something like CFLAGS="-pipe -pipe"
 +# breaks configure and configure likes to use -O2 instead of
 +# trusting the system. We'll have it use -O instead of -O*
 +CONFIGURE_ENV=		CFLAGS="-O -pipe"
  USE_GMAKE=      	yes
  USE_LIBTOOL=		yes
  
 diff -ruN mad/files/patch-aa ../mad/files/patch-aa
 --- mad/files/patch-aa	Sun Nov 26 23:15:42 2000
 +++ ../mad/files/patch-aa	Sun Nov 26 23:14:50 2000
 @@ -1,6 +1,30 @@
 ---- configure.orig	Fri Nov 17 11:09:43 2000
 -+++ configure	Fri Nov 17 11:10:07 2000
 -@@ -5439,10 +5439,6 @@
 +This port is not CFLAGS safe. I will not try to make it on this
 +particular version. However, I will make it use -O instead of -O2
 +since I am told that -O2 brakes the alpha ARCH. Partially provided
 +by lioux@freebsd.org
 +
 +--- configure.orig	Fri Nov 17 04:20:18 2000
 ++++ configure	Sun Nov 26 22:56:39 2000
 +@@ -3800,7 +3800,8 @@
 + then
 +     case "$host" in
 + 	i386-*)      ARCH="" ;;
 +-	i?86-*)      ARCH="-m486" ;;
 ++	i486-*)      ARCH="-m486" ;;
 ++	i586-*)      ARCH="-mpentium" ;;
 + 	arm-empeg-*) ARCH="-march=armv4 -mtune=strongarm1100" ;;
 + 	armv4*-*)    ARCH="-march=armv4 -mtune=strongarm" ;;
 + 	mips*-*)     ARCH="" ;;
 +@@ -3813,7 +3814,7 @@
 + esac
 + 
 + case "$CFLAGS" in
 +-    *-O*) OPTIMIZER="-O2" ;;
 ++    *-O*) OPTIMIZER="-O" ;;
 + esac
 + 
 + CFLAGS=`echo ".$CFLAGS" |  \
 +@@ -5439,10 +5440,6 @@
         *) # Relative path.
           ac_sub_cache_file="$ac_dots$cache_file" ;;
         esac
 
 -- 
 Mario S F Ferreira - UnB - Brazil - "I guess this is a signature."
 lioux at ( freebsd dot org | linf dot unb dot br )
 flames to beloved devnull@someotherworldbeloworabove.org
 


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




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