summaryrefslogtreecommitdiff
path: root/graphics
diff options
context:
space:
mode:
authorskrll <skrll>2001-05-03 13:22:50 +0000
committerskrll <skrll>2001-05-03 13:22:50 +0000
commit602e503d64aafb831b8833878dbd6a8ad318383c (patch)
tree63852586b63d93674c5ee35c8954cb86e4a7a185 /graphics
parent3c878d081291ae5155a47af5f6deabd8569a9e5c (diff)
downloadpkgsrc-602e503d64aafb831b8833878dbd6a8ad318383c.tar.gz
Pass CC down to configure script and make sure its used properly.
This fixes pkg/12797
Diffstat (limited to 'graphics')
-rw-r--r--graphics/tiff/Makefile3
-rw-r--r--graphics/tiff/patches/patch-ad13
2 files changed, 13 insertions, 3 deletions
diff --git a/graphics/tiff/Makefile b/graphics/tiff/Makefile
index 4d82b8b0531..178bf782d11 100644
--- a/graphics/tiff/Makefile
+++ b/graphics/tiff/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.29 2001/02/16 15:22:34 wiz Exp $
+# $NetBSD: Makefile,v 1.30 2001/05/03 13:22:50 skrll Exp $
DISTNAME= tiff-v3.5.5
PKGNAME= tiff-3.5.5
@@ -18,6 +18,7 @@ DEPENDS+= jpeg-6b:../../graphics/jpeg
USE_LIBTOOL= yes
HAS_CONFIGURE= yes
CONFIGURE_ARGS= --noninteractive --site=${FILESDIR}
+CONFIGURE_ENV+= CC="${CC}"
.include "../../mk/bsd.prefs.mk"
diff --git a/graphics/tiff/patches/patch-ad b/graphics/tiff/patches/patch-ad
index 2b24d3a8a4c..a91cc9918ca 100644
--- a/graphics/tiff/patches/patch-ad
+++ b/graphics/tiff/patches/patch-ad
@@ -1,7 +1,16 @@
-$NetBSD: patch-ad,v 1.6 2001/02/27 09:49:25 skrll Exp $
+$NetBSD: patch-ad,v 1.7 2001/05/03 13:22:50 skrll Exp $
--- configure.orig Mon Mar 20 18:20:42 2000
-+++ configure
++++ configure Thu May 3 14:15:41 2001
+@@ -486,7 +486,7 @@
+
+ checkCompiler()
+ {
+- compiler=$1
++ compiler="$*"
+ if isGNU $compiler; then
+ ISGCC=yes
+ else
@@ -512,7 +512,7 @@
$RM dummy dummy.o
capture $compiler -o dummy ${C_ANSI} dummy.c && {