From owner-freebsd-ports@freebsd.org Mon Feb 27 17:01:56 2017 Return-Path: Delivered-To: freebsd-ports@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 3432ECF0314 for ; Mon, 27 Feb 2017 17:01:56 +0000 (UTC) (envelope-from andrew.hotlab@hotmail.com) Received: from BLU004-OMC2S27.hotmail.com (blu004-omc2s27.hotmail.com [65.55.111.102]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (Client CN "*.outlook.com", Issuer "Microsoft IT SSL SHA2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id DABC7DC0 for ; Mon, 27 Feb 2017 17:01:55 +0000 (UTC) (envelope-from andrew.hotlab@hotmail.com) Received: from EUR02-VE1-obe.outbound.protection.outlook.com ([65.55.111.73]) by BLU004-OMC2S27.hotmail.com over TLS secured channel with Microsoft SMTPSVC(7.5.7601.23008); Mon, 27 Feb 2017 09:00:48 -0800 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=hotmail.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=l0YXR5OE0vCbaTi75rJzHn2Eu31Hv9hUxx8OfiJoxdE=; b=AZ6XwlCne8tzaRCpp8+RCLUAdDocIYowTW+5YP+/nvIXg5qXpZX0hRkazclL21w3opPcjIXQSdG3daK2TNiPnL5NidLZcyFtMfzxOsIG+AeC7iBldhT2mBTFwdIMa3D//VI43xoL2FozpxdqH4DuqYc1xyJ8JPZGg4+aNkaWggN8lvN70Vwo5YazcCAdvVg8VtREiHRASEg8E1sss8wdOIysmel8KskOMPHwPimlZoYEx/XCIlVyxTJxvAhRNHSZFNck/OdPv/2k+4ufwboWWlI4uDWABqGQEdrSIpfLTekRHKslAfwTEWbPe3mKMx9g1kM+FgW7Sg+fsTLDEKpF+g== Received: from HE1EUR02FT023.eop-EUR02.prod.protection.outlook.com (10.152.10.51) by HE1EUR02HT069.eop-EUR02.prod.protection.outlook.com (10.152.11.67) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.919.10; Mon, 27 Feb 2017 17:00:40 +0000 Received: from AM3PR02MB312.eurprd02.prod.outlook.com (10.152.10.51) by HE1EUR02FT023.mail.protection.outlook.com (10.152.10.155) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.933.11 via Frontend Transport; Mon, 27 Feb 2017 17:00:40 +0000 Received: from AM3PR02MB312.eurprd02.prod.outlook.com ([fe80::c189:25f5:7376:9b37]) by AM3PR02MB312.eurprd02.prod.outlook.com ([fe80::c189:25f5:7376:9b37%17]) with mapi id 15.01.0933.019; Mon, 27 Feb 2017 17:00:40 +0000 From: Andrew Hotlab To: Ernie Luzar , Adam Weinberger CC: "freebsd-ports@freebsd.org" Subject: Re: [SOLVED] How to create a port only for specific FreeBSD releases Thread-Topic: [SOLVED] How to create a port only for specific FreeBSD releases Thread-Index: AQHSkQX3vdujGNqMykaWgGfpap0zU6F9FRtv///2V4CAAAPCAIAAA8jl Date: Mon, 27 Feb 2017 17:00:39 +0000 Message-ID: References: <605504AE-19B6-4269-A8A0-7BECEDE9975C@adamw.org>, <58B45732.8060001@gmail.com> In-Reply-To: <58B45732.8060001@gmail.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: freebsd.org; dkim=none (message not signed) header.d=none;freebsd.org; dmarc=none action=none header.from=hotmail.com; x-incomingtopheadermarker: OriginalChecksum:02B93B7E0E9AB01BE2CC6F80F2018195F886200D5BF3D27A1203F962A1115DEA; UpperCasedChecksum:F3B8BB15A8447C8069648E20B3E6C1F93FCA4C41A9D706FCBAF67FE5FD2E27D9; SizeAsReceived:8097; Count:40 x-ms-exchange-messagesentrepresentingtype: 1 x-tmn: [95EvcDtT64xJsV3ypEHPdBGo5oOrX7Dz] x-incomingheadercount: 40 x-eopattributedmessage: 0 x-microsoft-exchange-diagnostics: 1; HE1EUR02HT069; 5:Lq6FnhmSGKbO0uwo5SoDWuCJ2WDM3jOIzY7/KcFq5H8T89IWDPzAfZVNDtI62b1ZpuhSw28OUtkIQLt9lzyF4He9IVLPuDzK1Hpc4VOsakdxRQZxm5jBS+A+V/3EQj3V1XBN564PEqqFIfac2u3sbg==; 24:eu5c9YZzC/3UHSpk4WSmIc/NlPrlkRwCQGaKM5FdGNE3BjQG2WdQrIRiDGbbz0YRi/1YRcBBq0ebKeVuWKdQnX0owQlwDnAoLpTsS22DrJI=; 7:UjE344DdtwSFbhZXMNtmEc1WZHjFYdLdbfzf3cXxILeOJWmpc9NTb6u6wbRnbaRxrIYlN5XKIc8XIK+Sv0+kZ8J/FAJeBKMf5RUJcIrWiaKOhkK+5+WQrzoX0xrulBI+WOOSTkF/HKS+0cFGBuQ4myvz9BkdVcTevmD7qrjyAGPtKh/z3RQAbh51WQwc2CjkYWjH0WID+/DlhPI5n714VvdNeYjOlYP0aZ2gpkFVu4+4LthEy/YuebzVj3x06mkE3XN85lP4mOtLavqy4XgpWa85HxA12pymNpDmA9PUGTc1gMDhsVBxmK/llGFoI3On x-forefront-antispam-report: EFV:NLI; SFV:NSPM; SFS:(10019020)(98900012); DIR:OUT; SFP:1102; SCL:1; SRVR:HE1EUR02HT069; H:AM3PR02MB312.eurprd02.prod.outlook.com; FPR:; SPF:None; LANG:en; x-ms-office365-filtering-correlation-id: 3f2ae2b4-fd45-4c6d-a37a-08d45f3228b0 x-microsoft-antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001)(201702061074)(5061506573)(5061507331)(1603103135)(1601125254)(1603101448)(1701031045); SRVR:HE1EUR02HT069; x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(432015087)(444000031); SRVR:HE1EUR02HT069; BCL:0; PCL:0; RULEID:; SRVR:HE1EUR02HT069; x-forefront-prvs: 02318D10FB spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: hotmail.com X-MS-Exchange-CrossTenant-originalarrivaltime: 27 Feb 2017 17:00:39.9875 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Internet X-MS-Exchange-CrossTenant-id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-Transport-CrossTenantHeadersStamped: HE1EUR02HT069 X-OriginalArrivalTime: 27 Feb 2017 17:00:48.0331 (UTC) FILETIME=[0B1621B0:01D2911B] X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 27 Feb 2017 17:01:56 -0000 > From: Ernie Luzar > Sent: Monday, February 27, 2017 5:43 PM > To: Adam Weinberger > Cc: Andrew Hotlab; freebsd-ports@freebsd.org > Subject: Re: [SOLVED] How to create a port only for specific FreeBSD rele= ases >=20 >>>> Since these scripts are designed to run on FreeBSD 10.0 and newer, I'd= like to >>>> know if there is a way to prevent the port from installing on older Fr= eeBSD >>>> releases. In the Porter's Handbook I found this paragraph, but it seem= s regarding >>>> only ported app's source=A0 code: >>>> https://www.freebsd.org/doc/en/books/porters-handbook/porting-version= s.html >>> >>> Sorry, just found by myself. I included these lines before the do-insta= ll section: >>> >>> .include >>> .if ${OSVERSION} < 1000100 >>> IGNORE=3D=A0=A0=A0=A0=A0=A0=A0=A0 runs only on FreeBSD 10.0 and newer >>> .endif >>=20 >> It's really not needed at all. Nothing below 10.3 is supported, and the = ports system will >> complain already. Please don't include that block in your port. >>=20 >> # Adam >>=20 >>=20 > Thats not true. I have port version just for 9.x and even today I still=20 > see the source file the port fetches still being downloaded. >=20 > It has > IGNORE_FreeBSD_10=3D and IGNORE_FreeBSD_11=3D in it's Makefile. > Best you have IGNORE_FreeBSD_9=3D=A0 in your Makefile to be sure you get= =20 > what you want. Actually, it seems that Matthew and Adam are right, but I'm not able to und= erstand if it's a warn or a block action: https://svnweb.freebsd.org/ports?view=3Drevision&revision=3D431746