summaryrefslogtreecommitdiff
path: root/graphics
diff options
context:
space:
mode:
authorKris Kennaway <kris@FreeBSD.org>2004-03-14 03:01:13 +0000
committerKris Kennaway <kris@FreeBSD.org>2004-03-14 03:01:13 +0000
commit794a9d04916fcd2bf05b9cc1516be680e1dd5fd6 (patch)
treed2f1f9c97ac4b546b7de72e65fa5b2bc2a095505 /graphics
parentWork around bsd.port.mk bug: CC and CXX are not added to MAKE_ENV for (diff)
Work around bsd.port.mk bug: Does not currently set up MAKE_ENV for gcc 3.2 and 3.3
Notes
Notes: svn path=/head/; revision=103940
Diffstat (limited to 'graphics')
-rw-r--r--graphics/libwpcg/Makefile9
1 files changed, 8 insertions, 1 deletions
diff --git a/graphics/libwpcg/Makefile b/graphics/libwpcg/Makefile
index 248305d38722..a611ce162b44 100644
--- a/graphics/libwpcg/Makefile
+++ b/graphics/libwpcg/Makefile
@@ -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>