1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-19 19:59:43 +00:00

Work around bsd.port.mk bug: CC and CXX are not added to MAKE_ENV for

USE_GCC=3.2 and 3.3.
This commit is contained in:
Kris Kennaway 2004-03-14 02:57:57 +00:00
parent e780bcfc26
commit 6a05f086fc
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=103939

View File

@ -22,8 +22,15 @@ CONFIGURE_ARGS= --disable-threading
USE_GMAKE= yes
INSTALLS_SHLIB= yes
.include <bsd.port.pre.mk>
.if ${OSVERSION} < 501103
# Work around bsd.port.mk bug: Does not currently set up MAKE_ENV for gcc 3.2 and 3.3
MAKE_ENV+= CC="${CC}" CXX="${CXX}"
.endif
# dirty hack
post-configure:
@${CP} -f ${WRKSRC}/include/sys.ho ${WRKSRC}/include/sys.h
.include <bsd.port.mk>
.include <bsd.port.post.mk>