diff options
author | marino <marino@pkgsrc.org> | 2011-12-11 12:00:34 +0000 |
---|---|---|
committer | marino <marino@pkgsrc.org> | 2011-12-11 12:00:34 +0000 |
commit | d1a8f33d47034bf05e297702c6c79c39ead9cb26 (patch) | |
tree | 9c3cb4b2f04dc6fc0166893ccf82282bd72de78b /shells/ast-ksh | |
parent | 340e4370df8513dae534fe4751bd30ae58836a89 (diff) | |
download | pkgsrc-d1a8f33d47034bf05e297702c6c79c39ead9cb26.tar.gz |
shells/ast-ksh: Fix DragonFly
Add libm to CFLAGS when building on DragonFly to allow build to complete.
Contributed-by: Chris Turner
Diffstat (limited to 'shells/ast-ksh')
-rw-r--r-- | shells/ast-ksh/Makefile.common | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/shells/ast-ksh/Makefile.common b/shells/ast-ksh/Makefile.common index 0fbecc3bcc4..b2677a51e08 100644 --- a/shells/ast-ksh/Makefile.common +++ b/shells/ast-ksh/Makefile.common @@ -1,4 +1,4 @@ -# $NetBSD: Makefile.common,v 1.26 2011/09/24 12:03:19 ryoon Exp $ +# $NetBSD: Makefile.common,v 1.27 2011/12/11 12:00:34 marino Exp $ DISTNAME= ast-ksh-${ASTKSH_VERSION} PKGNAME= ast-ksh-${ASTKSH_VERSION:S/-//g} @@ -36,6 +36,15 @@ MAKE_FLAGS+= CC=${CC:Q} CCFLAGS=${CFLAGS:M*:Q} PDKSH= /bin/ksh .endif +# Link with libm to fix sfcvt link error - +# this is kind of a hack - +# better would be to fix the 'meta makefile' to pass this +# or to use the ksh-provided math routines. + +.if ${OPSYS} == "DragonFly" +KSH93_MAKEFLAGS+= CCFLAGS=-lm +.endif + PKG_SHELL= bin/ksh93 INSTALLATION_DIRS= bin ${PKGMANDIR}/man1 |