aboutsummaryrefslogtreecommitdiff
path: root/devel/elf
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2011-06-20 17:43:40 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2011-06-20 17:43:40 +0000
commitc863d8eeb509a2e0f3d7f5c5f7f6faf2eb7f0638 (patch)
tree42dd4e026ca5c25dcbc81e6ed5a1e06c78b2fe1a /devel/elf
parent1897b6f7eb5c18e1d736b2416d4217a4c3c536b3 (diff)
downloadports-c863d8eeb509a2e0f3d7f5c5f7f6faf2eb7f0638.tar.gz
ports-c863d8eeb509a2e0f3d7f5c5f7f6faf2eb7f0638.zip
Fix build with clang
Notes
Notes: svn path=/head/; revision=275914
Diffstat (limited to 'devel/elf')
-rw-r--r--devel/elf/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/devel/elf/Makefile b/devel/elf/Makefile
index a7e7adfaf9ec..7e9c23593171 100644
--- a/devel/elf/Makefile
+++ b/devel/elf/Makefile
@@ -21,4 +21,7 @@ PLIST_FILES= bin/elf
USE_GMAKE= yes
GNU_CONFIGURE= yes
+post-patch:
+ @${REINPLACE_CMD} -e 's/gcc/${CC}/g' ${WRKSRC}/src/Makefile.in
+
.include <bsd.port.mk>