Skip site navigation (1)Skip section navigation (2)
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
--Boundary-00=_+FnaDrRdhH8FOPj
Content-Type: text/plain;
  charset="us-ascii"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

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

--Boundary-00=_+FnaDrRdhH8FOPj
Content-Type: text/x-diff;
  charset="us-ascii";
  name="patch-amd64"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
	filename="patch-amd64"

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")

--Boundary-00=_+FnaDrRdhH8FOPj--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200511032122.22485.arved>