pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/archivers Move GCC_REQD-for-Interix check into a hacks...
details: https://anonhg.NetBSD.org/pkgsrc/rev/7bc645936f07
branches: trunk
changeset: 487910:7bc645936f07
user: tv <tv%pkgsrc.org@localhost>
date: Fri Jan 21 21:48:32 2005 +0000
description:
Move GCC_REQD-for-Interix check into a hacks.mk; suggested by jlam.
diffstat:
archivers/advancecomp/Makefile | 8 +-------
archivers/advancecomp/hacks.mk | 14 ++++++++++++++
archivers/par2/Makefile | 8 +-------
archivers/par2/hacks.mk | 14 ++++++++++++++
4 files changed, 30 insertions(+), 14 deletions(-)
diffs (77 lines):
diff -r d83e817b168c -r 7bc645936f07 archivers/advancecomp/Makefile
--- a/archivers/advancecomp/Makefile Fri Jan 21 21:40:43 2005 +0000
+++ b/archivers/advancecomp/Makefile Fri Jan 21 21:48:32 2005 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.6 2005/01/21 20:57:54 tv Exp $
+# $NetBSD: Makefile,v 1.7 2005/01/21 21:48:32 tv Exp $
DISTNAME= advancecomp-1.13
CATEGORIES= archivers
@@ -14,11 +14,5 @@
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 d83e817b168c -r 7bc645936f07 archivers/advancecomp/hacks.mk
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/archivers/advancecomp/hacks.mk Fri Jan 21 21:48:32 2005 +0000
@@ -0,0 +1,14 @@
+# $NetBSD: hacks.mk,v 1.1 2005/01/21 21:48:32 tv Exp $
+
+.ifndef ADVANCECOMP_HACKS_MK
+ADVANCECOMP_HACKS_MK= # defined
+
+### [Fri Jan 21 21:44:32 UTC 2005 : tv]
+### Interix system-supplied g++ 3.3 iostream has no "long long" support
+###
+.if ${OPSYS} == "Interix"
+PKG_HACKS+= g++-iostream-longlong
+GCC_REQD+= 3.3.4
+.endif
+
+.endif
diff -r d83e817b168c -r 7bc645936f07 archivers/par2/Makefile
--- a/archivers/par2/Makefile Fri Jan 21 21:40:43 2005 +0000
+++ b/archivers/par2/Makefile Fri Jan 21 21:48:32 2005 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.4 2005/01/21 20:57:54 tv Exp $
+# $NetBSD: Makefile,v 1.5 2005/01/21 21:48:32 tv Exp $
#
DISTNAME= par2cmdline-0.3
@@ -17,10 +17,4 @@
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"
diff -r d83e817b168c -r 7bc645936f07 archivers/par2/hacks.mk
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/archivers/par2/hacks.mk Fri Jan 21 21:48:32 2005 +0000
@@ -0,0 +1,14 @@
+# $NetBSD: hacks.mk,v 1.1 2005/01/21 21:48:32 tv Exp $
+
+.ifndef PAR2_HACKS_MK
+PAR2_HACKS_MK= # defined
+
+### [Fri Jan 21 21:44:32 UTC 2005 : tv]
+### Interix system-supplied g++ 3.3 iostream has no "long long" support
+###
+.if ${OPSYS} == "Interix"
+PKG_HACKS+= g++-iostream-longlong
+GCC_REQD+= 3.3.4
+.endif
+
+.endif
Home |
Main Index |
Thread Index |
Old Index