diff options
author | tv <tv@pkgsrc.org> | 2005-01-21 21:48:32 +0000 |
---|---|---|
committer | tv <tv@pkgsrc.org> | 2005-01-21 21:48:32 +0000 |
commit | 151680c59ebfb04001427b8811324d183257cb30 (patch) | |
tree | 441599b646b043b21aa3db712391502a0f53bab6 /archivers/par2 | |
parent | f1921c15cc96e568486c1e3b63926e906c643e40 (diff) | |
download | pkgsrc-151680c59ebfb04001427b8811324d183257cb30.tar.gz |
Move GCC_REQD-for-Interix check into a hacks.mk; suggested by jlam.
Diffstat (limited to 'archivers/par2')
-rw-r--r-- | archivers/par2/Makefile | 8 | ||||
-rw-r--r-- | archivers/par2/hacks.mk | 14 |
2 files changed, 15 insertions, 7 deletions
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 |