From owner-freebsd-fortran@freebsd.org Thu Jan 11 11:45:42 2018 Return-Path: Delivered-To: freebsd-fortran@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 9828AE9A105 for ; Thu, 11 Jan 2018 11:45:42 +0000 (UTC) (envelope-from tijl@freebsd.org) Received: from mailman.ysv.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 70B6F6B5A6 for ; Thu, 11 Jan 2018 11:45:42 +0000 (UTC) (envelope-from tijl@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 6D0ACE9A104; Thu, 11 Jan 2018 11:45:42 +0000 (UTC) Delivered-To: fortran@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 6CB18E9A102 for ; Thu, 11 Jan 2018 11:45:42 +0000 (UTC) (envelope-from tijl@freebsd.org) Received: from mailrelay119.isp.belgacom.be (mailrelay119.isp.belgacom.be [195.238.20.146]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "relay.skynet.be", Issuer "GlobalSign Organization Validation CA - SHA256 - G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id B83EC6B5A3; Thu, 11 Jan 2018 11:45:41 +0000 (UTC) (envelope-from tijl@freebsd.org) X-Belgacom-Dynamic: yes IronPort-PHdr: =?us-ascii?q?9a23=3AAUQdtxAzvw+pUcJbnR6eUyQJP3N1i/DPJgcQr6Af?= =?us-ascii?q?oPdwSPvzocbcNUDSrc9gkEXOFd2Cra4c0qyO6+jJYi8p2d65qncMcZhBBVcuqP?= =?us-ascii?q?49uEgeOvODElDxN/XwbiY3T4xoXV5h+GynYwAOQJ6tL1LdrWev4jEMBx7xKRR6?= =?us-ascii?q?JvjvGo7Vks+7y/2+94fcbglUmTaxe69+IAmrpgjNq8cahpdvJLwswRXTuHtIfO?= =?us-ascii?q?pWxWJsJV2Nmhv3+9m98p1+/SlOovwt78FPX7n0cKQ+VrxYES8pM3sp683xtBnM?= =?us-ascii?q?VhWA630BWWgLiBVIAgzF7BbnXpfttybxq+Rw1DWGMcDwULs5Xymp4aV2Rx/ykC?= =?us-ascii?q?oJOT43/n/KhMJzjq1brh2uqABwzYPPfIGYNuZycr/Bcd8GW2ZMWNtaWSxbAoO7?= =?us-ascii?q?aosCF/QPPedar4n5ulADsxy+BQ63BOzxzz9HnHn23bYn2OkmDQHG3Q4gH9YVvX?= =?us-ascii?q?rUttX6KrkdXP2owqfG1znDaOlW2Tjk5YXObxsvoumMUKpzfMbM00UjCQzIg1SK?= =?us-ascii?q?pYD4MT6Y2P4Bv3WV4udvU++klnQppBtroje1w8chkozJhoUIxV/a7Sh524M1Jc?= =?us-ascii?q?GgSE58fN6kDINctyGEOItyRcMvW2Jotzw+yr0HvJ60YjIKyJM9yx7DavyHcYyI?= =?us-ascii?q?7gj/W+aWJjd4n2xqeLeliBa06kis0Or8VtO70FpSrypFlMfDtmwV2hHQ98SLUO?= =?us-ascii?q?Vx80ig1DqVygze5O9JLVopmafVJJMt2rswmYASsUTHEC/2gkL2jKqOe0U4++io?= =?us-ascii?q?6eDnb67opp+GKYB7lBrxMr8zlcClBuQ4KAcOU3CB+eugzL3j4VH5QLJSg/05jK?= =?us-ascii?q?bZqorVJcAGqaOiDQ9VyJgs5AikADe9zdsUh34HLEhKeBiflYjmJ0nOIOzkDfe4?= =?us-ascii?q?m1msnjBrx+raPr37GJrNKGPOkLn7fblj9UFT0xEzws1F65JTELEBL6G7Zkiknd?= =?us-ascii?q?rECRlxCAyozvzqDtF81YMCETaKD7+QK4vYq16T+uUrZeCHIpIW7mXTMf8gssLv?= =?us-ascii?q?j3txslgaZqSs1J0MICSkH/ZiC2uDbHfGuftHFn0F6FltBNf2gUGPBGYAL025WL?= =?us-ascii?q?gxs2k2?= X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: =?us-ascii?q?A2DDDQDeTFda/4aF9lFeDg4BAQEEAQEKA?= =?us-ascii?q?QGDQVaBBCePH41pAQGCATIBmROFRQKEPEQUAQEBAQEBAQEBAWoogjgigkoBBTo?= =?us-ascii?q?cHgUQCw4KCSUPKh4GE4o3siqDV4ZkAQEBAQEFAQEBASSEK4hNNoMvBIdrBZInk?= =?us-ascii?q?T2Pc4VHgQCBSJFTSJgYNiKBUEwwCIJnhBhAQDeMPwEBAQ?= X-IPAS-Result: =?us-ascii?q?A2DDDQDeTFda/4aF9lFeDg4BAQEEAQEKAQGDQVaBBCePH41?= =?us-ascii?q?pAQGCATIBmROFRQKEPEQUAQEBAQEBAQEBAWoogjgigkoBBTocHgUQCw4KCSUPK?= =?us-ascii?q?h4GE4o3siqDV4ZkAQEBAQEFAQEBASSEK4hNNoMvBIdrBZInkT2Pc4VHgQCBSJF?= =?us-ascii?q?TSJgYNiKBUEwwCIJnhBhAQDeMPwEBAQ?= Received: from 134.133-246-81.adsl-dyn.isp.belgacom.be (HELO kalimero.tijl.coosemans.org) ([81.246.133.134]) by relay.skynet.be with ESMTP; 11 Jan 2018 12:44:27 +0100 Received: from kalimero.tijl.coosemans.org (kalimero.tijl.coosemans.org [127.0.0.1]) by kalimero.tijl.coosemans.org (8.15.2/8.15.2) with ESMTP id w0BBiRYd077841; Thu, 11 Jan 2018 12:44:27 +0100 (CET) (envelope-from tijl@FreeBSD.org) Date: Thu, 11 Jan 2018 12:44:26 +0100 From: Tijl Coosemans To: Anton Shterenlikht Cc: fortran@freebsd.org, gerald@FreeBSD.org Subject: Re: help with GCC_VER GCC_VERSION Message-ID: <20180111124426.217a425f@kalimero.tijl.coosemans.org> In-Reply-To: <201801111050.w0BAoHEn007137@mech-as222.men.bris.ac.uk> References: <201801111050.w0BAoHEn007137@mech-as222.men.bris.ac.uk> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-fortran@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Fortran on FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 11 Jan 2018 11:45:42 -0000 On Thu, 11 Jan 2018 10:50:17 GMT Anton Shterenlikht wrote: > Hi Gerald > > Need your help > > I'm updating lang/opencoarrays. > Previously pkg-plist had > > include/OpenCoarrays/GNU/%%GCC_VER%%/opencoarrays.mod > > which worked fine. > > Now upstream put the whole version triplet into > the file name: > > include/OpenCoarrays-1.9.3_GNU-6.4.0/opencoarrays.mod > > so %%GCC_VER%% does not work anymore, because it > has only the major version. > > I notice that lang/gcc* ports use %%GCC_VERSION%% > in pkg-plist. Is this different from %%GCC_VER%%? > I thought that maybe it contains the full version triplet? > > However, if I try to use it in my pkg-plist: > > include/OpenCoarrays/GNU/%%GCC_VERSION%%/opencoarrays.mod > > it doesn't seem to be recognised: > > # make package > ===> Building package for opencoarrays-1.9.3_1 > pkg-static: Unable to access file /usr/ports/lang/opencoarrays/work/stage/usr/local/include/OpenCoarrays-1.9.3_GNU-%%GCC_VERSION%%/opencoarrays.mod:No such file or directory > *** Error code 1 > > Any advice? They've always used the full version, but we patched that in the post-patch target in the port Makefile. You probably need to tweak that command for the new version.