summaryrefslogtreecommitdiff
path: root/textproc
diff options
context:
space:
mode:
authorgrant <grant>2004-07-25 07:42:02 +0000
committergrant <grant>2004-07-25 07:42:02 +0000
commite3de81160740144b35e90ed5d6ed20f52ed9ed67 (patch)
tree0e015b00c0fa275981ff9d0c9c70540c0a3e0ac8 /textproc
parent4e3300e42411ba31b758cdbbde235eaef07c46b4 (diff)
downloadpkgsrc-e3de81160740144b35e90ed5d6ed20f52ed9ed67.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')
-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