aboutsummaryrefslogtreecommitdiff
path: root/devel/ddd
diff options
context:
space:
mode:
authorMario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>2004-04-09 18:23:12 +0000
committerMario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>2004-04-09 18:23:12 +0000
commita7ccc5dd22724116fd454d7beb86a6ab6811def6 (patch)
treec3395af5333ab4ea7bad78825462dbf4ff4ff74c /devel/ddd
parent54a225485ff5f812457d079837f1d11f471970c3 (diff)
downloadports-a7ccc5dd22724116fd454d7beb86a6ab6811def6.tar.gz
ports-a7ccc5dd22724116fd454d7beb86a6ab6811def6.zip
Fix build: 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
Notes
Notes: svn path=/head/; revision=106595
Diffstat (limited to 'devel/ddd')
-rw-r--r--devel/ddd/Makefile11
1 files changed, 9 insertions, 2 deletions
diff --git a/devel/ddd/Makefile b/devel/ddd/Makefile
index 0bdbb1482044..6edc53aaaa37 100644
--- a/devel/ddd/Makefile
+++ b/devel/ddd/Makefile
@@ -8,7 +8,6 @@
PORTNAME= ddd
PORTVERSION= 3.3.8
-PORTREVISION= 0
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_GNU}
MASTER_SITE_SUBDIR= ddd
@@ -20,7 +19,6 @@ LIB_DEPENDS= iberty.1:${PORTSDIR}/devel/freelibiberty
USE_GMAKE= yes
USE_REINPLACE= yes
-USE_SIZE= yes
USE_XPM= yes
USE_MOTIF= yes
USE_LIBTOOL_VER=13
@@ -54,6 +52,15 @@ 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
+.if ${OSVERSION} >= 500035 && ${OSVERSION} <= 500038
+USE_GCC=3.1
+.else
+USE_GCC=3.2
+.endif
+
pre-patch:
@${RM} -fv ${WRKSRC}/ddd/ddd.info*
@${RM} -fv ${WRKSRC}/ddd/ddd-themes.info*