aboutsummaryrefslogtreecommitdiffstats
path: root/misc/getopt
diff options
context:
space:
mode:
Diffstat (limited to 'misc/getopt')
-rw-r--r--misc/getopt/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/misc/getopt/Makefile b/misc/getopt/Makefile
index 2f8816a10303..246741dfdb0b 100644
--- a/misc/getopt/Makefile
+++ b/misc/getopt/Makefile
@@ -24,6 +24,9 @@ MAKE_ENV= LIBCGETOPT=0 LDFLAGS="${LDFLAGS}"
MAN1= getopt.1
DOCS= Changelog README
+post-patch:
+ @${REINPLACE_CMD} -e 's|CC=gcc|CC=${CC}|' ${WRKSRC}/Makefile
+
.if !defined(NOPORTDOCS)
post-install:
@${MKDIR} ${DOCSDIR}