pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/graphics/py-imaging Fix freetype2 recognition, e.g. fo...
details: https://anonhg.NetBSD.org/pkgsrc/rev/b032205a04a6
branches: trunk
changeset: 555904:b032205a04a6
user: wiz <wiz%pkgsrc.org@localhost>
date: Wed Mar 11 21:58:52 2009 +0000
description:
Fix freetype2 recognition, e.g. for native X.
diffstat:
graphics/py-imaging/Makefile | 10 +++++++++-
1 files changed, 9 insertions(+), 1 deletions(-)
diffs (24 lines):
diff -r 6d4baaae7413 -r b032205a04a6 graphics/py-imaging/Makefile
--- a/graphics/py-imaging/Makefile Wed Mar 11 21:44:28 2009 +0000
+++ b/graphics/py-imaging/Makefile Wed Mar 11 21:58:52 2009 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.32 2009/02/09 21:09:20 joerg Exp $
+# $NetBSD: Makefile,v 1.33 2009/03/11 21:58:52 wiz Exp $
DISTNAME= Imaging-1.1.6
PKGNAME= ${PYPKGPREFIX}-imaging-1.1.6
@@ -15,6 +15,14 @@
PYDISTUTILSPKG= yes
PY_PATCHPLIST= yes
+FREETYPE_ROOT= "${BUILDLINK_PREFIX.freetype2}/lib","${BUILDLINK_PREFIX.freetype2}/include"
+
+SUBST_CLASSES= ft2
+SUBST_SED.ft2= -e "s;FREETYPE_ROOT = None;FREETYPE_ROOT = ${FREETYPE_ROOT:Q};"
+SUBST_FILES.ft2= setup.py
+SUBST_MESSAGE.ft2= Fixing path to freetype2.
+SUBST_STAGE.ft2= pre-configure
+
INSTALLATION_DIRS= ${PYINC}/PIL
post-install:
Home |
Main Index |
Thread Index |
Old Index