From owner-svn-ports-all@freebsd.org Wed Feb 21 09:49:06 2018 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 30323F182E2; Wed, 21 Feb 2018 09:49:06 +0000 (UTC) (envelope-from tijl@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id D391C6FD4D; Wed, 21 Feb 2018 09:49:05 +0000 (UTC) (envelope-from tijl@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 mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id CD57C16DC9; Wed, 21 Feb 2018 09:49:05 +0000 (UTC) (envelope-from tijl@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id w1L9n5Fx054402; Wed, 21 Feb 2018 09:49:05 GMT (envelope-from tijl@FreeBSD.org) Received: (from tijl@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w1L9n5lT054400; Wed, 21 Feb 2018 09:49:05 GMT (envelope-from tijl@FreeBSD.org) Message-Id: <201802210949.w1L9n5lT054400@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: tijl set sender to tijl@FreeBSD.org using -f From: Tijl Coosemans Date: Wed, 21 Feb 2018 09:49:05 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r462483 - head/lang/opencoarrays X-SVN-Group: ports-head X-SVN-Commit-Author: tijl X-SVN-Commit-Paths: head/lang/opencoarrays X-SVN-Commit-Revision: 462483 X-SVN-Commit-Repository: ports 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.25 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: Wed, 21 Feb 2018 09:49:06 -0000 Author: tijl Date: Wed Feb 21 09:49:05 2018 New Revision: 462483 URL: https://svnweb.freebsd.org/changeset/ports/462483 Log: Fix pkg-plist. The library version depends on the GCC version. Reported by: jhale Modified: head/lang/opencoarrays/Makefile head/lang/opencoarrays/pkg-plist Modified: head/lang/opencoarrays/Makefile ============================================================================== --- head/lang/opencoarrays/Makefile Wed Feb 21 09:16:46 2018 (r462482) +++ head/lang/opencoarrays/Makefile Wed Feb 21 09:49:05 2018 (r462483) @@ -42,8 +42,14 @@ OPENMPI2_CONFIGURE_ENV= MPI_HOME=${LOCALBASE}/mpi/open .include -.if ${GCC_DEFAULT:R} < 5 -IGNORE= requires GCC 5 or higher. Add DEFAULT_VERSIONS+=gcc=5 to /etc/make.conf +.if ${GCC_DEFAULT} >= 7 +PLIST_SUB+= SOVERSION=2 +.elif ${GCC_DEFAULT} == 6 +PLIST_SUB+= SOVERSION=1 +.elif ${GCC_DEFAULT} == 5 +PLIST_SUB+= SOVERSION=0 +.else +IGNORE= requires GCC 5 or higher .endif post-patch: Modified: head/lang/opencoarrays/pkg-plist ============================================================================== --- head/lang/opencoarrays/pkg-plist Wed Feb 21 09:16:46 2018 (r462482) +++ head/lang/opencoarrays/pkg-plist Wed Feb 21 09:49:05 2018 (r462483) @@ -10,6 +10,6 @@ lib/cmake/opencoarrays/OpenCoarraysTargets-%%CMAKE_BUI lib/cmake/opencoarrays/OpenCoarraysTargets.cmake lib/libcaf_mpi.a lib/libcaf_mpi.so -lib/libcaf_mpi.so.2 +lib/libcaf_mpi.so.%%SOVERSION%% man/man1/caf.1.gz man/man1/cafrun.1.gz