Skip site navigation (1)Skip section navigation (2)
Date:      14 Sep 2002 03:28:20 -0400
From:      Joe Marcus Clarke <marcus@marcuscom.com>
To:        Mike Harding <mvh@ix.netcom.com>
Cc:        FreeBSD GNOME Users <gnome@freebsd.org>, stable@freebsd.org
Subject:   Re: sodipodi/hdf
Message-ID:  <1031988504.62776.25.camel@shumai.marcuscom.com>
In-Reply-To: <20020913204834.B06621317C@netcom1.netcom.com>
References:  <20020913204834.B06621317C@netcom1.netcom.com>

next in thread | previous in thread | raw e-mail | index | archive | help

--=-VddKhlviJAdb7vhctXZs
Content-Type: multipart/mixed; boundary="=-Wo6JgfyGUZBnjSpZkut9"


--=-Wo6JgfyGUZBnjSpZkut9
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable

On Fri, 2002-09-13 at 16:48, Mike Harding wrote:
>=20
> 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

>=20
> Thanks,
>=20
> Mike H.
>=20
> here's the tail end of my attempted compile:
>=20
> =3D=3D=3D> mfhdf/libsrc
> Warning: Object directory not changed from original /usr/ports/graphics/h=
df/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/HD=
F4.1r5/mfhdf/libsrc/../../hdf/src -I/usr/ports/graphics/hdf/work/HDF4.1r5/m=
fhdf/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
>=20
> Stop in /usr/ports/graphics/hdf.
> netcom1#=20
>=20
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-gnome" in the body of the message
>=20
--=20
PGP Key : http://www.marcuscom.com/pgp.asc

--=-Wo6JgfyGUZBnjSpZkut9
Content-Disposition: attachment; filename=hdf.diff
Content-Type: text/x-patch; name=hdf.diff; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

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	=3D	hdf.1 hdfunpac.1
 MAN3	=3D	gr_chunk.3
=20
-.include <bsd.man.mk>
+.include <bsd.prog.mk>
=20
 install: all-man maninstall
=20
diff -ruN hdf.orig/files/mfhdf/libsrc/Makefile hdf/files/mfhdf/libsrc/Makef=
ile
--- 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
=20
 LDADD	+=3D	-L${.CURDIR}/../../hdf/src -ldf
-LDFLAGS	+=3D	-L. -l${LIB} ${LDADD}
+LDFLAGS	+=3D	-L. ${LDADD}
=20
 afterinstall:
 	install -c -o root -g wheel -m 444 hdf2netcdf.h local_nc.h \

--=-Wo6JgfyGUZBnjSpZkut9--

--=-VddKhlviJAdb7vhctXZs
Content-Type: application/pgp-signature; name=signature.asc
Content-Description: This is a digitally signed message part

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (FreeBSD)

iD8DBQA9guUTb2iPiv4Uz4cRApDTAKCkyo6mtyzQMpkLL0nw9T3TkM0CUgCfQdG7
apclcHmgmFb/yEIhuIPTacE=
=AlPq
-----END PGP SIGNATURE-----

--=-VddKhlviJAdb7vhctXZs--


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?1031988504.62776.25.camel>