From nobody Wed Jul 20 19:21:50 2022 X-Original-To: dev-commits-ports-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4Lp5DG5VYgz4WlJT; Wed, 20 Jul 2022 19:21:50 +0000 (UTC) (envelope-from git@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 "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Lp5DG56x8z3R3D; Wed, 20 Jul 2022 19:21:50 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1658344910; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=a8gka17IWc1llzszOEhIeni6lMAGzOC5I27g6KOTuvw=; b=IE736CIr1ApFmzL2Lf9L3zzkNmkgFcVe3woOYxWQi0pJIm78D5ZVK23EiCVBxDKhyiGlEW kzRDaDuyUyQjzsLNFJ+LkZLnoi1rG9xbuAFkOR5w0vC65CAuOBZY1JYcwFXFNJAvqd6xcc lc6vMuLTYdFXcZbF2RNyB7Ag5vLToY9WgCsAKZ9BUQkjgqPhSKqqTFPtr2xCzR4JHsd0eH 3LsRa4iNe8dY72x2tvqTCbxSfWFumeasgrONFSj0LfDKr9ERSZp1gX9CGMwkk8Cavwtmst XnSvtI6fKzKw9yZbDBy4TMqz96Fdnr5sldegFnprwe/Qv7tvEl66A981HIY0zQ== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (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 did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4Lp5DG4Dzkz18gf; Wed, 20 Jul 2022 19:21:50 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 26KJLo9p010192; Wed, 20 Jul 2022 19:21:50 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 26KJLoMe010191; Wed, 20 Jul 2022 19:21:50 GMT (envelope-from git) Date: Wed, 20 Jul 2022 19:21:50 GMT Message-Id: <202207201921.26KJLoMe010191@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Yuri Victorovich Subject: git: 704f77e78a95 - main - science/gabedit: Improve BROKEN lines and options List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: yuri X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 704f77e78a9532b153a8863b7d96e30c81e88bcc Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1658344910; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=a8gka17IWc1llzszOEhIeni6lMAGzOC5I27g6KOTuvw=; b=eWilkjvrOHg3w4oK/xxl+ohIzDDhrY6WJN84l4lTpynlP/IhLtf839rnQ4zZl+H5T+JlEd qSlrqvm0fKg8vBt7GkuGtyjYHa2cmZkGZCKSkDhwKK42YwHaSdCnCJYwYqhkWefzXEwIRu Js40+vd4TRRTYgIdgzufaH2WX7XGiIHhys0E7Z31awNTfoyTE3gJkPmTVlLUzU7iqITH7j FfiU8SdYWNuCCGLYJ0rG4FzM8DKfNlmN5VXfz5XTqVH00FWLbJu2C064o6qQoAANE3BNHa G7XV17MI6XsvLLQjY52xOPUrTQ7e9aguieA3XXqoxrljFQryQYoP77rjyIPNzw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1658344910; a=rsa-sha256; cv=none; b=se8Ky4aK31C+GI2sjnQc6AqQJhbgFTrLg92ILBPG2fVUkhML2QGiBeRA1QEnjr84mjT2Oe uXQd099ZTX326IzoYEpKbKE1cqOAxWeZLm5sZu3U9Yr2G/u3ELt1rueNO3v7ZgoMUJ5JN0 BGWqqzh5bFkHbTd8DjIzJd+FMEipHTbUPJNhOeYH953ATde/o5dPw1or7VuKX2uyu4V7li mkdTW8ZSSRYBkiJa1a7vHzNlQ7MN9WGyAw+TBJc2AR4OGkNB4RlAuZ0Mu5dEC3yRoZ/Y9+ pgTfRhOvtHpqSGfXKmF+E5Frjd+toJRUU5R/IDNPLsLcomhBOHsUshJ4oM1u6w== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by yuri: URL: https://cgit.FreeBSD.org/ports/commit/?id=704f77e78a9532b153a8863b7d96e30c81e88bcc commit 704f77e78a9532b153a8863b7d96e30c81e88bcc Author: Yuri Victorovich AuthorDate: 2022-07-20 19:10:38 +0000 Commit: Yuri Victorovich CommitDate: 2022-07-20 19:21:45 +0000 science/gabedit: Improve BROKEN lines and options OPENMP option doesn't appear where it is not supported. --- science/gabedit/Makefile | 14 +++++--------- 1 file changed, 5 insertions(+), 9 deletions(-) diff --git a/science/gabedit/Makefile b/science/gabedit/Makefile index 72ec14c27b70..b75fc5200449 100644 --- a/science/gabedit/Makefile +++ b/science/gabedit/Makefile @@ -11,9 +11,10 @@ COMMENT= Graphical user interface for several chemistry software packages LICENSE= MIT LICENSE_FILE= ${WRKSRC}/License -BROKEN_armv6= fatal error: 'omp.h' file not found -BROKEN_armv7= fatal error: 'omp.h' file not found BROKEN_i386= undefined reference to `__atomic_load' +.if !exists(/usr/include/omp.h) +BROKEN= requires OpenMP support that is missing on this architecture +.endif LIB_DEPENDS= libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 \ @@ -37,14 +38,9 @@ ICON_SIZES= 16 24 32 48 PLIST_FILES+= share/icons/hicolor/${SZ}x${SZ}/apps/${PORTNAME}.png .endfor +.if exists(/usr/include/omp.h) OPTIONS_DEFINE= OPENMP OPTIONS_DEFAULT= OPENMP -OPTIONS_EXCLUDE_powerpc= OPENMP - -.include - -.if ${OSVERSION} < 1301000 -BROKEN_riscv64= fatal error: 'omp.h' file not found .endif post-patch: @@ -61,4 +57,4 @@ do-install: ${INSTALL_DATA} ${WRKSRC}/icons/Gabedit${SZ}.png ${STAGEDIR}${PREFIX}/share/icons/hicolor/${SZ}x${SZ}/apps/${PORTNAME}.png .endfor -.include +.include