summaryrefslogtreecommitdiff
path: root/textproc/aspell/Makefile
diff options
context:
space:
mode:
authorgrant <grant@pkgsrc.org>2004-07-25 07:42:02 +0000
committergrant <grant@pkgsrc.org>2004-07-25 07:42:02 +0000
commit9bdf7a18602e537e92fad9b3e5c3dc7f4ba9d3af (patch)
tree0e015b00c0fa275981ff9d0c9c70540c0a3e0ac8 /textproc/aspell/Makefile
parent664016a543e2025e94929556488697c47c802373 (diff)
downloadpkgsrc-9bdf7a18602e537e92fad9b3e5c3dc7f4ba9d3af.tar.gz
link against libm on Solaris for sqrt(), as well as libCrun and libCstd
when using SunPro so libaspell.so can resolve all symbols required. bump PKGREVISION for library dependency change.
Diffstat (limited to 'textproc/aspell/Makefile')
-rw-r--r--textproc/aspell/Makefile9
1 files changed, 8 insertions, 1 deletions
diff --git a/textproc/aspell/Makefile b/textproc/aspell/Makefile
index 0f602f1ef62..e825371c866 100644
--- a/textproc/aspell/Makefile
+++ b/textproc/aspell/Makefile
@@ -1,7 +1,8 @@
-# $NetBSD: Makefile,v 1.22 2004/07/24 19:05:37 salo Exp $
+# $NetBSD: Makefile,v 1.23 2004/07/25 07:42:02 grant Exp $
#
DISTNAME= aspell-0.50.5
+PKGREVISION= 1
CATEGORIES= textproc
MASTER_SITES= ${MASTER_SITE_GNU:=aspell/}
@@ -23,8 +24,14 @@ CONFIGURE_ARGS+= --enable-curses=ncurses
REPLACE_PERL= scripts/aspell-import
+LIBS.SunOS+= -lm
+
.include "../../mk/compiler.mk"
+.if !empty(PKGSRC_COMPILER:Msunpro)
+LIBS.SunOS+= -lCrun -lCstd
+.endif
+
pre-patch:
.if !empty(PKGSRC_COMPILER:Msunpro)
@cd ${WRKSRC} && ${PATCH} -p1 -s < suncc/aspell-0.50.4.1-suncc.diff