pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/textproc/aspell link against libm on Solaris for sqrt(...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/d8f6d749ede6
branches:  trunk
changeset: 478532:d8f6d749ede6
user:      grant <grant%pkgsrc.org@localhost>
date:      Sun Jul 25 07:42:02 2004 +0000

description:
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:

 textproc/aspell/Makefile |  9 ++++++++-
 1 files changed, 8 insertions(+), 1 deletions(-)

diffs (28 lines):

diff -r ef6574d11941 -r d8f6d749ede6 textproc/aspell/Makefile
--- a/textproc/aspell/Makefile  Sun Jul 25 07:34:38 2004 +0000
+++ b/textproc/aspell/Makefile  Sun Jul 25 07:42:02 2004 +0000
@@ -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 @@
 
 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



Home | Main Index | Thread Index | Old Index