pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/graphics/freetype2 Add rpath to freetype-config script.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/226f097b4621
branches:  trunk
changeset: 354459:226f097b4621
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Sun Oct 30 17:07:12 2016 +0000

description:
Add rpath to freetype-config script.

Bump PKGREVISION.

diffstat:

 graphics/freetype2/Makefile |  8 +++++++-
 1 files changed, 7 insertions(+), 1 deletions(-)

diffs (25 lines):

diff -r 81a1a5e28bd8 -r 226f097b4621 graphics/freetype2/Makefile
--- a/graphics/freetype2/Makefile       Sun Oct 30 14:48:00 2016 +0000
+++ b/graphics/freetype2/Makefile       Sun Oct 30 17:07:12 2016 +0000
@@ -1,7 +1,8 @@
-# $NetBSD: Makefile,v 1.107 2016/09/12 18:06:44 wiz Exp $
+# $NetBSD: Makefile,v 1.108 2016/10/30 17:07:12 wiz Exp $
 
 DISTNAME=      freetype-2.7
 PKGNAME=       ${DISTNAME:S/-/2-/}
+PKGREVISION=   1
 CATEGORIES=    graphics
 MASTER_SITES=  ${MASTER_SITE_SOURCEFORGE:=freetype/} \
                http://download.savannah.gnu.org/releases/freetype/
@@ -27,6 +28,11 @@
 .endif
 
 PKGCONFIG_OVERRIDE=    builds/unix/freetype2.in
+SUBST_CLASSES+=                ftc
+SUBST_FILES.ftc+=      builds/unix/freetype-config.in
+SUBST_SED.ftc+=                -e "s!echo -L\([^ ]*\)!echo ${COMPILER_RPATH_FLAG}\\1 -L\\1!"
+SUBST_STAGE.ftc+=      pre-configure
+SUBST_MESSAGE.ftc+=    Fixing rpath in freetype-config script.
 
 .include "../../mk/bsd.prefs.mk"
 .include "../../mk/compiler.mk"



Home | Main Index | Thread Index | Old Index