ports/75852: [patch] Make java/linux-sun-jdk14 install on amd64
Francois Tigeot
ftigeot at wolfpond.org
Sun Feb 6 12:50:23 PST 2005
The following reply was made to PR ports/75852; it has been noted by GNATS.
From: Francois Tigeot <ftigeot at wolfpond.org>
To: freebsd-gnats-submit at FreeBSD.org
Cc: ftigeot at 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--
More information about the freebsd-java
mailing list