pkgsrc-Changes archive

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

CVS commit: pkgsrc/fonts/SDL2_ttf



Module Name:    pkgsrc
Committed By:   wiz
Date:           Thu May 10 21:48:15 UTC 2018

Modified Files:
        pkgsrc/fonts/SDL2_ttf: Makefile distinfo
Added Files:
        pkgsrc/fonts/SDL2_ttf/patches: patch-configure

Log Message:
SDL2_ttf: use pkg-config to find freetype2.


To generate a diff of this commit:
cvs rdiff -u -r1.9 -r1.10 pkgsrc/fonts/SDL2_ttf/Makefile
cvs rdiff -u -r1.4 -r1.5 pkgsrc/fonts/SDL2_ttf/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/fonts/SDL2_ttf/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/fonts/SDL2_ttf/Makefile
diff -u pkgsrc/fonts/SDL2_ttf/Makefile:1.9 pkgsrc/fonts/SDL2_ttf/Makefile:1.10
--- pkgsrc/fonts/SDL2_ttf/Makefile:1.9  Sat Sep 16 19:26:56 2017
+++ pkgsrc/fonts/SDL2_ttf/Makefile      Thu May 10 21:48:15 2018
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.9 2017/09/16 19:26:56 wiz Exp $
+# $NetBSD: Makefile,v 1.10 2018/05/10 21:48:15 wiz Exp $
 
 DISTNAME=      SDL2_ttf-2.0.14
 CATEGORIES=    devel
@@ -10,6 +10,7 @@ COMMENT=      Use TrueType fonts in your SDL2
 LICENSE=       zlib
 
 USE_LIBTOOL=           yes
+USE_TOOLS+=            pkg-config
 GNU_CONFIGURE=         yes
 
 PKGCONFIG_OVERRIDE+=   SDL2_ttf.pc.in

Index: pkgsrc/fonts/SDL2_ttf/distinfo
diff -u pkgsrc/fonts/SDL2_ttf/distinfo:1.4 pkgsrc/fonts/SDL2_ttf/distinfo:1.5
--- pkgsrc/fonts/SDL2_ttf/distinfo:1.4  Sun Feb  7 14:11:33 2016
+++ pkgsrc/fonts/SDL2_ttf/distinfo      Thu May 10 21:48:15 2018
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.4 2016/02/07 14:11:33 wiz Exp $
+$NetBSD: distinfo,v 1.5 2018/05/10 21:48:15 wiz Exp $
 
 SHA1 (SDL2_ttf-2.0.14.tar.gz) = 34c5fdc8508c7e14356579477f9ca2b0d6c06ffc
 RMD160 (SDL2_ttf-2.0.14.tar.gz) = a3cfa00535220c8dc9034bc94dce064fb22c4b85
 SHA512 (SDL2_ttf-2.0.14.tar.gz) = 4db817573fd216e26180f4c401cc869ce407589a461032fd7167dc612d35e038cca1ab67be7909b6b49c741581a68125ab46362ad8e3c0a2cdd39624ad847099
 Size (SDL2_ttf-2.0.14.tar.gz) = 4147462 bytes
+SHA1 (patch-configure) = 6a207d14e3f3ff2aac0bf15e31f4ddf07ad13a25

Added files:

Index: pkgsrc/fonts/SDL2_ttf/patches/patch-configure
diff -u /dev/null pkgsrc/fonts/SDL2_ttf/patches/patch-configure:1.1
--- /dev/null   Thu May 10 21:48:15 2018
+++ pkgsrc/fonts/SDL2_ttf/patches/patch-configure       Thu May 10 21:48:15 2018
@@ -0,0 +1,17 @@
+$NetBSD: patch-configure,v 1.1 2018/05/10 21:48:15 wiz Exp $
+
+Hack around freetype2>=2.9.1 not having freetype-config any longer.
+
+--- configure.orig     2016-02-01 21:41:46.000000000 +0000
++++ configure
+@@ -11773,8 +11773,8 @@ if test "$FREETYPE_CONFIG" = "no" ; then
+ *** Unable to find FreeType2 library (http://www.freetype.org/)
+ " "$LINENO" 5
+ else
+-    CFLAGS="$CFLAGS `$FREETYPE_CONFIG $freetypeconf_args --cflags`"
+-    LIBS="$LIBS `$FREETYPE_CONFIG $freetypeconf_args --libs`"
++    CFLAGS="$CFLAGS `$FREETYPE_CONFIG $freetypeconf_args --cflags` `pkg-config freetype2 --cflags`"
++    LIBS="$LIBS `$FREETYPE_CONFIG $freetypeconf_args --libs` `pkg-config freetype2 --libs`"
+ fi
+ 
+ SDL_VERSION=2.0.0



Home | Main Index | Thread Index | Old Index