diff options
author | Baptiste Daroussin <bapt@FreeBSD.org> | 2011-06-20 16:58:07 +0000 |
---|---|---|
committer | Baptiste Daroussin <bapt@FreeBSD.org> | 2011-06-20 16:58:07 +0000 |
commit | 8c604d65434089c0567c6c88ac6ed18e9bd4808f (patch) | |
tree | 96b1bc76d676964de59b217abd97f92fba8d12d5 /devel/cdk | |
parent | 6b7f34837ba4377869782d99d0d7acca73ec9887 (diff) | |
download | ports-8c604d65434089c0567c6c88ac6ed18e9bd4808f.tar.gz ports-8c604d65434089c0567c6c88ac6ed18e9bd4808f.zip |
Fix build with clang
Notes
Notes:
svn path=/head/; revision=275908
Diffstat (limited to 'devel/cdk')
-rw-r--r-- | devel/cdk/Makefile | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/devel/cdk/Makefile b/devel/cdk/Makefile index c5c0412cf291..e046f6d80b8d 100644 --- a/devel/cdk/Makefile +++ b/devel/cdk/Makefile @@ -40,7 +40,8 @@ EXTRA_PATCHES+= ${FILESDIR}/extra-patch-Makefile.in .endif post-patch: - @${REINPLACE_CMD} -e 's|/doc/cdk|/share/doc/cdk| ; s|VERSION)|VERSION_MAJOR)|' ${WRKSRC}/Makefile.in + @${REINPLACE_CMD} -e 's|/doc/cdk|/share/doc/cdk| ; s|VERSION)|VERSION_MAJOR)|' \ + -e 's|gcc|${CC}|g' ${WRKSRC}/Makefile.in pre-install: .if !defined(NOPORTEXAMPLES) |