diff options
author | kris <kris@FreeBSD.org> | 2004-03-14 10:57:57 +0800 |
---|---|---|
committer | kris <kris@FreeBSD.org> | 2004-03-14 10:57:57 +0800 |
commit | 396c5a90b78f1297d0eb6a2efa2965b242931b46 (patch) | |
tree | 245f662020a1dd108d028c6f23f455a870a9b285 /devel/libcwd | |
parent | c5a0212340be280cbe2f90457febd5e21371f00c (diff) | |
download | freebsd-ports-gnome-396c5a90b78f1297d0eb6a2efa2965b242931b46.tar.gz freebsd-ports-gnome-396c5a90b78f1297d0eb6a2efa2965b242931b46.tar.zst freebsd-ports-gnome-396c5a90b78f1297d0eb6a2efa2965b242931b46.zip |
Work around bsd.port.mk bug: CC and CXX are not added to MAKE_ENV for
USE_GCC=3.2 and 3.3.
Diffstat (limited to 'devel/libcwd')
-rw-r--r-- | devel/libcwd/Makefile | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/devel/libcwd/Makefile b/devel/libcwd/Makefile index 4f1a8b8b03eb..1d6eb25efe52 100644 --- a/devel/libcwd/Makefile +++ b/devel/libcwd/Makefile @@ -22,8 +22,15 @@ CONFIGURE_ARGS= --disable-threading USE_GMAKE= yes INSTALLS_SHLIB= yes +.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 + # dirty hack post-configure: @${CP} -f ${WRKSRC}/include/sys.ho ${WRKSRC}/include/sys.h -.include <bsd.port.mk> +.include <bsd.port.post.mk> |