summaryrefslogtreecommitdiffstats
path: root/devel/ddd/Makefile
diff options
context:
space:
mode:
authorlioux <lioux@FreeBSD.org>2004-06-25 04:09:16 +0000
committerlioux <lioux@FreeBSD.org>2004-06-25 04:09:16 +0000
commit541ac4e7315c3f13d7e7cad0d568311fe8058f38 (patch)
treef00e1bf94b08283774a56f7cacf2369a164a47f5 /devel/ddd/Makefile
parent1585d4ad41f987710a04792ba67c380327558e79 (diff)
downloadFreeBSD-ports-541ac4e7315c3f13d7e7cad0d568311fe8058f38.zip
FreeBSD-ports-541ac4e7315c3f13d7e7cad0d568311fe8058f38.tar.gz
o Fix build with GCC version 3.3
o Default to USE_GCC=3.3 for OSVERSION >= 501103 where it is the standard system base GCC PR: 65378 Submitted by: michael johnson <ahze@ahze.net>
Diffstat (limited to 'devel/ddd/Makefile')
-rw-r--r--devel/ddd/Makefile11
1 files changed, 7 insertions, 4 deletions
diff --git a/devel/ddd/Makefile b/devel/ddd/Makefile
index d050492..2a9475d 100644
--- a/devel/ddd/Makefile
+++ b/devel/ddd/Makefile
@@ -52,13 +52,16 @@ LIBXMDIR= ${X11BASE}
.include <bsd.port.pre.mk>
-# DDD builds with either GCC 3.1 or GCC 3.2
-# Use 3.1 if it is available with base system
-# Otherwise, default to 3.2
+# DDD builds with either GCC 3.1, GCC 3.2 or GCC 3.3
+# Use 3.1 or 3.2 if it is available with base system
+# Otherwise, default to 3.3
.if ${OSVERSION} >= 500035 && ${OSVERSION} <= 500038
USE_GCC=3.1
-.else
+.elif ${OSVERSION} < 501103
USE_GCC=3.2
+.else
+USE_GCC=3.3
+EXTRA_PATCHES+= ${FILESDIR}/extra-patch-configure-gcc33
.endif
pre-patch:
OpenPOWER on IntegriCloud