[PATCH] x11/gdm: Add -lm to LIBS
Marcel Moolenaar
xcllnt at mac.com
Tue Aug 25 03:50:31 UTC 2009
All,
On ia64 gdm (indirectly) uses log10 and ceil and as such,
must be linked against libm. Ok to commit the following?
Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/x11/gdm/Makefile,v
retrieving revision 1.122
diff -u -r1.122 Makefile
--- Makefile 31 Jul 2009 13:56:45 -0000 1.122
+++ Makefile 25 Aug 2009 02:49:46 -0000
@@ -39,6 +39,7 @@
CONFIGURE_ARGS= --with-working-directory=${PREFIX}/etc/gdm/home
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include -DHAS_SA_LEN" \
LDFLAGS="-L${LOCALBASE}/lib" \
+ LIBS="-lm" \
GTKDOC="false"
SUB_FILES+= gdm.pam
--
Marcel Moolenaar
xcllnt at mac.com
More information about the freebsd-ports
mailing list