diff options
author | Greg Lewis <glewis@FreeBSD.org> | 2005-06-02 16:43:18 +0000 |
---|---|---|
committer | Greg Lewis <glewis@FreeBSD.org> | 2005-06-02 16:43:18 +0000 |
commit | 38306e39d77a5e0636f66201ea469b8464dc275e (patch) | |
tree | b2a66c10e91725b24f2863e88aa0e1ddb48e13a8 /archivers | |
parent | 07c0617c4fc9184be019ea48e3f83c8b8706758b (diff) |
. 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)
Notes
Notes:
svn path=/head/; revision=136684
Diffstat (limited to 'archivers')
-rw-r--r-- | archivers/rpm4/Makefile | 2 | ||||
-rw-r--r-- | archivers/rpm4/files/patch-rpmrc.in | 53 | ||||
-rw-r--r-- | archivers/rpm5/Makefile | 2 | ||||
-rw-r--r-- | archivers/rpm5/files/patch-rpmrc.in | 53 |
4 files changed, 108 insertions, 2 deletions
diff --git a/archivers/rpm4/Makefile b/archivers/rpm4/Makefile index 7b2ac32022d7..52149309d9d0 100644 --- a/archivers/rpm4/Makefile +++ b/archivers/rpm4/Makefile @@ -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/ diff --git a/archivers/rpm4/files/patch-rpmrc.in b/archivers/rpm4/files/patch-rpmrc.in new file mode 100644 index 000000000000..810927e1c52b --- /dev/null +++ b/archivers/rpm4/files/patch-rpmrc.in @@ -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 + diff --git a/archivers/rpm5/Makefile b/archivers/rpm5/Makefile index 7b2ac32022d7..52149309d9d0 100644 --- a/archivers/rpm5/Makefile +++ b/archivers/rpm5/Makefile @@ -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/ diff --git a/archivers/rpm5/files/patch-rpmrc.in b/archivers/rpm5/files/patch-rpmrc.in new file mode 100644 index 000000000000..810927e1c52b --- /dev/null +++ b/archivers/rpm5/files/patch-rpmrc.in @@ -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 + |