aboutsummaryrefslogtreecommitdiffstats
path: root/graphics
diff options
context:
space:
mode:
authorkris <kris@FreeBSD.org>2004-03-14 11:01:13 +0800
committerkris <kris@FreeBSD.org>2004-03-14 11:01:13 +0800
commitc97a0c1154e00cdbf4b46e1e99033babbb160c76 (patch)
tree173ee7c4de3a05085629aa00c6b9c501522bb263 /graphics
parent396c5a90b78f1297d0eb6a2efa2965b242931b46 (diff)
downloadfreebsd-ports-graphics-c97a0c1154e00cdbf4b46e1e99033babbb160c76.tar.gz
freebsd-ports-graphics-c97a0c1154e00cdbf4b46e1e99033babbb160c76.tar.zst
freebsd-ports-graphics-c97a0c1154e00cdbf4b46e1e99033babbb160c76.zip
Work around bsd.port.mk bug: Does not currently set up MAKE_ENV for gcc 3.2 and 3.3
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 248305d3872..a611ce162b4 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>