Work around bsd.port.mk bug: Does not currently set up MAKE_ENV for gcc 3.2 and 3.3
This commit is contained in:
parent
6a05f086fc
commit
794a9d0491
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=103940
@ -22,4 +22,11 @@ CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
|
||||
CONFIGURE_ENV= CPPFLAGS="-I${X11BASE}/include" \
|
||||
LDFLAGS="-L${X11BASE}/lib -lGL -lGLU -lglut"
|
||||
|
||||
.include <bsd.port.mk>
|
||||
.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
|
||||
|
||||
.include <bsd.port.post.mk>
|
||||
|
Loading…
Reference in New Issue
Block a user