mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-25 04:43:33 +00:00
. Change rpmrc to support amd64 and also to indicate that i386 and amd64
are compatible. This differs from PR 80922 in that amd64 is made the canonical RPM architecture on that architecture rather than x86_64 as it is under Linux. . Bump PORTREVISION. PR: 80922 (based on)
This commit is contained in:
parent
07c0617c4f
commit
38306e39d7
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=136684
@ -6,7 +6,7 @@
|
||||
|
||||
PORTNAME= rpm
|
||||
PORTVERSION= 4.0.4
|
||||
PORTREVISION= 2
|
||||
PORTREVISION= 3
|
||||
CATEGORIES= archivers
|
||||
MASTER_SITES= ftp://ftp.rpm.org/pub/rpm/dist/rpm-4.0.x/ \
|
||||
ftp://ftp.mirrorservice.org/sites/ftp.rpm.org/pub/rpm/dist/rpm-4.0.x/
|
||||
|
53
archivers/rpm4/files/patch-rpmrc.in
Normal file
53
archivers/rpm4/files/patch-rpmrc.in
Normal file
@ -0,0 +1,53 @@
|
||||
--- rpmrc.in.orig Wed May 25 11:34:33 2005
|
||||
+++ rpmrc.in Wed May 25 11:44:51 2005
|
||||
@@ -19,6 +19,7 @@
|
||||
optflags: i686 -O2 -march=i686
|
||||
optflags: athlon -O2 -march=athlon
|
||||
optflags: ia64 -O2
|
||||
+optflags: amd64 -O2
|
||||
|
||||
# XXX Please note that -mieee has been added in rpm-3.0.5.
|
||||
optflags: alpha -O2 -mieee
|
||||
@@ -71,6 +72,9 @@
|
||||
arch_canon: i586: i586 1
|
||||
arch_canon: i486: i486 1
|
||||
arch_canon: i386: i386 1
|
||||
+arch_canon: amd64: amd64 1
|
||||
+arch_canon: x86_64: x86_64 1
|
||||
+arch_canon: ia32e: ia32e 1
|
||||
|
||||
arch_canon: alpha: alpha 2
|
||||
arch_canon: alphaev5: alphaev5 2
|
||||
@@ -195,6 +199,10 @@
|
||||
buildarchtranslate: s390: s390
|
||||
buildarchtranslate: s390x: s390x
|
||||
|
||||
+buildarchtranslate: amd64: amd64
|
||||
+buildarchtranslate: x86_64: amd64
|
||||
+buildarchtranslate: ia32e: amd64
|
||||
+
|
||||
#############################################################
|
||||
# Architecture compatibility
|
||||
|
||||
@@ -260,6 +268,10 @@
|
||||
|
||||
arch_compat: ia64: i686 noarch
|
||||
|
||||
+arch_compat: amd64: athlon noarch
|
||||
+arch_compat: x86_64: amd64 athlon noarch
|
||||
+arch_compat: ia32e: amd64 athlon noarch
|
||||
+
|
||||
os_compat: IRIX64: IRIX
|
||||
os_compat: solaris2.7: solaris2.3 solaris2.4 solaris2.5 solaris2.6
|
||||
os_compat: solaris2.6: solaris2.3 solaris2.4 solaris2.5
|
||||
@@ -342,6 +354,10 @@
|
||||
|
||||
buildarch_compat: s390: noarch
|
||||
buildarch_compat: s390x: noarch
|
||||
+
|
||||
+buildarch_compat: amd64: noarch
|
||||
+buildarch_compat: x86_64: amd64
|
||||
+buildarch_compat: ia32e: amd64
|
||||
|
||||
macrofiles: @RPMCONFIGDIR@/macros:@RPMCONFIGDIR@/%{_target}/macros:@SYSCONFIGDIR@/macros.specspo:@SYSCONFIGDIR@/macros.db1:@SYSCONFIGDIR@/macros.cdb:@SYSCONFIGDIR@/macros:@SYSCONFIGDIR@/%{_target}/macros:~/.rpmmacros
|
||||
|
@ -6,7 +6,7 @@
|
||||
|
||||
PORTNAME= rpm
|
||||
PORTVERSION= 4.0.4
|
||||
PORTREVISION= 2
|
||||
PORTREVISION= 3
|
||||
CATEGORIES= archivers
|
||||
MASTER_SITES= ftp://ftp.rpm.org/pub/rpm/dist/rpm-4.0.x/ \
|
||||
ftp://ftp.mirrorservice.org/sites/ftp.rpm.org/pub/rpm/dist/rpm-4.0.x/
|
||||
|
53
archivers/rpm5/files/patch-rpmrc.in
Normal file
53
archivers/rpm5/files/patch-rpmrc.in
Normal file
@ -0,0 +1,53 @@
|
||||
--- rpmrc.in.orig Wed May 25 11:34:33 2005
|
||||
+++ rpmrc.in Wed May 25 11:44:51 2005
|
||||
@@ -19,6 +19,7 @@
|
||||
optflags: i686 -O2 -march=i686
|
||||
optflags: athlon -O2 -march=athlon
|
||||
optflags: ia64 -O2
|
||||
+optflags: amd64 -O2
|
||||
|
||||
# XXX Please note that -mieee has been added in rpm-3.0.5.
|
||||
optflags: alpha -O2 -mieee
|
||||
@@ -71,6 +72,9 @@
|
||||
arch_canon: i586: i586 1
|
||||
arch_canon: i486: i486 1
|
||||
arch_canon: i386: i386 1
|
||||
+arch_canon: amd64: amd64 1
|
||||
+arch_canon: x86_64: x86_64 1
|
||||
+arch_canon: ia32e: ia32e 1
|
||||
|
||||
arch_canon: alpha: alpha 2
|
||||
arch_canon: alphaev5: alphaev5 2
|
||||
@@ -195,6 +199,10 @@
|
||||
buildarchtranslate: s390: s390
|
||||
buildarchtranslate: s390x: s390x
|
||||
|
||||
+buildarchtranslate: amd64: amd64
|
||||
+buildarchtranslate: x86_64: amd64
|
||||
+buildarchtranslate: ia32e: amd64
|
||||
+
|
||||
#############################################################
|
||||
# Architecture compatibility
|
||||
|
||||
@@ -260,6 +268,10 @@
|
||||
|
||||
arch_compat: ia64: i686 noarch
|
||||
|
||||
+arch_compat: amd64: athlon noarch
|
||||
+arch_compat: x86_64: amd64 athlon noarch
|
||||
+arch_compat: ia32e: amd64 athlon noarch
|
||||
+
|
||||
os_compat: IRIX64: IRIX
|
||||
os_compat: solaris2.7: solaris2.3 solaris2.4 solaris2.5 solaris2.6
|
||||
os_compat: solaris2.6: solaris2.3 solaris2.4 solaris2.5
|
||||
@@ -342,6 +354,10 @@
|
||||
|
||||
buildarch_compat: s390: noarch
|
||||
buildarch_compat: s390x: noarch
|
||||
+
|
||||
+buildarch_compat: amd64: noarch
|
||||
+buildarch_compat: x86_64: amd64
|
||||
+buildarch_compat: ia32e: amd64
|
||||
|
||||
macrofiles: @RPMCONFIGDIR@/macros:@RPMCONFIGDIR@/%{_target}/macros:@SYSCONFIGDIR@/macros.specspo:@SYSCONFIGDIR@/macros.db1:@SYSCONFIGDIR@/macros.cdb:@SYSCONFIGDIR@/macros:@SYSCONFIGDIR@/%{_target}/macros:~/.rpmmacros
|
||||
|
Loading…
Reference in New Issue
Block a user