From owner-freebsd-stable Sat Sep 14 2:16:54 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 EFE9D37B419; Sat, 14 Sep 2002 02:15:44 -0700 (PDT) Received: from creme-brulee.marcuscom.com (rdu57-17-158.nc.rr.com [66.57.17.158]) by mx1.FreeBSD.org (Postfix) with ESMTP id CDDD643FF3; Sat, 14 Sep 2002 00:28:10 -0700 (PDT) (envelope-from marcus@marcuscom.com) Received: from shumai.marcuscom.com (shumai.marcuscom.com [192.168.1.4]) by creme-brulee.marcuscom.com (8.12.5/8.12.5) with ESMTP id g8E7PMiv024415; Sat, 14 Sep 2002 03:25:26 -0400 (EDT) (envelope-from marcus@marcuscom.com) Subject: Re: sodipodi/hdf From: Joe Marcus Clarke To: Mike Harding Cc: FreeBSD GNOME Users , stable@freebsd.org In-Reply-To: <20020913204834.B06621317C@netcom1.netcom.com> References: <20020913204834.B06621317C@netcom1.netcom.com> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-VddKhlviJAdb7vhctXZs" X-Mailer: Ximian Evolution 1.0.8 Date: 14 Sep 2002 03:28:20 -0400 Message-Id: <1031988504.62776.25.camel@shumai.marcuscom.com> Mime-Version: 1.0 X-Spam-Status: No, hits=-6.5 required=5.0 tests=IN_REP_TO,PGP_SIGNATURE_2,DOUBLE_CAPSWORD,PGP_SIGNATURE,AWL version=2.31 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 --=-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 +.include =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-stable" in the body of the message