diff options
author | joerg <joerg@pkgsrc.org> | 2007-06-27 13:40:49 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2007-06-27 13:40:49 +0000 |
commit | 74d7e13fdf901732ea6997827dc14f19bdccf881 (patch) | |
tree | b77a3ea5ed3bf6e6df8151d929624421e62eda37 /sysutils/sformat | |
parent | 627d8bd1e545ffa49910a18360f685e3ba5ae13f (diff) | |
download | pkgsrc-74d7e13fdf901732ea6997827dc14f19bdccf881.tar.gz |
Fix build on DragonFly.
Diffstat (limited to 'sysutils/sformat')
-rw-r--r-- | sysutils/sformat/Makefile | 6 | ||||
-rw-r--r-- | sysutils/sformat/distinfo | 3 | ||||
-rw-r--r-- | sysutils/sformat/patches/patch-aa | 13 |
3 files changed, 20 insertions, 2 deletions
diff --git a/sysutils/sformat/Makefile b/sysutils/sformat/Makefile index 39e5e70d241..28892685523 100644 --- a/sysutils/sformat/Makefile +++ b/sysutils/sformat/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.9 2007/02/22 19:27:12 wiz Exp $ +# $NetBSD: Makefile,v 1.10 2007/06/27 13:40:49 joerg Exp $ # DISTNAME= sformat-3.5 @@ -32,4 +32,8 @@ MAKE_ENV+= CCOM="gcc" INSTALLATION_DIRS= bin include lib ${PKGMANDIR}/man5 ${PKGMANDIR}/man8 +post-extract: + ${CP} ${WRKSRC}/RULES/os-freebsd.id ${WRKSRC}/RULES/os-dragonfly.id + ${CP} ${WRKSRC}/RULES/os-freebsd.def ${WRKSRC}/RULES/os-dragonfly.def + .include "../../mk/bsd.pkg.mk" diff --git a/sysutils/sformat/distinfo b/sysutils/sformat/distinfo index 9321355e0b1..24d7a9db623 100644 --- a/sysutils/sformat/distinfo +++ b/sysutils/sformat/distinfo @@ -1,5 +1,6 @@ -$NetBSD: distinfo,v 1.2 2005/02/24 13:40:57 agc Exp $ +$NetBSD: distinfo,v 1.3 2007/06/27 13:40:49 joerg Exp $ SHA1 (sformat-3.5.tar.gz) = 1ebde6c9d58f376ad2d82f6f8e3bb2e89da00920 RMD160 (sformat-3.5.tar.gz) = 5dd3e15d1fca7dd961694996bd094e3f2abce28f Size (sformat-3.5.tar.gz) = 526375 bytes +SHA1 (patch-aa) = e398bc734a7bc48668a0b61d3535c0d87b1a4ccf diff --git a/sysutils/sformat/patches/patch-aa b/sysutils/sformat/patches/patch-aa new file mode 100644 index 00000000000..2c2ccdb315d --- /dev/null +++ b/sysutils/sformat/patches/patch-aa @@ -0,0 +1,13 @@ +$NetBSD: patch-aa,v 1.1 2007/06/27 13:40:49 joerg Exp $ + +--- lib/fconv.c.orig 2007-06-27 13:16:27.000000000 +0000 ++++ lib/fconv.c +@@ -68,7 +68,7 @@ extern char *fcvt __PR((double, int, int + #define FOUND_ISXX + #endif + +-#if defined(HAVE_IEEEFP_H) && !defined(FOUND_ISXX) ++#if defined(HAVE_IEEEFP_H) && !defined(FOUND_ISXX) && !defined(__DragonFly__) + /* + * SVR4 + */ |