diff options
author | grant <grant@pkgsrc.org> | 2003-07-18 11:14:43 +0000 |
---|---|---|
committer | grant <grant@pkgsrc.org> | 2003-07-18 11:14:43 +0000 |
commit | 60348025a4292fe01c839e9d4ead08634a923083 (patch) | |
tree | 1e9bbb6f0179346624f90a7ab94708e0e8afe309 /textproc/sablotron | |
parent | ab4338ef1a652d9d86449edc956633986c8377a5 (diff) | |
download | pkgsrc-60348025a4292fe01c839e9d4ead08634a923083.tar.gz |
only use libstdc++ and libm if we aren't using sunpro or mipspro.
Diffstat (limited to 'textproc/sablotron')
-rw-r--r-- | textproc/sablotron/Makefile | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/textproc/sablotron/Makefile b/textproc/sablotron/Makefile index 3852ec86fe1..5403a7918d3 100644 --- a/textproc/sablotron/Makefile +++ b/textproc/sablotron/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.12 2003/07/13 13:53:36 wiz Exp $ +# $NetBSD: Makefile,v 1.13 2003/07/18 11:14:43 grant Exp $ DISTNAME= Sablot-0.96 PKGNAME= sablotron-0.96 @@ -19,9 +19,13 @@ USE_LIBTOOL= YES LIBTOOL_OVERRIDE= ${WRKSRC}/libtool LDFLAGS+= -liconv +.include "../../mk/bsd.prefs.mk" + # this is required for gcc 2.95.x, where libstdc++ doesn't include the # math functions. only libstdc++ is required for gcc 3.3. +.if !defined(USE_SUNPRO) && !defined(USE_MIPSPRO) LDFLAGS+= -lstdc++ -lm +.endif .include "../../converters/libiconv/buildlink2.mk" .include "../../textproc/expat/buildlink2.mk" |