aboutsummaryrefslogtreecommitdiff
path: root/devel/ddd
diff options
context:
space:
mode:
authorMario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>2004-06-25 04:09:16 +0000
committerMario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>2004-06-25 04:09:16 +0000
commitf7fc7adb30ba672d36f177d2ac44f7ca7579ea2c (patch)
treec37f32678df0ebd388944268a8bf781a5a5552b8 /devel/ddd
parent0cd7fc1d867aa4ed67c21a3c99e7ebb433fb1250 (diff)
downloadports-f7fc7adb30ba672d36f177d2ac44f7ca7579ea2c.tar.gz
ports-f7fc7adb30ba672d36f177d2ac44f7ca7579ea2c.zip
Notes
Diffstat (limited to 'devel/ddd')
-rw-r--r--devel/ddd/Makefile11
-rw-r--r--devel/ddd/distinfo4
-rw-r--r--devel/ddd/files/extra-patch-configure-gcc3310
3 files changed, 19 insertions, 6 deletions
diff --git a/devel/ddd/Makefile b/devel/ddd/Makefile
index d050492d0a51..2a9475dfe61f 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:
diff --git a/devel/ddd/distinfo b/devel/ddd/distinfo
index 1b440bfdae68..16c4d2c81129 100644
--- a/devel/ddd/distinfo
+++ b/devel/ddd/distinfo
@@ -1,2 +1,2 @@
-MD5 (ddd-3.3.8.tar.gz) = 60c5bfbfe1564926edda629ffcf01e52
-SIZE (ddd-3.3.8.tar.gz) = 8606382
+MD5 (ddd-3.3.9.tar.gz) = acfca53c62507795f4ceb355cb34e2a2
+SIZE (ddd-3.3.9.tar.gz) = 8238347
diff --git a/devel/ddd/files/extra-patch-configure-gcc33 b/devel/ddd/files/extra-patch-configure-gcc33
new file mode 100644
index 000000000000..46ec3865caba
--- /dev/null
+++ b/devel/ddd/files/extra-patch-configure-gcc33
@@ -0,0 +1,10 @@
+--- configure.orig Fri Apr 9 15:32:46 2004
++++ configure Fri Apr 9 15:33:05 2004
+@@ -4871,6 +4871,7 @@
+ #line $LINENO "configure"
+ #include "confdefs.h"
+ #include <iostream>
++#include <fstream>
+ #ifdef F77_DUMMY_MAIN
+ # ifdef __cplusplus
+ extern "C"