From owner-svn-ports-head@FreeBSD.ORG Mon Dec 10 17:51:49 2012 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 315386B3; Mon, 10 Dec 2012 17:51:49 +0000 (UTC) (envelope-from bapt@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) by mx1.freebsd.org (Postfix) with ESMTP id 173C38FC17; Mon, 10 Dec 2012 17:51:49 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.5/8.14.5) with ESMTP id qBAHpmLH073005; Mon, 10 Dec 2012 17:51:48 GMT (envelope-from bapt@svn.freebsd.org) Received: (from bapt@localhost) by svn.freebsd.org (8.14.5/8.14.5/Submit) id qBAHpmdu073003; Mon, 10 Dec 2012 17:51:48 GMT (envelope-from bapt@svn.freebsd.org) Message-Id: <201212101751.qBAHpmdu073003@svn.freebsd.org> From: Baptiste Daroussin Date: Mon, 10 Dec 2012 17:51:48 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r308623 - head/Mk X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 10 Dec 2012 17:51:49 -0000 Author: bapt Date: Mon Dec 10 17:51:48 2012 New Revision: 308623 URL: http://svnweb.freebsd.org/changeset/ports/308623 Log: Adjust the LDFLAGS from USE_NCURSES and USE_OPENSSL to fix build with clang: This should fix most of the "error: argument unused during compilation: '-rpath=/usr/lib:/usr/local/lib'" Modified: head/Mk/bsd.ncurses.mk head/Mk/bsd.openssl.mk Modified: head/Mk/bsd.ncurses.mk ============================================================================== --- head/Mk/bsd.ncurses.mk Mon Dec 10 17:37:46 2012 (r308622) +++ head/Mk/bsd.ncurses.mk Mon Dec 10 17:51:48 2012 (r308623) @@ -102,7 +102,7 @@ NCURSESLIB= ${NCURSESBASE}/lib .if defined(USE_NCURSES_RPATH) CFLAGS+= -Wl,-rpath,${NCURSESRPATH} .endif -NCURSES_LDFLAGS+= -rpath=${NCURSESRPATH} +NCURSES_LDFLAGS+= -Wl,-rpath=${NCURSESRPATH} .if defined(LDFLAGS) LDFLAGS+=${NCURSES_LDFLAGS} Modified: head/Mk/bsd.openssl.mk ============================================================================== --- head/Mk/bsd.openssl.mk Mon Dec 10 17:37:46 2012 (r308622) +++ head/Mk/bsd.openssl.mk Mon Dec 10 17:51:48 2012 (r308623) @@ -153,7 +153,7 @@ OPENSSLINC= ${OPENSSLBASE}/include .if defined(USE_OPENSSL_RPATH) CFLAGS+= -Wl,-rpath,${OPENSSLRPATH} .endif -OPENSSL_LDFLAGS+= -rpath=${OPENSSLRPATH} +OPENSSL_LDFLAGS+= -Wl,-rpath=${OPENSSLRPATH} LDFLAGS+=${OPENSSL_LDFLAGS}