Date: Sat, 17 May 2014 02:22:22 +0000 (UTC) From: Stephen Montgomery-Smith <stephen@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r354274 - in head/math/sage: . files Message-ID: <201405170222.s4H2MMLN005491@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: stephen Date: Sat May 17 02:22:21 2014 New Revision: 354274 URL: http://svnweb.freebsd.org/changeset/ports/354274 QAT: https://qat.redports.org/buildarchive/r354274/ Log: - Small changes on the way to making it clang compliant. Modified: head/math/sage/Makefile head/math/sage/files/patch-build_pkgs_ncurses_fbsd-patch-src_configure Modified: head/math/sage/Makefile ============================================================================== --- head/math/sage/Makefile Sat May 17 01:43:53 2014 (r354273) +++ head/math/sage/Makefile Sat May 17 02:22:21 2014 (r354274) @@ -74,17 +74,17 @@ post-patch: # Create the wrappers for the compiler invocations. @${MKDIR} ${WRKSRC}/local/bin @${LN} -s -f ${LOCALBASE}/bin/gmake ${WRKSRC}/local/bin/make - @${SED} -e 's#%%CC%%#${LOCALBASE}/bin/${CC}#' \ + @${SED} -e "s#%%CC%%#`which ${CC}`#" \ -e 's#%%LDFLAGS%%#${LDFLAGS} ${FPM_FLAG}#' \ ${FILESDIR}/gcc.in > ${WRKSRC}/local/bin/cc @${CHMOD} +x ${WRKSRC}/local/bin/cc @${LN} -s -f cc ${WRKSRC}/local/bin/gcc - @${SED} -e 's#%%CC%%#${LOCALBASE}/bin/${CXX}#' \ + @${SED} -e "s#%%CC%%#`which ${CXX}`#" \ -e 's#%%LDFLAGS%%#${LDFLAGS} ${FPM_FLAG}#' \ ${FILESDIR}/gcc.in > ${WRKSRC}/local/bin/c++ @${CHMOD} +x ${WRKSRC}/local/bin/c++ @${LN} -s -f c++ ${WRKSRC}/local/bin/g++ - @${SED} -e 's#%%CC%%#${LOCALBASE}/bin/${FC}#' \ + @${SED} -e "s#%%CC%%#`which ${FC}`#" \ -e 's#%%LDFLAGS%%#${LDFLAGS} ${FPM_FLAG}#' \ ${FILESDIR}/gcc.in > ${WRKSRC}/local/bin/gfortran @${CHMOD} +x ${WRKSRC}/local/bin/gfortran Modified: head/math/sage/files/patch-build_pkgs_ncurses_fbsd-patch-src_configure ============================================================================== --- head/math/sage/files/patch-build_pkgs_ncurses_fbsd-patch-src_configure Sat May 17 01:43:53 2014 (r354273) +++ head/math/sage/files/patch-build_pkgs_ncurses_fbsd-patch-src_configure Sat May 17 02:22:21 2014 (r354274) @@ -8,7 +8,7 @@ + fi + +- MK_SHARED_LIB='${LD} -shared -Bshareable -soname=`basename $@` -o $@' -++ MK_SHARED_LIB='${CC} -shared -Bshareable -soname=`basename $@` -o $@' +++ MK_SHARED_LIB='${CC} -shared -Bshareable -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?201405170222.s4H2MMLN005491>