aboutsummaryrefslogtreecommitdiff
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
parent6a05f086fc97997bd47677c1777d0e2e57c7e3a1 (diff)
downloadports-794a9d04916fcd2bf05b9cc1516be680e1dd5fd6.tar.gz
ports-794a9d04916fcd2bf05b9cc1516be680e1dd5fd6.zip
Notes
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>