From owner-svn-ports-all@freebsd.org Fri Dec 30 12:02:57 2016 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 9BC15C96E6F; Fri, 30 Dec 2016 12:02:57 +0000 (UTC) (envelope-from hrs@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::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 5DA5F1C8A; Fri, 30 Dec 2016 12:02:57 +0000 (UTC) (envelope-from hrs@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id uBUC2uvj067983; Fri, 30 Dec 2016 12:02:56 GMT (envelope-from hrs@FreeBSD.org) Received: (from hrs@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id uBUC2u6k067981; Fri, 30 Dec 2016 12:02:56 GMT (envelope-from hrs@FreeBSD.org) Message-Id: <201612301202.uBUC2u6k067981@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: hrs set sender to hrs@FreeBSD.org using -f From: Hiroki Sato Date: Fri, 30 Dec 2016 12:02:56 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r429969 - in head/math/gap: . 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.23 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: Fri, 30 Dec 2016 12:02:57 -0000 Author: hrs Date: Fri Dec 30 12:02:56 2016 New Revision: 429969 URL: https://svnweb.freebsd.org/changeset/ports/429969 Log: - Add LICENSE. - Strip installed binaries. - Build "bistellar" binary. Added: head/math/gap/files/ head/math/gap/files/patch-pkg-simpcomp-configure (contents, props changed) Modified: head/math/gap/Makefile Modified: head/math/gap/Makefile ============================================================================== --- head/math/gap/Makefile Fri Dec 30 11:56:23 2016 (r429968) +++ head/math/gap/Makefile Fri Dec 30 12:02:56 2016 (r429969) @@ -3,15 +3,18 @@ PORTNAME= gap PORTVERSION= 4.8.6.${GAP_DISTDATE} +PORTREVISION= 1 CATEGORIES= math MASTER_SITES= ftp://ftp.gap-system.org/pub/gap/gap48/tar.bz2/ \ ftp://ftp.stack.nl/pub/users/johans/gap/ \ ftp://ftp.gap-system.org/pub/gap/gap48/old/ DISTNAME= ${GAP_VERSION}p${PORTVERSION:R:E}_${GAP_DISTTIME} -MAINTAINER= ports@FreeBSD.org +MAINTAINER= hrs@FreeBSD.org COMMENT= GAP is a system for computational discrete algebra +LICENSE= GPLv2+ + LIB_DEPENDS= libgmp.so:math/gmp USES= gmake shebangfix tar:bzip2 @@ -28,6 +31,7 @@ SHEBANG_FILES= configure \ GNU_CONFIGURE= yes CONFIGURE_ARGS+=--with-gmp=${LOCALBASE} ALL_TARGET= default +INSTALL_TARGET= install-strip MAKE_JOBS_UNSAFE=yes @@ -41,7 +45,16 @@ PLIST_FILES= bin/gap BROKEN_aarch64= Fails to link: undefined reference to SyAllocBags post-patch: - @${REINPLACE_CMD} -i '' -e '1s|/usr/bin/sh|/bin/sh|' ${WRKSRC}/pkg/happrime/make_tarball + @${REINPLACE_CMD} -i '' -e '1s|/usr/bin/sh|/bin/sh|' \ + ${WRKSRC}/pkg/happrime/make_tarball + +post-build: + cd ${WRKSRC}/pkg/simpcomp && \ + ${SETENV} ${CONFIGURE_ENV} ${SH} configure \ + ${CONFIGURE_ARGS:N--with-*} && \ + ${MAKE} ${MAKEFLAGS} && \ + ${MAKE} ${MAKEFLAGS} install-strip && \ + ${RM} bistellar do-install: ${SED} -e "s:GAP_DIR=.*:GAP_DIR=${GAP_LIBDIR}:g" \ Added: head/math/gap/files/patch-pkg-simpcomp-configure ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/math/gap/files/patch-pkg-simpcomp-configure Fri Dec 30 12:02:56 2016 (r429969) @@ -0,0 +1,29 @@ +--- pkg/simpcomp/configure.orig 2016-11-12 14:25:17 UTC ++++ pkg/simpcomp/configure +@@ -2235,7 +2235,7 @@ if test -z "$CXX"; then + CXX=$CCC + else + if test -n "$ac_tool_prefix"; then +- for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC ++ for ac_prog in c++ g++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC + do + # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. + set dummy $ac_tool_prefix$ac_prog; ac_word=$2 +@@ -2279,7 +2279,7 @@ fi + fi + if test -z "$CXX"; then + ac_ct_CXX=$CXX +- for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC ++ for ac_prog in c++ g++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC + do + # Extract the first word of "$ac_prog", so it can be a program name with args. + set dummy $ac_prog; ac_word=$2 +@@ -2322,7 +2322,7 @@ fi + done + + if test "x$ac_ct_CXX" = x; then +- CXX="g++" ++ CXX="c++" + else + case $cross_compiling:$ac_tool_warned in + yes:)