[patch] Enable java/linux-sun-jdk14 installation with linux_base-8
Francois Tigeot
ftigeot at wolfpond.org
Mon Jan 3 09:13:13 GMT 2005
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
-------------- next part --------------
--- 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
More information about the freebsd-amd64
mailing list