From owner-freebsd-ports@FreeBSD.ORG Tue Aug 25 03:50:31 2009 Return-Path: Delivered-To: ports@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2F7C0106568F for ; Tue, 25 Aug 2009 03:50:31 +0000 (UTC) (envelope-from xcllnt@mac.com) Received: from asmtpout025.mac.com (asmtpout025.mac.com [17.148.16.100]) by mx1.freebsd.org (Postfix) with ESMTP id 1F6CA8FC18 for ; Tue, 25 Aug 2009 03:50:31 +0000 (UTC) MIME-version: 1.0 Content-transfer-encoding: 7BIT Content-type: text/plain; charset=us-ascii; format=flowed Received: from macbook-pro.lan.xcllnt.net (mail.xcllnt.net [75.101.29.67]) by asmtp025.mac.com (Sun Java(tm) System Messaging Server 6.3-8.01 (built Dec 16 2008; 32bit)) with ESMTPSA id <0KOW00K4CVW6X240@asmtp025.mac.com> for ports@FreeBSD.org; Mon, 24 Aug 2009 19:50:31 -0700 (PDT) From: Marcel Moolenaar Date: Mon, 24 Aug 2009 19:50:30 -0700 Message-id: <367545E8-D840-4130-9433-D837B196701D@mac.com> To: ports@FreeBSD.org X-Mailer: Apple Mail (2.1074) Cc: Subject: [PATCH] x11/gdm: Add -lm to LIBS X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 25 Aug 2009 03:50:31 -0000 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