pkgsrc-Changes archive

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

CVS commit: pkgsrc/graphics/libotf



Module Name:    pkgsrc
Committed By:   dholland
Date:           Mon May  7 07:55:33 UTC 2018

Modified Files:
        pkgsrc/graphics/libotf: Makefile distinfo
Added Files:
        pkgsrc/graphics/libotf/patches: patch-configure

Log Message:
Use pkg-config instead of freetype-config; should fix PR 53264.


To generate a diff of this commit:
cvs rdiff -u -r1.16 -r1.17 pkgsrc/graphics/libotf/Makefile
cvs rdiff -u -r1.9 -r1.10 pkgsrc/graphics/libotf/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/graphics/libotf/patches/patch-configure

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/graphics/libotf/Makefile
diff -u pkgsrc/graphics/libotf/Makefile:1.16 pkgsrc/graphics/libotf/Makefile:1.17
--- pkgsrc/graphics/libotf/Makefile:1.16        Sun Feb 11 16:16:54 2018
+++ pkgsrc/graphics/libotf/Makefile     Mon May  7 07:55:33 2018
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.16 2018/02/11 16:16:54 wiz Exp $
+# $NetBSD: Makefile,v 1.17 2018/05/07 07:55:33 dholland Exp $
 
 DISTNAME=      libotf-0.9.16
 CATEGORIES=    graphics
@@ -14,6 +14,7 @@ USE_LIBTOOL=  yes
 USE_TOOLS+=    pkg-config
 
 PKGCONFIG_OVERRIDE+=   libotf.pc.in
+CONFIGURE_ENV+=                HAVE_FREETYPE_CONFIG=yes # actually uses pkg-config now
 
 .include "options.mk"
 

Index: pkgsrc/graphics/libotf/distinfo
diff -u pkgsrc/graphics/libotf/distinfo:1.9 pkgsrc/graphics/libotf/distinfo:1.10
--- pkgsrc/graphics/libotf/distinfo:1.9 Sun Feb 11 16:16:54 2018
+++ pkgsrc/graphics/libotf/distinfo     Mon May  7 07:55:33 2018
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.9 2018/02/11 16:16:54 wiz Exp $
+$NetBSD: distinfo,v 1.10 2018/05/07 07:55:33 dholland Exp $
 
 SHA1 (libotf-0.9.16.tar.gz) = ee3037f468a5381de89846ee1c78320964cfbf78
 RMD160 (libotf-0.9.16.tar.gz) = ddea1124409fa97a58386251aa70b961c11b9374
 SHA512 (libotf-0.9.16.tar.gz) = 0f68c45c1224f02dc0f1a8e9915dd9c1c70d71259b4e2f7bbd4fbec6426e58d4a26e4cbf28dbb8ed051ba6f532f99fc4e74b4ddf97a93ec947fa6260c875d0b4
 Size (libotf-0.9.16.tar.gz) = 423979 bytes
+SHA1 (patch-configure) = 5d43a445f6950ac14e5a91f37b25601d951868c2

Added files:

Index: pkgsrc/graphics/libotf/patches/patch-configure
diff -u /dev/null pkgsrc/graphics/libotf/patches/patch-configure:1.1
--- /dev/null   Mon May  7 07:55:33 2018
+++ pkgsrc/graphics/libotf/patches/patch-configure      Mon May  7 07:55:33 2018
@@ -0,0 +1,25 @@
+$NetBSD: patch-configure,v 1.1 2018/05/07 07:55:33 dholland Exp $
+
+Use pkg-config instead of the freetype-config script, as the latte
+has gone away.
+
+--- configure~ 2018-01-24 15:08:23.000000000 +0000
++++ configure
+@@ -13172,7 +13172,7 @@ fi
+ 
+ 
+ if test "x$HAVE_FREETYPE_CONFIG" = "xyes"; then
+-  FREETYPE_INC=`freetype-config --cflags`
++  FREETYPE_INC=`pkg-config --cflags freetype2`
+   CPPFLAGS="$CPPFLAGS $FREETYPE_INC"
+   ac_fn_c_check_header_mongrel "$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
+ if test "x$ac_cv_header_ft2build_h" = xyes; then :
+@@ -13183,7 +13183,7 @@ fi
+ 
+ 
+   if test "x$HAVE_FREETYPE" = "xyes" ; then
+-    FREETYPE_LD_FLAGS=`freetype-config --libs`;
++    FREETYPE_LD_FLAGS=`pkg-config --libs freetype2`;
+     LIBS="$LIBS $FREETYPE_LD_FLAGS"
+     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for FT_Init_FreeType in -lfreetype" >&5
+ $as_echo_n "checking for FT_Init_FreeType in -lfreetype... " >&6; }



Home | Main Index | Thread Index | Old Index