pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/archivers Add GCC_REQD for Interix to prevent use of t...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/bea64c749811
branches:  trunk
changeset: 487905:bea64c749811
user:      tv <tv%pkgsrc.org@localhost>
date:      Fri Jan 21 20:57:54 2005 +0000

description:
Add GCC_REQD for Interix to prevent use of the base system gcc, which is
missing "long long" support in iostream.

diffstat:

 archivers/advancecomp/Makefile |  8 +++++++-
 archivers/par2/Makefile        |  8 +++++++-
 2 files changed, 14 insertions(+), 2 deletions(-)

diffs (41 lines):

diff -r f3aeb6b3eadf -r bea64c749811 archivers/advancecomp/Makefile
--- a/archivers/advancecomp/Makefile    Fri Jan 21 20:53:09 2005 +0000
+++ b/archivers/advancecomp/Makefile    Fri Jan 21 20:57:54 2005 +0000
@@ -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 @@
 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 -r f3aeb6b3eadf -r bea64c749811 archivers/par2/Makefile
--- a/archivers/par2/Makefile   Fri Jan 21 20:53:09 2005 +0000
+++ b/archivers/par2/Makefile   Fri Jan 21 20:57:54 2005 +0000
@@ -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_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"



Home | Main Index | Thread Index | Old Index