From 8a5d35c41ad9da3572fe809c1ea46c8e31b31bda Mon Sep 17 00:00:00 2001 From: Johan van Selst Date: Mon, 31 Dec 2012 13:34:42 +0000 Subject: [PATCH] - Force use of modern GCC (4.6+) on FreeBSD 8.x and older Otherwise, an unusable binary would be produced - Bump PR PR: ports/174837 Submitted by: Klaus Aehlig --- lang/intercal/Makefile | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/lang/intercal/Makefile b/lang/intercal/Makefile index 20b91421c0db..0d3411d0bbfd 100644 --- a/lang/intercal/Makefile +++ b/lang/intercal/Makefile @@ -1,12 +1,9 @@ -# New ports collection makefile for: intercal -# Date created: 20 March 1998 -# Whom: Matthew Hunt -# +# Created by: Matthew Hunt # $FreeBSD$ -# PORTNAME= intercal PORTVERSION= 0.29 +PORTREVISION= 1 CATEGORIES= lang MASTER_SITES= http://www.catb.org/~esr/intercal/ @@ -25,4 +22,10 @@ post-patch: @${REINPLACE_CMD} -e '/ICK_SPECIFIC_SUBDIR/s/-@PACKAGE_VERSION@// ' \ ${WRKSRC}/buildaux/Makefile.in -.include +.include + +.if ${OSVERSION} < 900000 +USE_GCC= 4.6+ +.endif + +.include