[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[patch] Enable java/linux-sun-jdk14 installation with linux_base-8



On Mon, Jan 03, 2005 at 10:12:58AM +0100, Francois Tigeot wrote:
> --- 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

Please follow up with the PR with a correct patch -- which would use
bsd.port.pre.mk and bsd.port.post.mk.

I'll commit the other parts as they are OK.

-- 
-- David  (obrien_(_at_)_FreeBSD_(_dot_)_org)