From owner-freebsd-emulation@FreeBSD.ORG Sat Mar 24 17:14:48 2007 Return-Path: X-Original-To: emulation@FreeBSD.org Delivered-To: freebsd-emulation@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 9F92916A404 for ; Sat, 24 Mar 2007 17:14:48 +0000 (UTC) (envelope-from bsam@bsam.ru) Received: from mail.kuban.ru (mail.kuban.ru [62.183.66.246]) by mx1.freebsd.org (Postfix) with ESMTP id 1C49113C43E for ; Sat, 24 Mar 2007 17:14:47 +0000 (UTC) (envelope-from bsam@bsam.ru) Received: from bsam.ru ([85.172.12.59]) by mail.kuban.ru (8.9.1/8.9.1) with ESMTP id l2OHETii007766 for ; Sat, 24 Mar 2007 20:14:40 +0300 (MSK) Received: from bsam by bsam.ru with local (Exim 4.62 (FreeBSD)) (envelope-from ) id 1HV9p5-0004TA-7s for emulation@FreeBSD.org; Sat, 24 Mar 2007 20:14:35 +0300 To: emulation@FreeBSD.org From: Boris Samorodov Date: Sat, 24 Mar 2007 20:14:35 +0300 Message-ID: <11780964@bsam.ru> User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: Boris Samorodov Cc: Subject: [patch] bsd.linux-rpm.mk: PKGNAMEPREFIX for FC6 ports X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 24 Mar 2007 17:14:48 -0000 Hi! For upcoming FC6 ports I propose to use PKGNAMEPREFIX=linux-fc6- (the patch here is not tab/space clean): ----- diff -r c24140fcbe73 ports/Mk/bsd.linux-rpm.mk --- a/ports/Mk/bsd.linux-rpm.mk Sat Mar 24 19:08:18 2007 +0300 +++ b/ports/Mk/bsd.linux-rpm.mk Sat Mar 24 19:15:33 2007 +0300 @@ -77,7 +77,12 @@ IGNORE= unknown LINUX_DIST in port Makef IGNORE= unknown LINUX_DIST in port Makefile . endif . endif + +. if ${LINUX_DIST} == "fedora" && ${LINUX_DIST_VER} == "6" +PKGNAMEPREFIX?= linux-fc6- +. else PKGNAMEPREFIX?= linux- +. endif # DISTFILES and SRC_DISTFILES assume that there is only one bindist # and one src file. ----- WBR -- Boris Samorodov (bsam) Research Engineer, http://www.ipt.ru Telephone & Internet SP FreeBSD committer, http://www.FreeBSD.org The Power To Serve