From owner-freebsd-ports@freebsd.org Mon Feb 27 17:20:24 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 035C3CF0A2B for ; Mon, 27 Feb 2017 17:20:24 +0000 (UTC) (envelope-from andrew.hotlab@hotmail.com) Received: from BAY004-OMC3S17.hotmail.com (bay004-omc3s17.hotmail.com [65.54.190.155]) (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 C56FEA6A for ; Mon, 27 Feb 2017 17:20:23 +0000 (UTC) (envelope-from andrew.hotlab@hotmail.com) Received: from EUR03-DB5-obe.outbound.protection.outlook.com ([65.54.190.189]) by BAY004-OMC3S17.hotmail.com over TLS secured channel with Microsoft SMTPSVC(7.5.7601.23008); Mon, 27 Feb 2017 09:19:18 -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=4TI4Y0CCSTxc3pVZeaxtlSjZi9f7F0SNSRJOqABGzks=; b=BmELYCFnqv+InVHM4ZD1l4idXXyH0BVlj5kHoqZZv8f3MEPp0S//Y+c5DUnEF74l5Tk3KrUD5wg1dspKh7iXh0meFm4VXajx/mIli7wQMOQVktpvlvpl1qQWQr+VeaUqQgDNKsD2wt8e3AohCwNTbRH9BYJv8IrEXD1FS6Xlr5YjwqdrSwbfi6G7uFKAbXbH+bBOjxwPqIxm/EpiDzQIDsDMomZy53/Pj1UCmSxWC9MoeV2Etb1kyT7aWWWNPytY+43k6OBFqO4mNi2SKi+JoQOMDSrwStD44i/p18zDAlfO8AG6XPVF+sL9OAmMyGZdV4216hdPU/tMFUrHWmFPiw== Received: from VE1EUR03FT032.eop-EUR03.prod.protection.outlook.com (10.152.18.58) by VE1EUR03HT146.eop-EUR03.prod.protection.outlook.com (10.152.19.92) 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:19:07 +0000 Received: from AM3PR02MB312.eurprd02.prod.outlook.com (10.152.18.60) by VE1EUR03FT032.mail.protection.outlook.com (10.152.18.121) 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:19:07 +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:19:07 +0000 From: Andrew Hotlab To: Adam Weinberger CC: Ernie Luzar , "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///2V4CAAAPCAIAAA8jlgAACO4CAAABxwA== Date: Mon, 27 Feb 2017 17:19:07 +0000 Message-ID: References: <605504AE-19B6-4269-A8A0-7BECEDE9975C@adamw.org> <58B45732.8060001@gmail.com> , In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: gmail.com; dkim=none (message not signed) header.d=none;gmail.com; dmarc=none action=none header.from=hotmail.com; x-incomingtopheadermarker: OriginalChecksum:6757188FB1ADB882BF18DCC34D920DD86C32C6742D31FF7E31ABC90AC773AC37; UpperCasedChecksum:EE3B44859FFDE2F1D01EB932D02A66271689A0A4DB3A24FA9D9149A014932234; SizeAsReceived:8255; Count:40 x-ms-exchange-messagesentrepresentingtype: 1 x-tmn: [ncq4nng3BN5fooJ/d9UifrUNW8CkfDN5] x-incomingheadercount: 40 x-eopattributedmessage: 0 x-microsoft-exchange-diagnostics: 1; VE1EUR03HT146; 5:CmWhPUb95NvHICPc6c/UNf9baVpotUI2pbILjx5Z2Q468qfAecN3P9C8AOpwDAltQL9IkBeWVgCJ+DuMw5veeCXTqeRY9XQBbGYszgL6EEytgut6P1HCHAbDy2RNNdsiPXFFFjdn2jlgxUcdNQ3N7A==; 24:+jmLeYFvem06W9us4VDVlzdwgIV7+VFErW6oseDbimIuzVktNW57YQAuxnDeBqvRluzXaE6gjgCB74MCPL0PBGD8TsT7vhHHeHA+EMDhbkU=; 7:t5bg5xZycy4eDaaq6Xwd6NKi83Nbv4srekBLN5JmA/oKwWz8TVyLtWvPnsIG7m2EatqYWyd4j9QnhkIMChwNP3fUsUCCehxrTRFvYiNaDFZZMDZeexiIUx4TIu6ngXaFqbgW4+8Bgp00V83Bvg253D0/60Mo7wvbI0SquUgTZLtKryhOCIi6ofrJDi9q8op99+/LKMrLsFZvglxavCGE5IponYPUhKMXOPkbOox2zEl4Lb9uAyTsZPdXO+v47poD/0IiacGNnKoJDzLjhv2mXWy9BKNx/lBxlXlxxpPz+YeKAJBTKov+wQv1tVVN5aj6 x-forefront-antispam-report: EFV:NLI; SFV:NSPM; SFS:(10019020)(98900012); DIR:OUT; SFP:1102; SCL:1; SRVR:VE1EUR03HT146; H:AM3PR02MB312.eurprd02.prod.outlook.com; FPR:; SPF:None; LANG:en; x-ms-office365-filtering-correlation-id: 666b5f4b-66bb-4561-b169-08d45f34bc8d x-microsoft-antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001)(201702061074)(5061506573)(5061507331)(1603103135)(1601125254)(1603101448)(1701031045); SRVR:VE1EUR03HT146; x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(432015087)(444000031); SRVR:VE1EUR03HT146; BCL:0; PCL:0; RULEID:; SRVR:VE1EUR03HT146; 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:19:07.1329 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Internet X-MS-Exchange-CrossTenant-id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-Transport-CrossTenantHeadersStamped: VE1EUR03HT146 X-OriginalArrivalTime: 27 Feb 2017 17:19:18.0060 (UTC) FILETIME=[A08956C0:01D2911D] 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:20:24 -0000 > From: Adam Weinberger > Sent: Monday, February 27, 2017 6:05 PM > To: Andrew Hotlab > Cc: Ernie Luzar; freebsd-ports@freebsd.org > Subject: Re: [SOLVED] How to create a port only for specific FreeBSD rele= ases >=20 >> On 27 Feb, 2017, at 10:00, Andrew Hotlab wro= te: >>=20 >>> 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 re= leases >>>=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 = FreeBSD >>>>>> releases. In the Porter's Handbook I found this paragraph, but it se= ems regarding >>>>>> only ported app's source=A0 code: >>>>>> https://www.freebsd.org/doc/en/books/porters-handbook/porting-versi= ons.html >>>>>=20 >>>>> Sorry, just found by myself. I included these lines before the do-ins= tall section: >>>>>=20 >>>>> .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 th= e 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 ge= t=20 >>> what you want. >>=20 >> Actually, it seems that Matthew and Adam are right, but I'm not able to = understand if >> it's a warn or a block action: >> https://svnweb.freebsd.org/ports?view=3Drevision&revision=3D431746 >=20 > It's a block, but it's overridable. >=20 Ok, I guess the better way is to let bsd.port.mk do the job for me! :) Thanks to all you guys!