diff options
author | adam <adam> | 2011-01-03 12:17:30 +0000 |
---|---|---|
committer | adam <adam> | 2011-01-03 12:17:30 +0000 |
commit | c60dc8afd9ea7883b60eb22b7209a5f1f62bfacb (patch) | |
tree | a8eff1602bb0aef8b99d4442def4e8846df20d2f /graphics/py-imaging/Makefile | |
parent | b46c841acda6ac69ff4e27385745dd428448544e (diff) | |
download | pkgsrc-c60dc8afd9ea7883b60eb22b7209a5f1f62bfacb.tar.gz |
Fix building and disable TKINTER on Darwin.
Diffstat (limited to 'graphics/py-imaging/Makefile')
-rw-r--r-- | graphics/py-imaging/Makefile | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/graphics/py-imaging/Makefile b/graphics/py-imaging/Makefile index 9f91136f58d..798ce9baf63 100644 --- a/graphics/py-imaging/Makefile +++ b/graphics/py-imaging/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.38 2010/12/23 11:44:44 dsainty Exp $ +# $NetBSD: Makefile,v 1.39 2011/01/03 12:17:30 adam Exp $ DISTNAME= Imaging-1.1.7 PKGNAME= ${PYPKGPREFIX}-imaging-1.1.7 @@ -16,13 +16,12 @@ 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 +SUBST_CLASSES= fix-path +SUBST_MESSAGE.fix-path= Fixing paths. +SUBST_STAGE.fix-path= pre-configure +SUBST_FILES.fix-path= setup.py +SUBST_SED.fix-path= -e 's,/usr/local,${PREFIX},' +SUBST_SED.fix-path+= -e 's,FREETYPE_ROOT = None,FREETYPE_ROOT = libinclude("${BUILDLINK_PREFIX.freetype2}"),' INSTALLATION_DIRS= ${PYINC}/PIL |