From owner-freebsd-ports Wed Mar 27 16:50:21 2002 Delivered-To: freebsd-ports@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id B0DCC37B419 for ; Wed, 27 Mar 2002 16:50:01 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g2S0o1V82635; Wed, 27 Mar 2002 16:50:01 -0800 (PST) (envelope-from gnats) Received: from yellow.biolateral.com.au (yellow.biolateral.com.au [129.78.217.60]) by hub.freebsd.org (Postfix) with ESMTP id 4C6B237B400 for ; Wed, 27 Mar 2002 16:41:26 -0800 (PST) Received: (from tonym@localhost) by yellow.biolateral.com.au (8.11.6/8.11.6) id g2S0fM020472; Thu, 28 Mar 2002 11:41:22 +1100 (EST) (envelope-from tonym) Message-Id: <200203280041.g2S0fM020472@yellow.biolateral.com.au> Date: Thu, 28 Mar 2002 11:41:22 +1100 (EST) From: Tony Maher Reply-To: Tony Maher To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: ports/36395: Maintainer update: biology/treeviewx Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >Number: 36395 >Category: ports >Synopsis: Maintainer update: biology/treeviewx >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: maintainer-update >Submitter-Id: current-users >Arrival-Date: Wed Mar 27 16:50:01 PST 2002 >Closed-Date: >Last-Modified: >Originator: Tony Maher >Release: FreeBSD 4.5-STABLE i386 >Organization: BioLateral >Environment: System: FreeBSD dt.home 4.5-STABLE FreeBSD 4.5-STABLE #0: Tue Mar 26 10:13:28 EST 2002 root@dt.home:/usr/src/sys/compile/DT i386 >Description: Checking Kris' message about broken ports I found one belonging to me http://beta.freebsd.org/errorlogs/5-latest/treeviewx-0.2.log I do not have a current or an alpha to test on but the log indicated problems with this port using -O4 (which it should not use on i386 either). So following is patch to make this port respect CFLAGS etc. Tested on i386 runnign stable only. It may not fix alpha/current problem but should be done anyway. >How-To-Repeat: >Fix: diff -ruN treeviewx.orig/files/patch-ncl-src-Makefile treeviewx/files/patch-ncl-src-Makefile --- treeviewx.orig/files/patch-ncl-src-Makefile Thu Jan 1 10:00:00 1970 +++ treeviewx/files/patch-ncl-src-Makefile Thu Mar 28 11:19:05 2002 @@ -0,0 +1,19 @@ +--- ncl-2.0/src/Makefile.orig Thu Mar 28 11:17:10 2002 ++++ ncl-2.0/src/Makefile Thu Mar 28 11:17:44 2002 +@@ -2,11 +2,11 @@ + SRC_DIR = ./ + + # compiler switches +-CC = gcc +-CXX = g++ +-CXXFLAGS = -O4 +-LOADLIBES = -lm +-CLINKER = g++ ++CC ?= gcc ++CXX ?= g++ ++CXXFLAGS ?= -O4 ++LOADLIBES ?= -lm ++CLINKER ?= g++ + + # target macros + EXECS = ncltest basiccmdline makedoc >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message