diff options
author | Cheng-Lung Sung <clsung@FreeBSD.org> | 2011-12-15 06:18:10 +0000 |
---|---|---|
committer | Cheng-Lung Sung <clsung@FreeBSD.org> | 2011-12-15 06:18:10 +0000 |
commit | ffb638afe6fe083fef3d4cb48bc06092efc4e8c8 (patch) | |
tree | eb2cf89c8c06cf7386ddedef6f358434d08ac4e3 /www/clearsilver | |
parent | 908bca94896c137eeaf9e17580c3c272292f34f8 (diff) | |
download | ports-ffb638afe6fe083fef3d4cb48bc06092efc4e8c8.tar.gz ports-ffb638afe6fe083fef3d4cb48bc06092efc4e8c8.zip |
Notes
Diffstat (limited to 'www/clearsilver')
-rw-r--r-- | www/clearsilver/Makefile | 2 |
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 |