summaryrefslogtreecommitdiff
path: root/security
diff options
context:
space:
mode:
authorKris Kennaway <kris@FreeBSD.org>2004-03-14 03:04:39 +0000
committerKris Kennaway <kris@FreeBSD.org>2004-03-14 03:04:39 +0000
commitd5b52645c7d6f6c817c1e0ba9fe3e7e0318e2e00 (patch)
treedcc5cc979ca83cef394547cfa746bb485fb9dd1a /security
parentWork around bsd.port.mk bug: Does not currently set up MAKE_ENV for gcc 3.2 a... (diff)
Switch to USE_GCC=3.3 and work around bsd.port.mk bug that does not add
CC and CXX to MAKE_ENV.
Notes
Notes: svn path=/head/; revision=103941
Diffstat (limited to 'security')
-rw-r--r--security/libecc/Makefile11
1 files changed, 9 insertions, 2 deletions
diff --git a/security/libecc/Makefile b/security/libecc/Makefile
index df55f211cd7b..bd61797131e6 100644
--- a/security/libecc/Makefile
+++ b/security/libecc/Makefile
@@ -15,8 +15,15 @@ MASTER_SITE_SUBDIR= ${PORTNAME}
MAINTAINER= ports@FreeBSD.org
COMMENT= C++ Elliptic Curve Library
-USE_GCC= 3.1
+USE_GCC= 3.3
GNU_CONFIGURE= yes
INSTALLS_SHLIB= yes
-.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>