diff options
author | wiz <wiz@pkgsrc.org> | 2009-03-11 21:58:52 +0000 |
---|---|---|
committer | wiz <wiz@pkgsrc.org> | 2009-03-11 21:58:52 +0000 |
commit | e16ea90f5236f2d2748b9197f05a756a78bd2415 (patch) | |
tree | 2151e7cb32113f20833c1b634a13957b5d1a5b84 /graphics | |
parent | e058da9c747d5eca35d649a653fba4cff73292da (diff) | |
download | pkgsrc-e16ea90f5236f2d2748b9197f05a756a78bd2415.tar.gz |
Fix freetype2 recognition, e.g. for native X.
Diffstat (limited to 'graphics')
-rw-r--r-- | graphics/py-imaging/Makefile | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/graphics/py-imaging/Makefile b/graphics/py-imaging/Makefile index 821799cbc7c..2749ed75fb3 100644 --- a/graphics/py-imaging/Makefile +++ b/graphics/py-imaging/Makefile @@ -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 @@ DIST_SUBDIR= python 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: |