diff options
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 |