Skip site navigation (1)Skip section navigation (2)
Date:      14 Sep 2002 17:25:07 -0700
From:      John Merryweather Cooper <john_m_cooper@yahoo.com>
To:        Joe Marcus Clarke <marcus@marcuscom.com>
Cc:        Mike Harding <mvh@ix.netcom.com>, FreeBSD GNOME Users <gnome@freebsd.org>, stable@freebsd.org
Subject:   Re: sodipodi/hdf
Message-ID:  <1032049508.20333.437.camel@PC016247.reshall.uidaho.edu>
In-Reply-To: <1031988504.62776.25.camel@shumai.marcuscom.com>
References:  <20020913204834.B06621317C@netcom1.netcom.com>  <1031988504.62776.25.camel@shumai.marcuscom.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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 <bsd.man.mk>
> +.include <bsd.prog.mk>
>  
>  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-gnome" in the body of the message




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