From owner-svn-ports-all@FreeBSD.ORG Sat Mar 28 20:00:57 2015 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 8FC1BF58; Sat, 28 Mar 2015 20:00:57 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 613AEF96; Sat, 28 Mar 2015 20:00:57 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.9/8.14.9) with ESMTP id t2SK0v18028854; Sat, 28 Mar 2015 20:00:57 GMT (envelope-from stephen@FreeBSD.org) Received: (from stephen@localhost) by svn.freebsd.org (8.14.9/8.14.9/Submit) id t2SK0u76028852; Sat, 28 Mar 2015 20:00:56 GMT (envelope-from stephen@FreeBSD.org) Message-Id: <201503282000.t2SK0u76028852@svn.freebsd.org> X-Authentication-Warning: svn.freebsd.org: stephen set sender to stephen@FreeBSD.org using -f From: Stephen Montgomery-Smith Date: Sat, 28 Mar 2015 20:00:56 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r382550 - in head/math/sage: . files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 28 Mar 2015 20:00:57 -0000 Author: stephen Date: Sat Mar 28 20:00:55 2015 New Revision: 382550 URL: https://svnweb.freebsd.org/changeset/ports/382550 QAT: https://qat.redports.org/buildarchive/r382550/ Log: - Fix so that it will build even if C99 functions missing from FreeBSD. Accomplish this by re-enabling the cephes subpackage, and then putting a wrapper around "ld" so that the option --copy-dt-needed-entries is set. - Bump portrevision. PR: 198893 Submitted by: John Marino Added: head/math/sage/files/ld.in (contents, props changed) Deleted: head/math/sage/files/patch-build_pkgs_cephes_spkg-install Modified: head/math/sage/Makefile Modified: head/math/sage/Makefile ============================================================================== --- head/math/sage/Makefile Sat Mar 28 20:00:43 2015 (r382549) +++ head/math/sage/Makefile Sat Mar 28 20:00:55 2015 (r382550) @@ -3,6 +3,7 @@ PORTNAME= sage PORTVERSION= 6.5 +PORTREVISION= 1 CATEGORIES= math MASTER_SITES= http://boxen.math.washington.edu/home/sagemath/sage-mirror/src/ \ http://mirrors.xmission.com/sage/src/ \ @@ -26,10 +27,6 @@ LIB_DEPENDS= libatlas.so:${PORTSDIR}/mat libjpeg.so:${PORTSDIR}/graphics/jpeg RUN_DEPENDS= bash:${PORTSDIR}/shells/bash -.if OSVERSION<1000717 -BROKEN= https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=198893 -.endif - pre-extract: @${ECHO_MSG} @${ECHO_MSG} Instead of installing the port, which will take a considerable amount of @@ -62,6 +59,11 @@ post-patch: @${MKDIR} ${WRKSRC}/local/bin @${LN} -s -f ${LOCALBASE}/bin/gmake ${WRKSRC}/local/bin/make +# Create wrapper for invocation of ld. + @${SED} -e 's#%%LD%%#${LOCALBASE}/bin/ld#' \ + ${FILESDIR}/ld.in > ${WRKSRC}/local/bin/ld + @${CHMOD} +x ${WRKSRC}/local/bin/ld + post-build: ${RM} -rf ${WRKSRC}/tmp/.sage ${CHMOD} -R a+rX ${WRKSRC} @@ -95,10 +97,6 @@ post-install: .include -.if ${OSVERSION} < 701106 -BROKEN= POSIX semaphores are required, and the support only works in FreeBSD 7-STABLE and later -.endif - MAKE_ENV+= MAKE="${MAKE} -j${MAKE_JOBS_NUMBER}" .ifdef MAINTAINER_MODE Added: head/math/sage/files/ld.in ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/math/sage/files/ld.in Sat Mar 28 20:00:55 2015 (r382550) @@ -0,0 +1,3 @@ +#!/bin/sh + +exec %%LD%% --copy-dt-needed-entries "$@"