summaryrefslogtreecommitdiff
path: root/textproc/aspell
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
commitc3c01fde3f736621a67c74799c159c618519d5ea (patch)
tree0e015b00c0fa275981ff9d0c9c70540c0a3e0ac8 /textproc/aspell
parenta8c0d67d4f913ddbc598504732048f1f82658936 (diff)
downloadpkgsrc-c3c01fde3f736621a67c74799c159c618519d5ea.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')
-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