From owner-svn-ports-all@FreeBSD.ORG Sat Apr 18 14:07:55 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 47DDE86E; Sat, 18 Apr 2015 14:07:55 +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 1C5371DF; Sat, 18 Apr 2015 14:07:55 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.9/8.14.9) with ESMTP id t3IE7s48013212; Sat, 18 Apr 2015 14:07:54 GMT (envelope-from riggs@FreeBSD.org) Received: (from riggs@localhost) by svn.freebsd.org (8.14.9/8.14.9/Submit) id t3IE7sNB013211; Sat, 18 Apr 2015 14:07:54 GMT (envelope-from riggs@FreeBSD.org) Message-Id: <201504181407.t3IE7sNB013211@svn.freebsd.org> X-Authentication-Warning: svn.freebsd.org: riggs set sender to riggs@FreeBSD.org using -f From: Thomas Zander Date: Sat, 18 Apr 2015 14:07:54 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r384228 - head/math/yacas 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.20 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, 18 Apr 2015 14:07:55 -0000 Author: riggs Date: Sat Apr 18 14:07:54 2015 New Revision: 384228 URL: https://svnweb.freebsd.org/changeset/ports/384228 Log: Un-break build on 8.x PR: 199244 Submitted by: tkato432@yahoo.com MFH: 2015Q2 Modified: head/math/yacas/Makefile Modified: head/math/yacas/Makefile ============================================================================== --- head/math/yacas/Makefile Sat Apr 18 13:49:18 2015 (r384227) +++ head/math/yacas/Makefile Sat Apr 18 14:07:54 2015 (r384228) @@ -13,39 +13,40 @@ COMMENT= Yet Another Computer Algebra Sy LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING -OPTIONS_DEFINE= DOCS - +USES= compiler:c++11-lib libtool GNU_CONFIGURE= yes -USES= libtool +CONFIGURE_ARGS= --with-html-dir=${DOCSDIR} INSTALL_TARGET= install-strip +USE_LDCONFIG= yes -.include +PORTDOCS= * -.if ${ARCH} == "sparc64" -BROKEN= Does not compile with GCC 4.2 -.endif +OPTIONS_DEFINE= DOCS -.if ${PORT_OPTIONS:MDOCS} -CONFIGURE_ARGS+=--enable-html-doc --with-html-dir=${DOCSDIR} -PORTDOCS= * -USES+= perl5 -USE_PERL5= build -.else -CONFIGURE_ARGS+=--disable-html-doc +DOCS_USES= perl5 +DOCS_USE= perl5=build +DOCS_CONFIGURE_ENABLE= html-doc + +.include + +.if ${CHOSEN_COMPILER_TYPE} == "gcc" +CPPFLAGS+= -D_GLIBCXX_USE_C99 .endif post-patch: + @${REINPLACE_CMD} -e \ + 's|"GNU strip"|"strip"|' ${WRKSRC}/configure + @${REINPLACE_CMD} -e \ + 's|%%DATADIR%%|${DATADIR}|' ${WRKSRC}/src/yacasmain.cpp # Can't use USES=shebangfix here, cause the path appears several # times in the file. - @${REINPLACE_CMD} -e 's| /bin/bash| ${LOCALBASE}/bin/bash|g' \ - ${WRKSRC}/tests/test-yacas - @${REINPLACE_CMD} -e 's|%%DATADIR%%|${DATADIR}|' \ - ${WRKSRC}/src/yacasmain.cpp + @${REINPLACE_CMD} -e \ + 's| /bin/bash| ${LOCALBASE}/bin/bash|g' \ + ${WRKSRC}/tests/test-yacas regression-test: build -# This requires bash. I don't add it as a dependency to the port, as it's -# not needed for the general use. - @(cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_FLAGS} \ - ${MAKEFILE} check ${MAKE_ARGS}) +# This requires bash. I don't add it as a dependency to the port, as +# it's not needed for the general use. + @(cd ${WRKSRC} && ${DO_MAKE_BUILD} check) -.include +.include