summaryrefslogtreecommitdiff
path: root/graphics
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2016-10-30 17:07:12 +0000
committerwiz <wiz@pkgsrc.org>2016-10-30 17:07:12 +0000
commitb83db97fd27ddb08a005156346f316ca9b2715b0 (patch)
treec9aede0fdbaddc871da76db0130d92a98af7aa31 /graphics
parent7554d771c089b663ac6904fe70084f04df423b00 (diff)
downloadpkgsrc-b83db97fd27ddb08a005156346f316ca9b2715b0.tar.gz
Add rpath to freetype-config script.
Bump PKGREVISION.
Diffstat (limited to 'graphics')
-rw-r--r--graphics/freetype2/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/graphics/freetype2/Makefile b/graphics/freetype2/Makefile
index b80f3c3a354..740d44c7893 100644
--- a/graphics/freetype2/Makefile
+++ b/graphics/freetype2/Makefile
@@ -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"