From owner-freebsd-java@FreeBSD.ORG Sun Feb 6 20:50:23 2005 Return-Path: Delivered-To: freebsd-java@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 38EB616A4CE for ; Sun, 6 Feb 2005 20:50:23 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1BB7943D1D for ; Sun, 6 Feb 2005 20:50:23 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.1/8.13.1) with ESMTP id j16KoM0E032256 for ; Sun, 6 Feb 2005 20:50:22 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.1/8.13.1/Submit) id j16KoMmH032255; Sun, 6 Feb 2005 20:50:22 GMT (envelope-from gnats) Date: Sun, 6 Feb 2005 20:50:22 GMT Message-Id: <200502062050.j16KoMmH032255@freefall.freebsd.org> To: freebsd-java@FreeBSD.org From: Francois Tigeot Subject: Re: ports/75852: [patch] Make java/linux-sun-jdk14 install on amd64 X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Francois Tigeot List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 06 Feb 2005 20:50:23 -0000 The following reply was made to PR ports/75852; it has been noted by GNATS. From: Francois Tigeot To: freebsd-gnats-submit@FreeBSD.org Cc: ftigeot@wolfpond.org Subject: Re: ports/75852: [patch] Make java/linux-sun-jdk14 install on amd64 Date: Sun, 6 Feb 2005 21:41:45 +0100 --IJpNTDwzlM2Ie8A6 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline New patch for linux-gtk with the correct use of bsd.port.{pre,post}.mk -- Francois Tigeot --IJpNTDwzlM2Ie8A6 Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename=patch-linux-gtk --- x11-toolkits/linux-gtk/Makefile.orig Fri Dec 31 19:24:09 2004 +++ x11-toolkits/linux-gtk/Makefile Sun Feb 6 21:15:26 2005 @@ -24,7 +24,14 @@ USE_LINUX_PREFIX= yes USE_LINUX= yes -ONLY_FOR_ARCHS?= i386 alpha +ONLY_FOR_ARCHS?= i386 alpha amd64 + +.include + +.if (${ARCH} == "amd64") +MACHINE_ARCH= i386 +.endif + DIST_SUBDIR?= rpm EXTRACT_ONLY= NO_BUILD= yes @@ -49,6 +56,9 @@ DBPATH= /var/lib/rpm RPMFLAGS= --ignoreos --root ${PREFIX} --dbpath ${DBPATH} \ --nodeps --replacepkgs +.if (${ARCH} == "amd64") +RPMFLAGS+= --ignorearch +.endif RPMDIR= ${DISTDIR}/${DIST_SUBDIR} do-install: @@ -66,4 +76,4 @@ ${FIND} -d * -type d | ${SED} -e 's:^:@dirrm :' \ >> ${PLIST}.new -.include +.include --IJpNTDwzlM2Ie8A6--