From 46ca5a81b95e0206478176d5660656df31b121dc Mon Sep 17 00:00:00 2001 From: tv Date: Fri, 21 Jan 2005 20:57:54 +0000 Subject: Add GCC_REQD for Interix to prevent use of the base system gcc, which is missing "long long" support in iostream. --- archivers/advancecomp/Makefile | 8 +++++++- archivers/par2/Makefile | 8 +++++++- 2 files changed, 14 insertions(+), 2 deletions(-) (limited to 'archivers') diff --git a/archivers/advancecomp/Makefile b/archivers/advancecomp/Makefile index 7b0cdcbeca7..13645679ff3 100644 --- a/archivers/advancecomp/Makefile +++ b/archivers/advancecomp/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.5 2004/11/09 11:52:42 adam Exp $ +# $NetBSD: Makefile,v 1.6 2005/01/21 20:57:54 tv Exp $ DISTNAME= advancecomp-1.13 CATEGORIES= archivers @@ -14,5 +14,11 @@ USE_BUILDLINK3= yes GNU_CONFIGURE= yes USE_LANGUAGES= c++ +.include "../../mk/bsd.prefs.mk" + +.if ${OPSYS} == "Interix" +GCC_REQD+= 3.3.4 # base g++ iostream has no "long long" support +.endif + .include "../../devel/zlib/buildlink3.mk" .include "../../mk/bsd.pkg.mk" diff --git a/archivers/par2/Makefile b/archivers/par2/Makefile index 3f8b6c46dbc..c85689e6b97 100644 --- a/archivers/par2/Makefile +++ b/archivers/par2/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.3 2004/07/28 02:47:35 minskim Exp $ +# $NetBSD: Makefile,v 1.4 2005/01/21 20:57:54 tv Exp $ # DISTNAME= par2cmdline-0.3 @@ -17,4 +17,10 @@ USE_LANGUAGES= c++ USE_PKGLOCALEDIR= yes GNU_CONFIGURE= yes +.include "../../mk/bsd.prefs.mk" + +.if ${OPSYS} == "Interix" +GCC_REQD+= 3.3.4 # base g++ iostream has no "long long" support +.endif + .include "../../mk/bsd.pkg.mk" -- cgit v1.2.3