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