Index: head/print/libotf/Makefile =================================================================== --- head/print/libotf/Makefile (revision 559848) +++ head/print/libotf/Makefile (revision 559849) @@ -1,23 +1,23 @@ # Created by: Kimura Fuyuki # $FreeBSD$ PORTNAME= libotf DISTVERSION= 0.9.16 CATEGORIES= print devel textproc MASTER_SITES= SAVANNAH/m17n MAINTAINER= nikola.lecic@anthesphoria.net COMMENT= Library for handling OpenType fonts LICENSE= LGPL21 LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libfreetype.so:print/freetype2 -USES= pathfix pkgconfig libtool:keepla xorg +USES= autoreconf pathfix pkgconfig libtool:keepla xorg GNU_CONFIGURE= yes USE_XORG= ice sm x11 xaw xt xmu INSTALL_TARGET= install-strip USE_LDCONFIG= yes .include Index: head/print/libotf/files/patch-configure.ac =================================================================== --- head/print/libotf/files/patch-configure.ac (nonexistent) +++ head/print/libotf/files/patch-configure.ac (revision 559849) @@ -0,0 +1,33 @@ +--- configure.ac.orig 2018-01-23 23:01:37 UTC ++++ configure.ac +@@ -48,23 +48,24 @@ AM_CONDITIONAL([X11_UNAVAILABLE], [test x$no_x = xyes] + AC_FUNC_ALLOCA + AC_FUNC_MALLOC + ++PKG_PROG_PKG_CONFIG ++ + # Check for Freetype2 usability. +-AC_CHECK_PROG(HAVE_FREETYPE_CONFIG, freetype-config, yes) +-if test "x$HAVE_FREETYPE_CONFIG" = "xyes"; then +- FREETYPE_INC=`freetype-config --cflags` ++PKG_CHECK_MODULES(FREETYPE, freetype2, [ ++ FREETYPE_INC="$FREETYPE_CFLAGS" + CPPFLAGS="$CPPFLAGS $FREETYPE_INC" + AC_CHECK_HEADER(ft2build.h, HAVE_FREETYPE=yes, + HAVE_FREETYPE=no CPPFLAGS=$save_CPPFLAGS) + if test "x$HAVE_FREETYPE" = "xyes" ; then +- FREETYPE_LD_FLAGS=`freetype-config --libs`; ++ FREETYPE_LD_FLAGS="$FREETYPE_LIBS" + LIBS="$LIBS $FREETYPE_LD_FLAGS" + AC_CHECK_LIB(freetype, FT_Init_FreeType, HAVE_FREETYPE=yes, + HAVE_FREETYPE=no) + fi +-fi ++]) + + if test "x$HAVE_FREETYPE" != "xyes" ; then +- echo "Freetype library wan't found in your system!" ++ echo "Freetype library not found in your system!" + exit 1 + fi + AC_SUBST(FREETYPE_INC) Property changes on: head/print/libotf/files/patch-configure.ac ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +ON \ No newline at end of property