ports/99072: [maintainer update] Update biology/xdrawchem to 1.9.9

Thierry Thomas thierry at FreeBSD.org
Sun Jun 18 08:05:49 UTC 2006


Le Dim 18 jui 06 à  3:32:16 +0200, Josh Tolbert <hemi at puresimplicity.net>
 écrivait :
> > http://www.freebsd.org/cgi/query-pr.cgi?pr=99072
> 
> It seemed like the build and host system types were being determined correctly
> without specifying the CONFIGURE_TARGET, plus the Porter's Handbook indicates
> that in the interest of simplicity it's generally wise to keep things simple.
> 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 that
> utilizes CONFIGURE_TARGET again.
> 
> checking build system type... i386-portbld-freebsd6.1
> checking host system type... i386-portbld-freebsd6.1
> 
> For what it's worth, I see that same warning from configure in a lot of other
> 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 fix
> 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=  yes

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

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

Regards,
-- 
Th. Thomas.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-ports-bugs/attachments/20060618/194dc672/attachment.sig>


More information about the freebsd-ports-bugs mailing list