Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 3 Jan 2005 10:12:58 +0100
From:      Francois Tigeot <ftigeot@wolfpond.org>
To:        freebsd-amd64@freebsd.org
Subject:   [patch] Enable java/linux-sun-jdk14 installation with linux_base-8
Message-ID:  <20050103091258.GA17255@aoi.wolfpond.org>

next in thread | raw e-mail | index | archive | help

--TB36FDmn/VVEgNH/
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

Hi,

With the new linux_base-8 default java/linux-sun-jdk14 does not install out 
of the box.

The attached patch should fix that.

It would be nice if some people could test it before I fill a PR.

-- 
Francois Tigeot

--TB36FDmn/VVEgNH/
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename=patch-linux32

--- x11-toolkits/linux-gtk/Makefile.orig	Sat Jan  1 11:50:54 2005
+++ x11-toolkits/linux-gtk/Makefile	Sun Jan  2 09:45:16 2005
@@ -24,7 +24,7 @@
 USE_LINUX_PREFIX=	yes
 USE_LINUX=	yes
 
-ONLY_FOR_ARCHS?=	i386 alpha
+ONLY_FOR_ARCHS?=	i386 alpha amd64
 DIST_SUBDIR?=	rpm
 EXTRACT_ONLY=
 NO_BUILD=	yes
@@ -67,3 +67,9 @@
 		>> ${PLIST}.new
 
 .include <bsd.port.mk>
+
+.if (${ARCH} == "amd64")
+ARCH=	i386
+MACHINE_ARCH=	i386
+RPMFLAGS+= --ignorearch
+.endif
--- textproc/linux-expat/Makefile.orig	Sat Jan  1 11:50:21 2005
+++ textproc/linux-expat/Makefile	Sun Jan  2 09:46:41 2005
@@ -16,7 +16,7 @@
 RUN_DEPENDS=
 
 BASEVERSION=	9
-ONLY_FOR_ARCHS=	i386
+ONLY_FOR_ARCHS=	i386 amd64
 PLIST=		${WRKDIR}/plist
 RPM_SET=	expat-1.95.5-2.i386.rpm
 
--- x11-fonts/linux-fontconfig/Makefile.orig	Fri Dec 31 19:24:09 2004
+++ x11-fonts/linux-fontconfig/Makefile	Sun Jan  2 13:06:43 2005
@@ -19,7 +19,7 @@
 
 USE_REINPLACE=	yes
 BASEVERSION=	9
-ONLY_FOR_ARCHS=	i386
+ONLY_FOR_ARCHS=	i386 amd64
 PLIST=		${WRKDIR}/plist
 RPM_SET=	fontconfig-2.1-9.i386.rpm
 

--TB36FDmn/VVEgNH/--



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