1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-01 05:45:45 +00:00

Cleaner patch to honour $CC (no functional change)

Reported by:	bapt
This commit is contained in:
Johan van Selst 2016-05-18 12:43:12 +00:00
parent 6ffe695fe9
commit 0a10f65db4
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=415437

View File

@ -22,6 +22,7 @@ RESTRICTED= Restrictions on for-profit distribution
USES= compiler:features gmake perl5
ALL_TARGET= world
MAKE_ARGS= ADDRUNLIBS= \
CC="${CC}" \
CPP="${CPP} -P -traditional -Dunix -Umsdos" \
DOCSDIR="${DOCSDIR}" \
DYNLD="${CC} -shared" \
@ -36,7 +37,6 @@ OPTIONS_DEFINE= DOCS EXAMPLES
.include <bsd.port.pre.mk>
post-patch:
${REINPLACE_CMD} -e '/^CC=/s/^/#/' ${WRKSRC}/Makefile.inc
${REINPLACE_CMD} 's/make /$$(MAKE) /' ${WRKSRC}/doc/Makefile \
${WRKSRC}/doc/helpsigs/Makefile