From owner-freebsd-stable Sat Sep 14 17:25:23 2002 Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6E3EF37B401 for ; Sat, 14 Sep 2002 17:25:20 -0700 (PDT) Received: from smtp011.mail.yahoo.com (smtp011.mail.yahoo.com [216.136.173.31]) by mx1.FreeBSD.org (Postfix) with SMTP id E791C43F9F for ; Sat, 14 Sep 2002 17:24:03 -0700 (PDT) (envelope-from john_m_cooper@yahoo.com) Received: from pc016247.reshall.uidaho.edu (john?m?cooper@129.101.136.30 with plain) by smtp.mail.vip.sc5.yahoo.com with SMTP; 15 Sep 2002 00:23:53 -0000 Subject: Re: sodipodi/hdf From: John Merryweather Cooper Reply-To: john_m_cooper@yahoo.com To: Joe Marcus Clarke Cc: Mike Harding , FreeBSD GNOME Users , stable@freebsd.org In-Reply-To: <1031988504.62776.25.camel@shumai.marcuscom.com> References: <20020913204834.B06621317C@netcom1.netcom.com> <1031988504.62776.25.camel@shumai.marcuscom.com> Content-Type: text/plain Content-Transfer-Encoding: 7bit X-Mailer: Ximian Evolution 1.0.8 Date: 14 Sep 2002 17:25:07 -0700 Message-Id: <1032049508.20333.437.camel@PC016247.reshall.uidaho.edu> Mime-Version: 1.0 Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Your patches fix hdf for me. :) jmc On Sat, 2002-09-14 at 00:28, Joe Marcus Clarke wrote: > On Fri, 2002-09-13 at 16:48, Mike Harding wrote: > > > > I can't seem to build /usr/ports/graphics/hdf now, this was called out > > by a sodipodi update. I'm using -STABLE as of the last day or so. It > > compiles fine on a 4.6.2-RELEASE system. Can somebody else with a > > recent stable confirm/deny that the build works? > > Looks like the problem was some out-of-date BSD makefiles. The attached > patch should fix things for you. Since the maintainer is a committer, I > have emailed him for permission to commit. > > Joe > > > > > Thanks, > > > > Mike H. > > > > here's the tail end of my attempted compile: > > > > ===> mfhdf/libsrc > > Warning: Object directory not changed from original /usr/ports/graphics/hdf/work/HDF4.1r5/mfhdf/libsrc > > cc -O -pipe -DNDEBUG -DHDF -I/usr/ports/graphics/hdf/work/HDF4.1r5/mfhdf/libsrc/../../hdf/src -I/usr/ports/graphics/hdf/work/HDF4.1r5/mfhdf/libsrc -DSWAP -c array.c -o array.o > > cc -fpic -DPIC -O -pipe -DNDEBUG -DHDF -I/usr/ports/graphics/hdf/work/HDF4.1r5/mfhdf/libsrc/../../hdf/src -I/usr/ports/graphics/hdf/work/HDF4.1r5/mfhdf/libsrc -DSWAP -c array.c -o array.So > > /usr/libexec/elf/ld: cannot find -lmfhdf > > *** Error code 1 > > cc -O -pipe -DNDEBUG -DHDF -I/usr/ports/graphics/hdf/work/HDF4.1r5/mfhdf/libsrc/../../hdf/src -I/usr/ports/graphics/hdf/work/HDF4.1r5/mfhdf/libsrc -DSWAP -c attr.c -o attr.o > > 1 error > > *** Error code 2 > > 1 error > > *** Error code 2 > > 1 error > > *** Error code 2 > > > > Stop in /usr/ports/graphics/hdf. > > netcom1# > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > > with "unsubscribe freebsd-gnome" in the body of the message > > > -- > PGP Key : http://www.marcuscom.com/pgp.asc > ---- > > diff -ruN hdf.orig/files/man/Makefile hdf/files/man/Makefile > --- hdf.orig/files/man/Makefile Sat Sep 14 03:21:15 2002 > +++ hdf/files/man/Makefile Sat Sep 14 03:16:11 2002 > @@ -5,7 +5,7 @@ > MAN1 = hdf.1 hdfunpac.1 > MAN3 = gr_chunk.3 > > -.include > +.include > > install: all-man maninstall > > diff -ruN hdf.orig/files/mfhdf/libsrc/Makefile hdf/files/mfhdf/libsrc/Makefile > --- hdf.orig/files/mfhdf/libsrc/Makefile Sat Sep 14 03:21:15 2002 > +++ hdf/files/mfhdf/libsrc/Makefile Sat Sep 14 03:16:32 2002 > @@ -22,7 +22,7 @@ > .endif > > LDADD += -L${.CURDIR}/../../hdf/src -ldf > -LDFLAGS += -L. -l${LIB} ${LDADD} > +LDFLAGS += -L. ${LDADD} > > afterinstall: > install -c -o root -g wheel -m 444 hdf2netcdf.h local_nc.h \ -- _ | |V| / ' || MacroHard -- \ \_| | | \_, || the perfection of form over | ----------------------------------|| substance, marketing over | Web: http://www.borgsdemons.com || performance, and greed over | AIM: johnmcooper || design . . . | Yahoo: john_m_cooper || | =====================================================================/ Public Key: http://www.borgsdemons.com/Personal/pgpkey.asc | =====================================================================\ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message