From owner-svn-ports-head@freebsd.org Mon Jan 11 17:09:38 2021 Return-Path: Delivered-To: svn-ports-head@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 699574E018C; Mon, 11 Jan 2021 17:09:38 +0000 (UTC) (envelope-from jwb@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4DF0Yt2YXNz4X7Q; Mon, 11 Jan 2021 17:09:38 +0000 (UTC) (envelope-from jwb@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 4A8A61E197; Mon, 11 Jan 2021 17:09:38 +0000 (UTC) (envelope-from jwb@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id 10BH9cfj038690; Mon, 11 Jan 2021 17:09:38 GMT (envelope-from jwb@FreeBSD.org) Received: (from jwb@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id 10BH9cwh038689; Mon, 11 Jan 2021 17:09:38 GMT (envelope-from jwb@FreeBSD.org) Message-Id: <202101111709.10BH9cwh038689@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: jwb set sender to jwb@FreeBSD.org using -f From: "Jason W. Bacon" Date: Mon, 11 Jan 2021 17:09:38 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r561231 - head/biology/gcta X-SVN-Group: ports-head X-SVN-Commit-Author: jwb X-SVN-Commit-Paths: head/biology/gcta X-SVN-Commit-Revision: 561231 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 11 Jan 2021 17:09:38 -0000 Author: jwb Date: Mon Jan 11 17:09:37 2021 New Revision: 561231 URL: https://svnweb.freebsd.org/changeset/ports/561231 Log: biology/gcta: Drop dependency on gcc Replace compiler:openmp with compiler:c++11-lang Clang build also requires localbase:ldflags Build tested on amd64, i386 and powerpc64 12.x-RELEASE PR: port/247753, ports/252379 Modified: head/biology/gcta/Makefile Modified: head/biology/gcta/Makefile ============================================================================== --- head/biology/gcta/Makefile Mon Jan 11 17:04:05 2021 (r561230) +++ head/biology/gcta/Makefile Mon Jan 11 17:09:37 2021 (r561231) @@ -2,7 +2,7 @@ PORTNAME= gcta DISTVERSION= 1.26.0 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= biology MASTER_SITES= https://cnsgenomics.com/software/gcta/pre_gcta/ DISTNAME= ${PORTNAME}_${PORTVERSION}_src @@ -13,9 +13,9 @@ COMMENT= Genome-wide Complex Trait Analysis LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/GNU_General_Public_License_v3.txt -LIB_DEPENDS+= libopenblas.so:math/openblas +LIB_DEPENDS= libopenblas.so:math/openblas -USES= compiler:openmp dos2unix eigen:3 gmake localbase zip +USES= compiler:c++11-lang dos2unix eigen:3 gmake localbase:ldflags zip CXXFLAGS+= -I${LOCALBASE}/include/eigen3 -fopenmp LDFLAGS+= -lopenblas @@ -23,13 +23,7 @@ LDFLAGS+= -lopenblas INSTALL_TARGET= install-strip PLIST_FILES= bin/gcta -.include - -.if ${CHOSEN_COMPILER_TYPE} == gcc && ${COMPILER_VERSION} <= 42 -USE_GCC= yes -.endif - do-extract: ${UNZIP_NATIVE_CMD} -d ${WRKSRC} ${DISTDIR}/${DISTFILES} -.include +.include