[PATCH] java/openjdk6: make x11-fonts/dejavu a build dep as build
fails otherwise
Venture37
venture37 at geeklan.co.uk
Wed Apr 27 11:26:15 UTC 2011
>Submitter-Id: current-users
>Originator: Sevan Janiyan
>Organization: Venture 37 Ltd
>Confidential: no
>Synopsis: [PATCH] java/openjdk6: make x11-fonts/dejavu a build
dep as build fails otherwise
>Severity: non-critical
>Priority: low
>Category: ports
>Class: change-request
>Release: FreeBSD 8.2-RELEASE amd64
>Environment:
System: FreeBSD opennmsdev.somedomain.local 8.2-RELEASE FreeBSD
8.2-RELEASE #0: Thu Feb 17 02:41:51 UTC 2011
>Description:
When attempting to build java/openjdk6 on a fresh system with IPv6
option selected the build fails,
if x11-fonts/dejavu a fresh build succeeds.
cd
/usr/ports/java/openjdk6/work/build/bsd-amd64/hotspot/outputdir/bsd_amd64_compiler2/product/../generated;
cp includeDB
/usr/ports/java/openjdk6/work/build/bsd-amd64/hotspot/outputdir/bsd_amd64_compiler2/product/../generated/includeDB.currentcd
/usr/ports/java/openjdk6/work/build/bsd-amd64/hotspot/outputdir/bsd_amd64_compiler2/product/../generated;
cp /usr/ports/java/openjdk6/work/hotspot/make/bsd/platform_amd64
/usr/ports/java/openjdk6/work/build/bsd-amd64/hotspot/outputdir/bsd_amd64_compiler2/product/../generated/platform.current
gmake[6]: Entering directory
`/usr/ports/java/openjdk6/work/build/bsd-amd64/hotspot/outputdir/bsd_amd64_compiler2/product'
gmake[6]: *** No rule to make target
`/usr/ports/java/openjdk6/work/hotspot/src/cpu/amd64/vm/x86_64.ad',
needed by `../generated/adfiles/bsd_x86_64.ad'. Stop.
gmake[6]: *** Waiting for unfinished jobs....
gmake[6]: Leaving directory
`/usr/ports/java/openjdk6/work/build/bsd-amd64/hotspot/outputdir/bsd_amd64_compiler2/product'
gmake[5]: *** [ad_stuff] Error 2
gmake[5]: Leaving directory
`/usr/ports/java/openjdk6/work/build/bsd-amd64/hotspot/outputdir/bsd_amd64_compiler2/product'
gmake[4]: *** [product] Error 2
gmake[4]: Leaving directory
`/usr/ports/java/openjdk6/work/build/bsd-amd64/hotspot/outputdir'
gmake[3]: *** [generic_build2] Error 2
gmake[3]: Leaving directory `/usr/ports/java/openjdk6/work/hotspot/make'
gmake[2]: *** [product] Error 2
gmake[2]: Leaving directory `/usr/ports/java/openjdk6/work/hotspot/make'
gmake[1]: *** [hotspot-build] Error 2
gmake[1]: Leaving directory `/usr/ports/java/openjdk6/work'
gmake: *** [build_product_image] Error 2
*** Error code 1
Stop in /usr/ports/java/openjdk6.
*** Error code 1
Stop in /usr/ports/java/openjdk6.
*** Error code 1
Port maintainer (java at FreeBSD.org) is cc'd.
>How-To-Repeat:
>Fix:
-------------- next part --------------
diff -ruN --exclude=CVS /usr/ports/java/openjdk6.orig/Makefile /usr/ports/java/openjdk6/Makefile
--- /usr/ports/java/openjdk6.orig/Makefile 2011-04-26 22:19:49.667187867 +0000
+++ /usr/ports/java/openjdk6/Makefile 2011-04-26 21:57:57.538536880 +0000
@@ -33,7 +33,8 @@
BUILD_DEPENDS= zip:${PORTSDIR}/archivers/zip \
unzip:${PORTSDIR}/archivers/unzip \
- ${LOCALBASE}/include/cups/cups.h:${PORTSDIR}/print/cups-client
+ ${LOCALBASE}/include/cups/cups.h:${PORTSDIR}/print/cups-client \
+ ${LOCALBASE}/lib/X11/fonts/dejavu:${PORTSDIR}/x11-fonts/dejavu
LIB_DEPENDS= freetype.9:${PORTSDIR}/print/freetype2
RUN_DEPENDS= javavm:${PORTSDIR}/java/javavmwrapper \
${LOCALBASE}/lib/X11/fonts/dejavu:${PORTSDIR}/x11-fonts/dejavu
===> Done
More information about the freebsd-java
mailing list