From a7ccc5dd22724116fd454d7beb86a6ab6811def6 Mon Sep 17 00:00:00 2001 From: Mario Sergio Fujikawa Ferreira Date: Fri, 9 Apr 2004 18:23:12 +0000 Subject: 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 --- devel/ddd/Makefile | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) (limited to 'devel/ddd') 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 +# 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* -- cgit v1.2.3