Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 6 Feb 2005 20:50:22 GMT
From:      Francois Tigeot <ftigeot@wolfpond.org>
To:        freebsd-java@FreeBSD.org
Subject:   Re: ports/75852: [patch] Make java/linux-sun-jdk14 install on amd64
Message-ID:  <200502062050.j16KoMmH032255@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR ports/75852; it has been noted by GNATS.

From: Francois Tigeot <ftigeot@wolfpond.org>
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 <bsd.port.pre.mk>
 +
 +.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 <bsd.port.mk>
 +.include <bsd.port.post.mk>
 
 --IJpNTDwzlM2Ie8A6--



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