pkgsrc-Changes archive

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

CVS commit: pkgsrc/graphics/freetype2



Module Name:    pkgsrc
Committed By:   wiz
Date:           Sun Oct 30 17:07:12 UTC 2016

Modified Files:
        pkgsrc/graphics/freetype2: Makefile

Log Message:
Add rpath to freetype-config script.

Bump PKGREVISION.


To generate a diff of this commit:
cvs rdiff -u -r1.107 -r1.108 pkgsrc/graphics/freetype2/Makefile

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

Modified files:

Index: pkgsrc/graphics/freetype2/Makefile
diff -u pkgsrc/graphics/freetype2/Makefile:1.107 pkgsrc/graphics/freetype2/Makefile:1.108
--- pkgsrc/graphics/freetype2/Makefile:1.107    Mon Sep 12 18:06:44 2016
+++ pkgsrc/graphics/freetype2/Makefile  Sun Oct 30 17:07:12 2016
@@ -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 @@ LDFLAGS+=    -framework Carbon
 .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