aboutsummaryrefslogtreecommitdiffstats
path: root/devel
diff options
context:
space:
mode:
authorlioux <lioux@FreeBSD.org>2004-04-10 02:23:12 +0800
committerlioux <lioux@FreeBSD.org>2004-04-10 02:23:12 +0800
commitdf4206d71a629ee04e74189472e877f9630d11fd (patch)
tree1ba7dd018fcd9dbf37a0b4c1073e45933c6390c1 /devel
parentb9a88012cce2c49780795d408a36c4bad5c198e2 (diff)
downloadfreebsd-ports-graphics-df4206d71a629ee04e74189472e877f9630d11fd.tar.gz
freebsd-ports-graphics-df4206d71a629ee04e74189472e877f9630d11fd.tar.zst
freebsd-ports-graphics-df4206d71a629ee04e74189472e877f9630d11fd.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
Diffstat (limited to 'devel')
-rw-r--r--devel/ddd/Makefile11
1 files changed, 9 insertions, 2 deletions
diff --git a/devel/ddd/Makefile b/devel/ddd/Makefile
index 0bdbb148204..6edc53aaaa3 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*