Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 18 Jun 2006 10:05:25 +0200
From:      Thierry Thomas <thierry@FreeBSD.org>
To:        Josh Tolbert <hemi@puresimplicity.net>
Cc:        freebsd-ports-bugs@FreeBSD.org
Subject:   Re: ports/99072: [maintainer update] Update biology/xdrawchem to 1.9.9
Message-ID:  <20060618080525.GN81305@graf.pompo.net>
In-Reply-To: <20060618013216.GA12560@just.puresimplicity.net>
References:  <200606172209.k5HM9Zm4017879@freefall.freebsd.org> <20060618013216.GA12560@just.puresimplicity.net>

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

--oyUTqETQ0mS9luUI
Content-Type: text/plain; charset=iso-8859-1
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

Le Dim 18 jui 06 =E0  3:32:16 +0200, Josh Tolbert <hemi@puresimplicity.net>
 =E9crivait=A0:
> > http://www.freebsd.org/cgi/query-pr.cgi?pr=3D99072
>=20
> It seemed like the build and host system types were being determined corr=
ectly
> without specifying the CONFIGURE_TARGET, plus the Porter's Handbook indic=
ates
> that in the interest of simplicity it's generally wise to keep things sim=
ple.
> I figured since the configure stage was apparently smart enough to get it
> right there wasn't any reason to specify the CONFIGURE_TARGET manually. If
> this is the incorrect way to do things I'll be happy to submit a patch th=
at
> utilizes CONFIGURE_TARGET again.
>=20
> checking build system type... i386-portbld-freebsd6.1
> checking host system type... i386-portbld-freebsd6.1
>=20
> For what it's worth, I see that same warning from configure in a lot of o=
ther
> ports, so I guessed that the warning was acceptable.

As I wrote, this is a minor issue. I did not understand why you removed
the line fixing this warning.

> libm...Sounds like it might be useful. :) What would be the best way to f=
ix
> this?

It seems that -lm must be forced. It could be done either by patching
configure, or just by adding it to LDFLAGS:

--- Makefile.orig       Sun Jun 18 00:07:35 2006
+++ Makefile    Sun Jun 18 09:57:58 2006
@@ -22,7 +22,7 @@
 USE_X_PREFIX=3D  yes

 CONFIGURE_ENV=3D QTINCDIR=3D"${X11BASE}/include" \
-       QTLIBDIR=3D"${X11BASE}/lib"
+       QTLIBDIR=3D"${X11BASE}/lib" LDFLAGS=3D"${LDFLAGS} -lm"

 MAKE_ARGS+=3D    LDFLAGS+=3D"-lqt-mt ${PTHREAD_LIBS}"

Regards,
--=20
Th. Thomas.

--oyUTqETQ0mS9luUI
Content-Type: application/pgp-signature
Content-Disposition: inline

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

iD8DBQFElQlFc95pjMcUBaIRAgABAJ9RmC9Bj3Q6piRMVRbiFZqpcM2e7QCgxbOm
xlMtmGXMSv5gs8JXnwmDRgo=
=6ni9
-----END PGP SIGNATURE-----

--oyUTqETQ0mS9luUI--



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