summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorgavan <gavan@pkgsrc.org>2005-02-09 12:13:58 +0000
committergavan <gavan@pkgsrc.org>2005-02-09 12:13:58 +0000
commit379fd5f6e9ac1c9d145644aa56430e7769334ed6 (patch)
tree751f95858a95b366fccb488ff35a10745c2c95c6
parent7c8e704e084ccb71e74179565f3caa2291d3e5ef (diff)
downloadpkgsrc-379fd5f6e9ac1c9d145644aa56430e7769334ed6.tar.gz
Force detection of grep and egrep by the configure script.
Unfortunately, configure doesn't always manage to correctly pick up these values from GREP and EGREP, so we pass them in as cached values. This way, configure still doesn't always print them correctly, but they end up in config.status, which is the end goal. This solves the problem where on Solaris, configure detects the wrong grep and worse still, fails to detect a suitable egrep at all.
-rw-r--r--graphics/freetype2/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/graphics/freetype2/Makefile b/graphics/freetype2/Makefile
index 2cc4d7a2c90..84ce2ff33b2 100644
--- a/graphics/freetype2/Makefile
+++ b/graphics/freetype2/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.38 2004/10/03 00:14:50 tv Exp $
+# $NetBSD: Makefile,v 1.39 2005/02/09 12:13:58 gavan Exp $
DISTNAME= freetype-2.1.9
PKGNAME= freetype2-2.1.9
@@ -24,6 +24,7 @@ USE_GNU_TOOLS+= grep make
GNU_CONFIGURE= yes
CONFIGURE_DIRS= ${WRKSRC}/builds/unix
CONFIGURE_ARGS+= --includedir=${PREFIX}/include
+CONFIGURE_ENV+= ac_cv_path_GREP="${GREP}" ac_cv_path_EGREP="${EGREP}"
PKGCONFIG_OVERRIDE= builds/unix/freetype2.in