aboutsummaryrefslogtreecommitdiff
path: root/lang/intercal/Makefile
diff options
context:
space:
mode:
authorJohan van Selst <johans@FreeBSD.org>2012-12-31 13:34:42 +0000
committerJohan van Selst <johans@FreeBSD.org>2012-12-31 13:34:42 +0000
commit8a5d35c41ad9da3572fe809c1ea46c8e31b31bda (patch)
tree866813db8ab6e69cc553dbf3942e13351beb7c33 /lang/intercal/Makefile
parent1ab7eef6d1449f08de2690b690418cf95043e638 (diff)
downloadports-8a5d35c41ad9da3572fe809c1ea46c8e31b31bda.tar.gz
ports-8a5d35c41ad9da3572fe809c1ea46c8e31b31bda.zip
- 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 <aehlig@linta.de>
Notes
Notes: svn path=/head/; revision=309739
Diffstat (limited to 'lang/intercal/Makefile')
-rw-r--r--lang/intercal/Makefile15
1 files 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 <mph@freebsd.org>
-#
+# Created by: Matthew Hunt <mph@freebsd.org>
# $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 <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} < 900000
+USE_GCC= 4.6+
+.endif
+
+.include <bsd.port.post.mk>