aboutsummaryrefslogtreecommitdiffstats
path: root/www/clearsilver
diff options
context:
space:
mode:
authorclsung <clsung@FreeBSD.org>2011-12-15 14:18:10 +0800
committerclsung <clsung@FreeBSD.org>2011-12-15 14:18:10 +0800
commit316d5b8935aec8b3140f5ba06351a9df22ab975e (patch)
tree006ffc4e249ba565a70293fcf0f1728b7914543d /www/clearsilver
parentc03ed7f6ff72201dda70f94616116d18dfcca316 (diff)
downloadfreebsd-ports-gnome-316d5b8935aec8b3140f5ba06351a9df22ab975e.tar.gz
freebsd-ports-gnome-316d5b8935aec8b3140f5ba06351a9df22ab975e.tar.zst
freebsd-ports-gnome-316d5b8935aec8b3140f5ba06351a9df22ab975e.zip
- respect CC
PR: ports/163230 Submitted by: Jan Beich <jbeich_AT_tormail.net>
Diffstat (limited to 'www/clearsilver')
-rw-r--r--www/clearsilver/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/www/clearsilver/Makefile b/www/clearsilver/Makefile
index 6cf0f7f6a4e3..87823108410a 100644
--- a/www/clearsilver/Makefile
+++ b/www/clearsilver/Makefile
@@ -69,6 +69,8 @@ post-patch:
@${REINPLACE_CMD} -E 's,(\$$\(PYTHON\)),CFLAGS="" \1,g' ${WRKSRC}/python/Makefile
@# insert -fPIC into CFLAGS to fix non-i386 builds
@${REINPLACE_CMD} -e 's|= @CFLAGS@|= @CFLAGS@ -fPIC|g' ${WRKSRC}/rules.mk.in
+ @# don't hardcode gcc for make depend
+ @${REINPLACE_CMD} -e '/Makefile.depends:/,/^$$/s/gcc/$$(CC)/' ${WRKSRC}/rules.mk.in
@# Set PYTHON_SITE
@${REINPLACE_CMD} -E 's|(PYTHON=\$$.*)|\1;PYTHON_SITE="${PYTHONPREFIX_SITELIBDIR}"|g' ${WRKSRC}/configure
@# Create the features.h files that are needed to build