From owner-freebsd-ports@freebsd.org Mon Feb 27 16:48:29 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 52901CF0DA7 for ; Mon, 27 Feb 2017 16:48:29 +0000 (UTC) (envelope-from andrew.hotlab@hotmail.com) Received: from BLU004-OMC1S26.hotmail.com (blu004-omc1s26.hotmail.com [65.55.116.37]) (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 03C85FBC for ; Mon, 27 Feb 2017 16:48:28 +0000 (UTC) (envelope-from andrew.hotlab@hotmail.com) Received: from EUR01-VE1-obe.outbound.protection.outlook.com ([65.55.116.9]) by BLU004-OMC1S26.hotmail.com over TLS secured channel with Microsoft SMTPSVC(7.5.7601.23008); Mon, 27 Feb 2017 08:47:20 -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=UgmI0NiabZfTaXVSGudNvhRRanw3Exi1Z3DS9md4GxU=; b=a7kljd49eno/aJS3mejnfaOdtVMvpX080lKJy+bv9dlp1LwcZOHiJi0erkfXOgRJGPr2Ub8ool7EI7/J5cLVeSnzYRPvSYOZNEK0M9i961xQC7tdG9qr3q7GaLP150jQdpqq1PKRk62SJvy8oqQUd+EFjTecqeoSiPGCl0wgm+esCUbtRTgteeGnmjqrWjxmZMZhxD/LdrqQhpUT/NexQDgijBw/+tBDBN781M3Mg/JCRPwciVimc3ugsnvfMxFAINTD4Xa7ZwLL360A37gwU6ZxvSDN/bb3ayERMmsrYiFdIU5Q1dvLEvf3neZ2Uz3Jmau+Kqz/+uq6+bJ+S47I+Q== Received: from HE1EUR01FT062.eop-EUR01.prod.protection.outlook.com (10.152.0.55) by HE1EUR01HT232.eop-EUR01.prod.protection.outlook.com (10.152.0.100) 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 16:47:11 +0000 Received: from AM3PR02MB312.eurprd02.prod.outlook.com (10.152.0.58) by HE1EUR01FT062.mail.protection.outlook.com (10.152.1.16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.919.10 via Frontend Transport; Mon, 27 Feb 2017 16:47:11 +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 16:47:11 +0000 From: Andrew Hotlab To: 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///2V4CAAANbfg== Date: Mon, 27 Feb 2017 16:47:11 +0000 Message-ID: References: , <605504AE-19B6-4269-A8A0-7BECEDE9975C@adamw.org> In-Reply-To: <605504AE-19B6-4269-A8A0-7BECEDE9975C@adamw.org> 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:6CA481188B45CF06450EED54B858B87F19C3E4AFD657537E6D9292E264DA170F; UpperCasedChecksum:31C15870B8B6A4DE9770D57239699199D16385701781785EB52BFA9CE8DEC370; SizeAsReceived:8028; Count:40 x-ms-exchange-messagesentrepresentingtype: 1 x-tmn: [hzssX6xFsHt7F5/1nI3gzkc5aUa41COw] x-incomingheadercount: 40 x-eopattributedmessage: 0 x-microsoft-exchange-diagnostics: 1; HE1EUR01HT232; 5:XnwsL4I/UsMOkEpWpdAwgJkPZh6xrK3ENsq3NtX5fjcrFjfw8m5q+68FiH7mRCSy3Xcg7TisSK+ZMWfdNQlhpW7TdINnVXE2z+MVPwKcBZYvy1jnQokRWhASBVIzgePGXk/slLVVMfi4CJTKXztxIA==; 24:S0XFraZTUEgK3MHdmkZTsF2vWTP4leQiHT3rywcvuW+GBYBSDpgV+GI0C4OVPZbKZVaEwiqICG/Yw3Kzr92SGmTNxH0CRzhOa4yn/HgNhpM=; 7:s5RAR5l0mfcZe8DLWzn1cr/pb8nCMuvp6HuHwhZHKL51qZdWV7Kt2RozJ0lLdnmcZvxyzjtSDLmFeExpbGKK3KscCOmdXOtCpi6o0VB+jusxdRuPl71HfajjZ7Cpq+w2nlLu8nbzcqs4AlvOVsKH3hLqLUZn//SggZBUfXiIHmAB9tXkIuhyqvErEyIeWtX/FLOsS48dRMURqFopAkqySJm/sMHZUD8wMaDBhkxGN33y5Y0IqtfUPaoRO/Kta8m639524CFaXTW9z89rSXxkU29xm/cgeKDfRl39P960qaD59w9WMAlrZSRNJaG7cg71 x-forefront-antispam-report: EFV:NLI; SFV:NSPM; SFS:(10019020)(98900012); DIR:OUT; SFP:1102; SCL:1; SRVR:HE1EUR01HT232; H:AM3PR02MB312.eurprd02.prod.outlook.com; FPR:; SPF:None; LANG:en; x-ms-office365-filtering-correlation-id: 22b45e0c-2319-4784-0c56-08d45f3046bc x-microsoft-antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001)(201702061074)(5061506573)(5061507331)(1603103135)(1601125254)(1603101448)(1701031045); SRVR:HE1EUR01HT232; x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(432015087)(444000031); SRVR:HE1EUR01HT232; BCL:0; PCL:0; RULEID:; SRVR:HE1EUR01HT232; 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 16:47:11.4474 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Internet X-MS-Exchange-CrossTenant-id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-Transport-CrossTenantHeadersStamped: HE1EUR01HT232 X-OriginalArrivalTime: 27 Feb 2017 16:47:20.0973 (UTC) FILETIME=[29DD13D0:01D29119] 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 16:48:29 -0000 > From: Adam Weinberger >=20 > Sent: Monday, February 27, 2017 5:30 PM > To: Andrew Hotlab > Cc: freebsd-ports@freebsd.org > Subject: Re: [SOLVED] How to create a port only for specific FreeBSD rele= ases > =A0 =20 >> On 27 Feb, 2017, at 9:07, Andrew Hotlab wrot= e: >>=20 >>> From: Andrew Hotlab >>> Sent: Monday, February 27, 2017 3:37 PM >>> To: freebsd-ports@freebsd.org >>> Subject: How to create a port only for specific FreeBSD releases >>> =A0=A0=A0=A0=20 >>> Hi to all, I'm trying to make a port which installs only a couple of si= mple scripts >>> (thus NO_BUILD, NO_ARCH, and void MASTER_SITES and DISTFILES...). >>>=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 Fre= eBSD >>> releases. In the Porter's Handbook I found this paragraph, but it seems= regarding >>> only ported app's source=A0 code: >>> https://www.freebsd.org/doc/en/books/porters-handbook/porting-versions= .html >>=20 >>=20 >> Sorry, just found by myself. I included these lines before the do-instal= l 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 the p= orts system > will complain already. Please don't include that block in your port. >=20 > # Adam Thank you Adam, I wrote my previous post before reading Matthew's reply. I removed that check from my port.