aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils
diff options
context:
space:
mode:
authorcrees <crees@FreeBSD.org>2011-07-04 03:02:08 +0800
committercrees <crees@FreeBSD.org>2011-07-04 03:02:08 +0800
commit9c21cd653bdfe593e2c73edd54b9a3d60021d089 (patch)
tree0d8d542b8d3057f0d4e13a71a29b7525d0a53329 /sysutils
parent8e832b08e0002d216c8fa039149f542784cca98b (diff)
downloadfreebsd-ports-gnome-9c21cd653bdfe593e2c73edd54b9a3d60021d089.tar.gz
freebsd-ports-gnome-9c21cd653bdfe593e2c73edd54b9a3d60021d089.tar.zst
freebsd-ports-gnome-9c21cd653bdfe593e2c73edd54b9a3d60021d089.zip
- Fix build with clang
PR: ports/158100 Submitted by: Niclas Zeising <niclas.zeising@gmail.com> Approved by: rene (mentor)
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/afio/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/sysutils/afio/Makefile b/sysutils/afio/Makefile
index 91bba3726b60..7b9efc25e1bb 100644
--- a/sysutils/afio/Makefile
+++ b/sysutils/afio/Makefile
@@ -18,6 +18,10 @@ COMMENT= Archiver & backup program w/ builtin compression
ALL_TARGET= ${PORTNAME}
MAN1= afio.1
+post-patch:
+ @${REINPLACE_CMD} -e 's|^CC=.*$$|CC=${CC}|' \
+ ${WRKSRC}/Makefile
+
post-install:
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}