diff options
author | bsam <bsam@FreeBSD.org> | 2009-03-20 01:28:51 +0800 |
---|---|---|
committer | bsam <bsam@FreeBSD.org> | 2009-03-20 01:28:51 +0800 |
commit | b5b6ef339af6e9567c4016e6901e2bfe99d8929d (patch) | |
tree | ae0eafd06267e327a81b96ea5185410d99119e0b /Mk/bsd.linux-rpm.mk | |
parent | 0204725af4e2f2a52e65017bb4dc7820bee39bab (diff) | |
download | freebsd-ports-graphics-b5b6ef339af6e9567c4016e6901e2bfe99d8929d.tar.gz freebsd-ports-graphics-b5b6ef339af6e9567c4016e6901e2bfe99d8929d.tar.zst freebsd-ports-graphics-b5b6ef339af6e9567c4016e6901e2bfe99d8929d.zip |
Welcome to the new linux ports infrastructure which allows using
both current (fc4) and future linux (f8) distributions at one
ports tree.
The patch contains full changes to ports/Mk files and all ports involved.
But only infrastructure is changed. The resulting packages are the same as
before. Hence no need to bump PORTREVISIONs.
The idea was taken from bsd.gnome.mk and others.
More than 130 ports are switched to follow a new linux infrastructure
introduced by changes to bsd.port.mk, bsd.linux-rpm.mk and a new
bsd.linux-apps.mk.
Thanks for all who was involved and helped me with this work.
And help from Alexander Leidinger was incredible.
Other changes are coming. Stay tuned!
PR: ports/132510
Submitted by: bsam (me)
Exp-run by: portmgr (pav)
Diffstat (limited to 'Mk/bsd.linux-rpm.mk')
-rw-r--r-- | Mk/bsd.linux-rpm.mk | 16 |
1 files changed, 14 insertions, 2 deletions
diff --git a/Mk/bsd.linux-rpm.mk b/Mk/bsd.linux-rpm.mk index f7aac003d56..553c4c3c7d4 100644 --- a/Mk/bsd.linux-rpm.mk +++ b/Mk/bsd.linux-rpm.mk @@ -1,7 +1,7 @@ #-*- mode: Makefile; tab-width: 4; -*- # ex:ts=4 # -# $FreeBSD: /tmp/pcvs/ports/Mk/bsd.linux-rpm.mk,v 1.13 2008-08-15 12:29:42 bsam Exp $ +# $FreeBSD: /tmp/pcvs/ports/Mk/bsd.linux-rpm.mk,v 1.14 2009-03-19 17:28:30 bsam Exp $ # # Variables: @@ -65,12 +65,24 @@ LINUX_DIST_VER?= 3 DIST_SUBDIR?= rpm/${LINUX_RPM_ARCH}/${LINUX_DIST}/${LINUX_DIST_VER} . if ${LINUX_DIST} == "fedora" +# we do not want to define MASTER_SITES and MASTER_SITE_* if they are already defined +# ex.: MASTER_SITES=file:///... . ifndef MASTER_SITES -MASTER_SITES?= ${MASTER_SITE_FEDORA_LINUX} +MASTER_SITES= ${MASTER_SITE_FEDORA_LINUX} +. if ${LINUX_DIST_VER} == 8 +. if (${LINUX_OSRELEASE} != "2.6.16") && defined(PACKAGE_BUILDING) +IGNORE= packages should be built with compat.linux.osrelease=2.6.16 +. endif +MASTER_SITE_SUBDIR?= ../releases/${LINUX_DIST_VER}/Everything/${LINUX_RPM_ARCH}/os/Packages \ + ../updates/${LINUX_DIST_VER}/${LINUX_RPM_ARCH}.newkey +MASTER_SITE_SRC_SUBDIR?= ../releases/${LINUX_DIST_VER}/Everything/source/SRPMS \ + ../updates/${LINUX_DIST_VER}/SRPMS.newkey +. else MASTER_SITE_SUBDIR?= ${LINUX_DIST_VER}/${LINUX_RPM_ARCH}/os/Fedora/RPMS \ updates/${LINUX_DIST_VER}/${LINUX_RPM_ARCH} MASTER_SITE_SRC_SUBDIR?= ${LINUX_DIST_VER}/SRPMS \ updates/${LINUX_DIST_VER}/SRPMS +. endif . endif . else IGNORE= unknown LINUX_DIST in port Makefile |