pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/print/foo2zjs print/foo2zjs: Remove bad dependency che...
details: https://anonhg.NetBSD.org/pkgsrc/rev/e3bba66ab626
branches: trunk
changeset: 607369:e3bba66ab626
user: marino <marino%pkgsrc.org@localhost>
date: Fri Aug 10 16:30:53 2012 +0000
description:
print/foo2zjs: Remove bad dependency check of dc
The package assumes that if the dc program doesn't support -V, it must
not support -e either. This is a bad assumption; DragonFly supports
-e but doesn't support -V. Rather than try to fix a bad conftest, just
remove it completely. There's a previous test for dc presence. If dc
doesn't support -e, let it break during the build rather than before it.
It doesn't take long to build.
diffstat:
print/foo2zjs/distinfo | 4 ++--
print/foo2zjs/patches/patch-Makefile | 18 +++++++++++++++++-
2 files changed, 19 insertions(+), 3 deletions(-)
diffs (44 lines):
diff -r 9498e2add5e8 -r e3bba66ab626 print/foo2zjs/distinfo
--- a/print/foo2zjs/distinfo Fri Aug 10 15:52:12 2012 +0000
+++ b/print/foo2zjs/distinfo Fri Aug 10 16:30:53 2012 +0000
@@ -1,7 +1,7 @@
-$NetBSD: distinfo,v 1.1 2012/07/25 17:15:45 imil Exp $
+$NetBSD: distinfo,v 1.2 2012/08/10 16:30:53 marino Exp $
SHA1 (foo2zjs.tar.gz) = c1a3aeb88cca8b284685c3457a7cc33d78319147
RMD160 (foo2zjs.tar.gz) = f24945860e41fda61342a9b867123202ecf82179
Size (foo2zjs.tar.gz) = 1644122 bytes
-SHA1 (patch-Makefile) = f12220eb3b77bafd63386ed7a1018dbacb9ae821
+SHA1 (patch-Makefile) = 8d1971b7c70def74dc68c1943f4a629610860d85
SHA1 (patch-icc2ps_Makefile) = 14dded40d85dcf75428277621b766963be837c12
diff -r 9498e2add5e8 -r e3bba66ab626 print/foo2zjs/patches/patch-Makefile
--- a/print/foo2zjs/patches/patch-Makefile Fri Aug 10 15:52:12 2012 +0000
+++ b/print/foo2zjs/patches/patch-Makefile Fri Aug 10 16:30:53 2012 +0000
@@ -1,6 +1,9 @@
-$NetBSD: patch-Makefile,v 1.1 2012/07/25 17:15:45 imil Exp $
+$NetBSD: patch-Makefile,v 1.2 2012/08/10 16:30:53 marino Exp $
Fix PREFIX path
+Remove extra dc check. The DragonFly version has dc that supports the -e
+option, but it doesn't support -V. It's a bad check, the conftest should
+actually test for -e support. Just remove it completely.
--- Makefile.orig 2012-06-01 23:10:31.000000000 +0000
+++ Makefile
@@ -24,3 +27,16 @@
DOCDIR=$(PREFIX)/share/doc/foo2zjs/
INSTALL=install
ROOT=root
+@@ -409,12 +407,6 @@ all-test:
+ echo " ***"; \
+ exit 1; \
+ fi
+- @if ! dc -V >/dev/null 2>&1; then \
+- echo " ***"; \
+- echo " *** Error: must install GNU dc with the -e option!"; \
+- echo " ***"; \
+- exit 1; \
+- fi
+ ifeq ($(UNAME),Darwin)
+ @if ! type gsed >/dev/null 2>&1; then \
+ echo " ***"; \
Home |
Main Index |
Thread Index |
Old Index