diff options
Diffstat (limited to 'devel')
-rw-r--r-- | devel/ddd/Makefile | 11 |
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* |