pkgsrc-Users archive

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

Re: lang/openjdk8



On Tue, 10 Feb 2015 00:37:53 +0100
Tobias Nygren <tnn%NetBSD.org@localhost> wrote:

> > Trying to build lang/openjdk8 on NetBSD/amd64-current from 20150125 I get:
> > 
> > ## Starting jdk
> > In file included from /u1/pkgsrc/lang/openjdk8/work/openjdk/jdk/src/share/native/sun/font/freetypeScaler.c:34:0:
> > /u1/pkgsrc/lang/openjdk8/work/.x11-buildlink/include/ft2build.h:37:29: fatal error: config/ftheader.h: No such file or directory
> >  #include <config/ftheader.h>

Please try this patch:

Index: distinfo
===================================================================
RCS file: /cvsroot/pkgsrc/lang/openjdk8/distinfo,v
retrieving revision 1.1
diff -u -r1.1 distinfo
--- distinfo	8 Feb 2015 08:41:25 -0000	1.1
+++ distinfo	10 Feb 2015 06:48:04 -0000
@@ -40,7 +40,7 @@
 SHA1 (patch-bh) = 6194a7c319a496f8ff7df173912cf87118f26a63
 SHA1 (patch-bi) = 190056b3d4c42986ae0a600668b02711598361b8
 SHA1 (patch-bn) = a50dbe17236a90d60d4bbb852ae447e51a279892
-SHA1 (patch-common_autoconf_generated-configure.sh) = 0c9d7882010bb900a174e9c19e7ea31e73595a44
+SHA1 (patch-common_autoconf_generated-configure.sh) = 24214799573cc3ea99a867ad03a4c4209750e68d
 SHA1 (patch-common_autoconf_spec.gmk.in) = 8fda7fac31444997615a8f8bfe22d5b2df01ad3c
 SHA1 (patch-hotspot_agent_src_share_classes_sun_jvm_hotspot_utilities_PlatformInfo.java) = 893f3b7ad0839a75be49ddd0f5eefcff2dbd2928
 SHA1 (patch-hotspot_make_bsd_makefiles_defs.make) = de9d1f2c97df16119de56abb5e900f705813e514
Index: patches/patch-common_autoconf_generated-configure.sh
===================================================================
RCS file: /cvsroot/pkgsrc/lang/openjdk8/patches/patch-common_autoconf_generated-configure.sh,v
retrieving revision 1.1
diff -u -r1.1 patch-common_autoconf_generated-configure.sh
--- patches/patch-common_autoconf_generated-configure.sh	8 Feb 2015 08:41:25 -0000	1.1
+++ patches/patch-common_autoconf_generated-configure.sh	10 Feb 2015 06:48:04 -0000
@@ -1,4 +1,4 @@
-$NetBSD: patch-common_autoconf_generated-configure.sh,v 1.1 2015/02/08 08:41:25 tnn Exp $
+$NetBSD$
 
 --- common/autoconf/generated-configure.sh.orig	2015-02-02 15:31:06.000000000 +0000
 +++ common/autoconf/generated-configure.sh
@@ -91,6 +91,15 @@
        fi
        if test "x$with_freetype_lib" != x; then
          POTENTIAL_FREETYPE_LIB_PATH="$with_freetype_lib"
+@@ -34373,7 +34379,7 @@ $as_echo "$as_me: The path of FREETYPE_I
+     FREETYPE_INCLUDE_PATH="`cd "$path"; $THEPWDCMD -L`"
+   fi
+ 
+-      if test -d $FREETYPE_INCLUDE_PATH/freetype2/freetype; then
++      if test -d $FREETYPE_INCLUDE_PATH/freetype2; then
+         FREETYPE_CFLAGS="-I$FREETYPE_INCLUDE_PATH/freetype2 -I$FREETYPE_INCLUDE_PATH"
+       else
+         FREETYPE_CFLAGS="-I$FREETYPE_INCLUDE_PATH"
 @@ -34506,7 +34512,7 @@ $as_echo "$as_me: The path of FREETYPE_L
        if test "x$OPENJDK_TARGET_OS" = xwindows; then
          FREETYPE_LIBS="$FREETYPE_LIB_PATH/freetype.lib"


Home | Main Index | Thread Index | Old Index