Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 24 Aug 2009 19:50:30 -0700
From:      Marcel Moolenaar <xcllnt@mac.com>
To:        ports@FreeBSD.org
Subject:   [PATCH] x11/gdm: Add -lm to LIBS
Message-ID:  <367545E8-D840-4130-9433-D837B196701D@mac.com>

next in thread | raw e-mail | index | archive | help
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@mac.com






Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?367545E8-D840-4130-9433-D837B196701D>