aboutsummaryrefslogtreecommitdiffstats
path: root/archivers/rpm4
diff options
context:
space:
mode:
authorglewis <glewis@FreeBSD.org>2005-06-03 00:43:18 +0800
committerglewis <glewis@FreeBSD.org>2005-06-03 00:43:18 +0800
commit5207159990bd0f973276fe7296626f50f98f4109 (patch)
tree30fce44b0f627eff0e06b730d297c7fcf234f3b9 /archivers/rpm4
parent01204934b7f4174eb1e7867d43835e75bcd849e2 (diff)
downloadfreebsd-ports-gnome-5207159990bd0f973276fe7296626f50f98f4109.tar.gz
freebsd-ports-gnome-5207159990bd0f973276fe7296626f50f98f4109.tar.zst
freebsd-ports-gnome-5207159990bd0f973276fe7296626f50f98f4109.zip
. 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)
Diffstat (limited to 'archivers/rpm4')
-rw-r--r--archivers/rpm4/Makefile2
-rw-r--r--archivers/rpm4/files/patch-rpmrc.in53
2 files changed, 54 insertions, 1 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
+
td>- Fix trailing whitespace in pkg-descrs, categories [p-x]*amdmi32016-05-191-1/+1 * Update to 5.0.6.jkim2016-05-071-4/+4 * Make fetchable again.cy2016-04-291-3/+1 * Remove ${PORTSDIR}/ from dependencies, categories v, w, x, y, and z.mat2016-04-011-1/+1 * Update to 5.0.5.jkim2016-02-161-4/+4 * vietnamese/vnless: USES+= ncurses, link with libncurses (not termcap)marino2016-02-061-0/+2 * vietname/urvwn: Remove unnecessary <pre>/<post> inclusionsmarino2016-01-231-3/+2 * vietnames/vietunicode-*: Unbreak indexmarino2016-01-173-3/+3 * vietnamese/vietunicode-*: Fix options (3 ports)marino2016-01-173-9/+6 * Update to 5.0.4.jkim2015-12-181-4/+4 * Mark a few ports BROKEN: unfetchableantoine2015-11-091-0/+2 * Fix ports that confused the meaning of WRKDIR and WRKSRC.mat2015-11-051-4/+4 * Update to 5.0.3.jkim2015-11-041-4/+4 * - Switch to options helpersamdmi32015-10-151-0/+2 * Update to 5.0.2.jkim2015-09-242-6/+6 * Update LibreOffice to 5.0.1.jkim2015-09-021-4/+4 * vietnamese/libviet is not jobs safemarino2015-08-23