diff options
-rw-r--r-- | graphics/libwpcg/Makefile | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/graphics/libwpcg/Makefile b/graphics/libwpcg/Makefile index 248305d..a611ce1 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> |