diff options
author | tv <tv> | 2005-01-21 21:48:32 +0000 |
---|---|---|
committer | tv <tv> | 2005-01-21 21:48:32 +0000 |
commit | ea6858346b6f474d3b89e0f759e097d94f6f9b3f (patch) | |
tree | 441599b646b043b21aa3db712391502a0f53bab6 /archivers | |
parent | 4e7c4450e19e79316f38e394c72d73bc19dbf767 (diff) | |
download | pkgsrc-ea6858346b6f474d3b89e0f759e097d94f6f9b3f.tar.gz |
Move GCC_REQD-for-Interix check into a hacks.mk; suggested by jlam.
Diffstat (limited to 'archivers')
-rw-r--r-- | archivers/advancecomp/Makefile | 8 | ||||
-rw-r--r-- | archivers/advancecomp/hacks.mk | 14 | ||||
-rw-r--r-- | archivers/par2/Makefile | 8 | ||||
-rw-r--r-- | archivers/par2/hacks.mk | 14 |
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 |