From owner-freebsd-ports Fri Oct 9 18:50:30 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id SAA14053 for freebsd-ports-outgoing; Fri, 9 Oct 1998 18:50:30 -0700 (PDT) (envelope-from owner-freebsd-ports@FreeBSD.ORG) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id SAA13987 for ; Fri, 9 Oct 1998 18:50:04 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.8.8/8.8.5) id SAA10693; Fri, 9 Oct 1998 18:50:01 -0700 (PDT) Received: (from nobody@localhost) by hub.freebsd.org (8.8.8/8.8.8) id SAA13535; Fri, 9 Oct 1998 18:46:21 -0700 (PDT) (envelope-from nobody) Message-Id: <199810100146.SAA13535@hub.freebsd.org> Date: Fri, 9 Oct 1998 18:46:21 -0700 (PDT) From: pfgiffun@bachue.usc.unal.edu.co To: freebsd-gnats-submit@FreeBSD.ORG X-Send-Pr-Version: www-1.0 Subject: ports/8243: Update to the Metis port Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 8243 >Category: ports >Synopsis: Update to the Metis port >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Fri Oct 9 18:50:01 PDT 1998 >Last-Modified: >Originator: Pedro F. Giffuni >Organization: U. Nacional de Colombia >Release: 2.2.7-Release >Environment: FreeBSD giffuni.usc.unal.edu.co 2.2.7-RELEASE FreeBSD 2.2.7-RELEASE #0: Sat Aug 22 13:53:14 COT 1998 root@giffuni.usc.unal.edu.co:/usr/src/sys/compile/COMPAQ i386 >Description: A new version of Metis is now available. It should work fine, but I can't test it on a 3.x box :-(. >How-To-Repeat: >Fix: diff -rNu metis.old/Makefile metis/Makefile --- metis.old/Makefile Sat Apr 25 22:55:22 1998 +++ metis/Makefile Fri Oct 9 20:29:08 1998 @@ -1,16 +1,16 @@ # New ports collection makefile for: METIS -# Version required: 3.0 +# Version required: 4.0 # Date created: 26 Oct 97 # Whom: Pedro Giffuni # # $Id: Makefile,v 1.1.1.1 1998/04/26 03:55:22 mph Exp $ # -DISTNAME= metis-3.0 +DISTNAME= metis-4.0 CATEGORIES= math MASTER_SITES= http://www.cs.umn.edu/~karypis/metis/metis/files/ -MAINTAINER= giffunip@asme.org +MAINTAINER= ports@FreeBSD.org ALL_TARGET= diff -rNu metis.old/files/md5 metis/files/md5 --- metis.old/files/md5 Sat Apr 25 22:55:22 1998 +++ metis/files/md5 Wed Oct 7 20:09:32 1998 @@ -1 +1 @@ -MD5 (metis-3.0.tar.gz) = f547a7e503f497de29e1e54c1c13e91e +MD5 (metis-4.0.tar.gz) = d8e46ff88441800fb0782b61b99048ff diff -rNu metis.old/patches/patch-aa metis/patches/patch-aa --- metis.old/patches/patch-aa Sat Apr 25 22:55:22 1998 +++ metis/patches/patch-aa Fri Oct 9 20:18:19 1998 @@ -1,27 +1,46 @@ ---- Makefile.in.orig Sat Apr 25 23:41:58 1998 -+++ Makefile.in Sat Apr 25 23:43:23 1998 -@@ -1,9 +1,9 @@ - - # Which compiler to use --CC = cc -+# CC = cc - - # What optimization level to use --OPTFLAGS = -O2 -+# OPTFLAGS = -O2 - - # What options to be used by the compiler - COPTIONS = -@@ -12,10 +12,10 @@ - LDOPTIONS = - - # What archiving to use --AR = ar rv -+# AR = ar rv - - # What to use for indexing the archive --RANLIB = ranlib -+# RANLIB = ranlib - # RANLIB = ar -ts - # RANLIB = - +*** Makefile.in.orig Fri Oct 9 20:16:24 1998 +--- Makefile.in Fri Oct 9 20:17:42 1998 +*************** +*** 1,9 **** + + # Which compiler to use +! CC = cc + + # What optimization level to use +! OPTFLAGS = -O2 + + # What options to be used by the compiler + COPTIONS = +--- 1,9 ---- + + # Which compiler to use +! # CC = cc + + # What optimization level to use +! # OPTFLAGS = -O2 + + # What options to be used by the compiler + COPTIONS = +*************** +*** 12,21 **** + LDOPTIONS = + + # What archiving to use +! AR = ar rv + + # What to use for indexing the archive +! RANLIB = ranlib + # RANLIB = ar -ts + # RANLIB = + +--- 12,21 ---- + LDOPTIONS = + + # What archiving to use +! # AR = ar rv + + # What to use for indexing the archive +! # RANLIB = ranlib + # RANLIB = ar -ts + # RANLIB = + diff -rNu metis.old/patches/patch-ab metis/patches/patch-ab --- metis.old/patches/patch-ab Sat Apr 25 22:55:22 1998 +++ metis/patches/patch-ab Fri Oct 9 20:21:05 1998 @@ -1,20 +1,36 @@ ---- Lib/Makefile.orig Sat Apr 25 23:43:54 1998 -+++ Lib/Makefile Sat Apr 25 23:44:31 1998 -@@ -2,7 +2,7 @@ - - INCLUDES = -I./ - --CFLAGS = $(COPTIONS) $(OPTFLAGS) $(INCLUDES) -+CFLAGS += $(COPTIONS) $(OPTFLAGS) $(INCLUDES) - LD = $(CC) -L./ - - -@@ -17,7 +17,7 @@ - $(CC) $(CFLAGS) -c $*.c - - ../libmetis.a: $(OBJS) -- $(AR) $@ $(OBJS) -+ $(AR) $(ARFLAGS) $@ $(OBJS) - $(RANLIB) $@ - - checkin: +*** Lib/Makefile.orig Fri Oct 9 20:19:01 1998 +--- Lib/Makefile Fri Oct 9 20:20:32 1998 +*************** +*** 2,8 **** + + INCLUDES = -I. + +! CFLAGS = $(COPTIONS) $(OPTFLAGS) $(INCLUDES) + LD = $(CC) -L. + + +--- 2,8 ---- + + INCLUDES = -I. + +! CFLAGS += $(COPTIONS) $(OPTFLAGS) $(INCLUDES) + LD = $(CC) -L. + + +*************** +*** 21,27 **** + $(CC) $(CFLAGS) -c $*.c + + ../libmetis.a: $(OBJS) +! $(AR) $@ $(OBJS) + $(RANLIB) $@ + + clean: +--- 21,27 ---- + $(CC) $(CFLAGS) -c $*.c + + ../libmetis.a: $(OBJS) +! $(AR) $(ARFLAGS) $@ $(OBJS) + $(RANLIB) $@ + + clean: diff -rNu metis.old/patches/patch-ac metis/patches/patch-ac --- metis.old/patches/patch-ac Sat Apr 25 22:55:22 1998 +++ metis/patches/patch-ac Fri Oct 9 20:22:41 1998 @@ -1,11 +1,19 @@ ---- Programs/Makefile.orig Sat Apr 25 23:44:50 1998 -+++ Programs/Makefile Sat Apr 25 23:46:35 1998 -@@ -3,7 +3,7 @@ - BINDIR = .. - - INCLUDES = -I../Lib --CFLAGS = $(COPTIONS) $(OPTFLAGS) $(INCLUDES) -+CFLAGS += $(COPTIONS) $(OPTFLAGS) $(INCLUDES) - - LIBS = -lmetis -lm - LD = $(CC) $(LDOPTIONS) -L./ -L../ +*** Programs/Makefile.orig Fri Oct 9 20:21:48 1998 +--- Programs/Makefile Fri Oct 9 20:22:16 1998 +*************** +*** 3,9 **** + BINDIR = .. + + INCLUDES = -I../Lib +! CFLAGS = $(COPTIONS) $(OPTFLAGS) $(INCLUDES) + + LIBS = -lmetis -lm + LD = $(CC) $(LDOPTIONS) -L. -L.. +--- 3,9 ---- + BINDIR = .. + + INCLUDES = -I../Lib +! CFLAGS += $(COPTIONS) $(OPTFLAGS) $(INCLUDES) + + LIBS = -lmetis -lm + LD = $(CC) $(LDOPTIONS) -L. -L.. diff -rNu metis.old/patches/patch-ad metis/patches/patch-ad --- metis.old/patches/patch-ad Sat Apr 25 22:55:22 1998 +++ metis/patches/patch-ad Fri Oct 9 20:24:11 1998 @@ -1,11 +1,19 @@ ---- Test/Makefile.orig Sat Apr 25 23:46:45 1998 -+++ Test/Makefile Sat Apr 25 23:46:53 1998 -@@ -3,7 +3,7 @@ - BINDIR = ./ - - INCLUDES = -I../Lib --CFLAGS = $(COPTIONS) $(OPTFLAGS) $(INCLUDES) -+CFLAGS += $(COPTIONS) $(OPTFLAGS) $(INCLUDES) - - LIBS = -lmetis -lm - LD = $(CC) $(LDOPTIONS) -L../ +*** Test/Makefile.orig Fri Oct 9 20:23:24 1998 +--- Test/Makefile Fri Oct 9 20:23:40 1998 +*************** +*** 3,9 **** + BINDIR = ../Graphs + + INCLUDES = -I../Lib +! CFLAGS = $(COPTIONS) $(OPTFLAGS) $(INCLUDES) + + LIBS = -lmetis -lm + LD = $(CC) $(LDOPTIONS) -L. -L.. +--- 3,9 ---- + BINDIR = ../Graphs + + INCLUDES = -I../Lib +! CFLAGS += $(COPTIONS) $(OPTFLAGS) $(INCLUDES) + + LIBS = -lmetis -lm + LD = $(CC) $(LDOPTIONS) -L. -L.. >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message