summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--print/foo2zjs/distinfo4
-rw-r--r--print/foo2zjs/patches/patch-Makefile18
2 files changed, 19 insertions, 3 deletions
diff --git a/print/foo2zjs/distinfo b/print/foo2zjs/distinfo
index 0a86a38a764..ab279744d17 100644
--- a/print/foo2zjs/distinfo
+++ b/print/foo2zjs/distinfo
@@ -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 --git a/print/foo2zjs/patches/patch-Makefile b/print/foo2zjs/patches/patch-Makefile
index 1abf8136b42..3bae6fe2e9f 100644
--- a/print/foo2zjs/patches/patch-Makefile
+++ b/print/foo2zjs/patches/patch-Makefile
@@ -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 @@ Fix PREFIX path
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 " ***"; \