Date: Wed, 7 Jan 2015 18:51:58 +0000 (UTC) From: Sean Bruno <sbruno@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r376487 - in head/devel/ncurses: . files Message-ID: <201501071851.t07IpwvP045897@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: sbruno Date: Wed Jan 7 18:51:57 2015 New Revision: 376487 URL: https://svnweb.freebsd.org/changeset/ports/376487 QAT: https://qat.redports.org/buildarchive/r376487/ Log: Stop using LD directly so that non-default compilers can build devel/ncurses. This fixes the build for ARMv6 via poudriere/qemu-user-static. Bump PORTREVISION as this is changing linking behavior. PR: 196592 Submitted by: mikael.urankar@gmail.com Reviewed by: bapt Approved by: mentor (implicit) Added: head/devel/ncurses/files/ head/devel/ncurses/files/patch-aclocal.m4 (contents, props changed) head/devel/ncurses/files/patch-configure (contents, props changed) Modified: head/devel/ncurses/Makefile Modified: head/devel/ncurses/Makefile ============================================================================== --- head/devel/ncurses/Makefile Wed Jan 7 17:56:34 2015 (r376486) +++ head/devel/ncurses/Makefile Wed Jan 7 18:51:57 2015 (r376487) @@ -3,6 +3,7 @@ PORTNAME= ncurses DISTVERSION= ${RELEASE}-20141213 +PORTREVSION= 1 CATEGORIES= devel MASTER_SITES= ftp://invisible-island.net/${PORTNAME}/current/ MASTER_SITE_SUBDIR= ${PORTNAME}/current Added: head/devel/ncurses/files/patch-aclocal.m4 ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/ncurses/files/patch-aclocal.m4 Wed Jan 7 18:51:57 2015 (r376487) @@ -0,0 +1,11 @@ +--- aclocal.m4.orig 2015-01-06 18:02:30 UTC ++++ aclocal.m4 +@@ -5688,7 +5688,7 @@ CF_EOF + EXTRA_LDFLAGS="${cf_ld_rpath_opt}\${RPATH_LIST} $EXTRA_LDFLAGS" + fi + CF_SHARED_SONAME +- MK_SHARED_LIB='${LD} -shared -Bshareable -soname=`basename $[@]` -o $[@]' ++ MK_SHARED_LIB='${CC} ${CFLAGS} -shared -Wl,-soname,`basename $[@]` -o $[@]' + ;; + netbsd*) #(vi + CC_SHARED_OPTS="$CC_SHARED_OPTS -DPIC" Added: head/devel/ncurses/files/patch-configure ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/ncurses/files/patch-configure Wed Jan 7 18:51:57 2015 (r376487) @@ -0,0 +1,11 @@ +--- configure.orig 2015-01-06 18:02:40 UTC ++++ configure +@@ -6201,7 +6201,7 @@ CF_EOF + cf_cv_shared_soname='`basename $@`' + fi + +- MK_SHARED_LIB='${LD} -shared -Bshareable -soname=`basename $@` -o $@' ++ MK_SHARED_LIB='${CC} ${CFLAGS} -shared -Wl,-soname,`basename $@` -o $@' + ;; + netbsd*) #(vi + CC_SHARED_OPTS="$CC_SHARED_OPTS -DPIC"
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201501071851.t07IpwvP045897>