[patch] bsd.linux-rpm.mk: PKGNAMEPREFIX for FC6 ports
Boris Samorodov
bsam at ipt.ru
Sat Mar 24 17:14:48 UTC 2007
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
More information about the freebsd-emulation
mailing list