Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 24 Mar 2007 20:14:35 +0300
From:      Boris Samorodov <bsam@ipt.ru>
To:        emulation@FreeBSD.org
Subject:   [patch] bsd.linux-rpm.mk: PKGNAMEPREFIX for FC6 ports
Message-ID:  <11780964@bsam.ru>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?11780964>