summaryrefslogtreecommitdiff
path: root/archivers
diff options
context:
space:
mode:
authortv <tv@pkgsrc.org>2005-01-21 21:48:32 +0000
committertv <tv@pkgsrc.org>2005-01-21 21:48:32 +0000
commit151680c59ebfb04001427b8811324d183257cb30 (patch)
tree441599b646b043b21aa3db712391502a0f53bab6 /archivers
parentf1921c15cc96e568486c1e3b63926e906c643e40 (diff)
downloadpkgsrc-151680c59ebfb04001427b8811324d183257cb30.tar.gz
Move GCC_REQD-for-Interix check into a hacks.mk; suggested by jlam.
Diffstat (limited to 'archivers')
-rw-r--r--archivers/advancecomp/Makefile8
-rw-r--r--archivers/advancecomp/hacks.mk14
-rw-r--r--archivers/par2/Makefile8
-rw-r--r--archivers/par2/hacks.mk14
4 files changed, 30 insertions, 14 deletions
diff --git a/archivers/advancecomp/Makefile b/archivers/advancecomp/Makefile
index 13645679ff3..b803b2c9ba0 100644
--- a/archivers/advancecomp/Makefile
+++ b/archivers/advancecomp/Makefile
@@ -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 @@ 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/advancecomp/hacks.mk b/archivers/advancecomp/hacks.mk
new file mode 100644
index 00000000000..57724e11219
--- /dev/null
+++ b/archivers/advancecomp/hacks.mk
@@ -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 --git a/archivers/par2/Makefile b/archivers/par2/Makefile
index c85689e6b97..247d99ba9f5 100644
--- a/archivers/par2/Makefile
+++ b/archivers/par2/Makefile
@@ -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_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"
diff --git a/archivers/par2/hacks.mk b/archivers/par2/hacks.mk
new file mode 100644
index 00000000000..5b9feb637be
--- /dev/null
+++ b/archivers/par2/hacks.mk
@@ -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