Subject: Re: pkg/33686 (fontconfig-2.3.2 fails build)
To: None <tron@NetBSD.org, gnats-admin@netbsd.org, pkgsrc-bugs@netbsd.org,>
From: S <scole@sdf.lonestar.org>
List: pkgsrc-bugs
Date: 06/10/2006 14:25:03
The following reply was made to PR pkg/33686; it has been noted by GNATS.
From: S <scole@sdf.lonestar.org>
To: gnats-bugs@NetBSD.org
Cc:
Subject: Re: pkg/33686 (fontconfig-2.3.2 fails build)
Date: Sat, 10 Jun 2006 07:24:21 -0700
I updated pkgsrc around June 8, 2006. My pkgsrc version of freetype2 is
2-2.2.1 . Also, on my system there is another version of freetype2 from
darwin/X that fontconfig/work/.wrapper_makevars.mk thinks is
freetype2-2.1.4 (generated from "sudo bmake") :
************************
.if !defined(_MAKEVARS_MK)
_MAKEVARS_MK= defined
BUILDLINK_PREFIX.expat= /Volumes/NetBSD/pkg
BUILDLINK_PREFIX.freetype2= /Volumes/NetBSD/pkg
BUILDLINK_PREFIX.iconv= /usr
BUILDLINK_PREFIX.zlib= /Volumes/NetBSD/pkg
BUILTIN_LIB_FOUND.iconv= yes
BUILTIN_PKG.expat= expat-1.95.6
BUILTIN_PKG.freetype2= freetype2-2.1.4
BUILTIN_PKG.iconv= libiconv-1.9.2
BUILTIN_PKG.zlib= zlib-1.1.4
H_EXPAT= /usr/X11R6/include/expat.h
H_FREETYPE2= /usr/X11R6/include/freetype2/freetype/freetype.h
H_ICONV= /usr/include/iconv.h
H_ZLIB= /usr/include/zlib.h
IS_BUILTIN.expat= yes
IS_BUILTIN.freetype2= yes
IS_BUILTIN.iconv= yes
IS_BUILTIN.zlib= yes
USE_BUILTIN.expat= no
USE_BUILTIN.freetype2= no
USE_BUILTIN.iconv= yes
USE_BUILTIN.zlib= no
_BLNK_PHYSICAL_PATH.LOCALBASE= /Volumes/NetBSD/pkg
_BLNK_PHYSICAL_PATH.WRKDIR=
/Volumes/NetBSD/pkgsrc/fonts/fontconfig/work
_BLNK_PKG_DBDIR.expat= /Volumes/NetBSD/pkgdb/expat-2.0.0nb1
_BLNK_PKG_DBDIR.freetype2= /Volumes/NetBSD/pkgdb/freetype2-2.2.1
_BLNK_PKG_DBDIR.zlib= /Volumes/NetBSD/pkgdb/zlib-1.2.3
_IGNORE_INFO_PATH=
_MANCOMPRESSED= no
_MANZ= no
_REV_ALL_PHASES= package install build configure wrapper patch
extract tools fetch
_USE_TOOLS= [ awk basename cat chgrp chmod chown cmp cp cut date diff
dirname echo egrep env expr false file find gmake grep gzcat head hostna
me id install ln ls mkdir mtree mv patch pax pwd rm rmdir sed sh sort tail
tar test touch tr true uname wc xargs
_WRAP_PATH=
/Volumes/NetBSD/pkgsrc/fonts/fontconfig/work/.buildlink/bin:/Volumes/NetBSD/pkgsrc/fonts/fontconfig/work/.gcc/bin:/Volumes/NetBSD/
pkgsrc/fonts/fontconfig/work/.tools/bin:/Volumes/NetBSD/pkg/bin:/Volumes/NetBSD/pkg/bin:/Volumes/NetBSD/pkg/sbin:/bin:/sbin:/usr/bin:/usr/sbin:/us
r/X11R6/bin
.endif # _MAKEVARS_MK
************************
After playing around a lot, I got fontconfig to build and install with
this command, (though I don't quite understand it) :
sudo bmake USE_BUILTIN.freetype2=yes \
H_FREETYPE2=/Volumes/NetBSD/pkg/include/freetype2/freetype/freetype.h \
install
here is the .wrapper_makevars.mk from it:
.if !defined(_MAKEVARS_MK)
_MAKEVARS_MK= defined
BUILDLINK_PREFIX.expat= /Volumes/NetBSD/pkg
BUILDLINK_PREFIX.freetype2= /usr/X11R6
BUILDLINK_PREFIX.iconv= /usr
BUILDLINK_PREFIX.x11-links= /Volumes/NetBSD/pkg
BUILDLINK_PREFIX.zlib= /Volumes/NetBSD/pkg
BUILTIN_LIB_FOUND.iconv= yes
BUILTIN_PKG.expat= expat-1.95.6
BUILTIN_PKG.freetype2= freetype2-2.2.1
BUILTIN_PKG.iconv= libiconv-1.9.2
BUILTIN_PKG.zlib= zlib-1.1.4
BUILTIN_X11_VERSION.native= 4.4
H_EXPAT= /usr/X11R6/include/expat.h
H_FREETYPE2= /Volumes/NetBSD/pkg/include/freetype2/freetype/freetype.h
H_ICONV= /usr/include/iconv.h
H_ZLIB= /usr/include/zlib.h
IS_BUILTIN.expat= yes
IS_BUILTIN.freetype2= yes
IS_BUILTIN.iconv= yes
IS_BUILTIN.zlib= yes
USE_BUILTIN.expat= no
USE_BUILTIN.freetype2= yes
USE_BUILTIN.iconv= yes
USE_BUILTIN.x11-links= no
USE_BUILTIN.zlib= no
_BLNK_PHYSICAL_PATH.LOCALBASE= /Volumes/NetBSD/pkg
_BLNK_PHYSICAL_PATH.WRKDIR=
/Volumes/NetBSD/pkgsrc/fonts/fontconfig/work
_BLNK_PKG_DBDIR.expat= /Volumes/NetBSD/pkgdb/expat-2.0.0nb1
_BLNK_PKG_DBDIR.x11-links= /Volumes/NetBSD/pkgdb/x11-links-0.30
_BLNK_PKG_DBDIR.zlib= /Volumes/NetBSD/pkgdb/zlib-1.2.3
_IGNORE_INFO_PATH=
_MANCOMPRESSED= no
_MANZ= no
_REV_ALL_PHASES= package install build configure wrapper patch
extract tools fetch
_USE_TOOLS= [ awk basename cat chgrp chmod chown cmp cp cut date diff
dirname echo egrep env expr false file find gmake grep gzcat head hostna
me id install ln ls mkdir mtree mv patch pax pwd rm rmdir sed sh sort tail
tar test touch tr true uname wc xargs
_WRAP_PATH=
/Volumes/NetBSD/pkgsrc/fonts/fontconfig/work/.buildlink/bin:/Volumes/NetBSD/pkgsrc/fonts/fontconfig/work/.gcc/bin:/Volumes/NetBSD/
pkgsrc/fonts/fontconfig/work/.tools/bin:/Volumes/NetBSD/pkg/bin:/usr/X11R6/bin:/Volumes/NetBSD/pkg/bin:/Volumes/NetBSD/pkg/sbin:/bin:/sbin:/usr/bi
n:/usr/sbin:/usr/X11R6/bin
.endif # _MAKEVARS_MK
******************