Date: Thu, 3 Nov 2005 21:22:22 +0100 From: Tilman Linneweh <arved@freebsd.org> To: freebsd-emulation@freebsd.org, arved@freebsd.org Subject: Fix slave ports of linux-gtk on amd64 Message-ID: <200511032122.22485.arved@freebsd.org>
next in thread | raw e-mail | index | archive | help
[-- Attachment #1 --]
Hi,
Please review the following hack.
Currently linux-jpeg & Co. are not fetchable, because the ARCH manipulation
needs to happen before bsd.port.pre.mk.
regards
tilman
[-- Attachment #2 --]
Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/x11-toolkits/linux-gtk/Makefile,v
retrieving revision 1.31
diff -u -r1.31 Makefile
--- Makefile 17 Jun 2005 22:59:28 -0000 1.31
+++ Makefile 3 Nov 2005 20:17:08 -0000
@@ -29,6 +29,11 @@
USE_LINUX= yes
USE_LINUX_PREFIX= yes
+.if (${MACHINE_ARCH} == "amd64")
+ARCH= i386
+RPMFLAGS+= --ignorearch
+.endif
+
.include <bsd.port.pre.mk>
.if (${ARCH} == "amd64")
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200511032122.22485.arved>
