summaryrefslogtreecommitdiff
path: root/print/psify
diff options
context:
space:
mode:
authorsalo <salo@pkgsrc.org>2004-07-10 13:55:09 +0000
committersalo <salo@pkgsrc.org>2004-07-10 13:55:09 +0000
commit6f12e00a99e31ae10e512e2def1210c23a52b48a (patch)
treeba141d44823dca3255494cdb1e125a1f1a4fce74 /print/psify
parent32fb85d7831c59d40f3bd85cd433414c8649bae1 (diff)
downloadpkgsrc-6f12e00a99e31ae10e512e2def1210c23a52b48a.tar.gz
Require flex, don't hardcode CC, LEX, CFLAGS, LDFLAGS.
Fixes build on Solaris.
Diffstat (limited to 'print/psify')
-rw-r--r--print/psify/Makefile3
-rw-r--r--print/psify/distinfo3
-rw-r--r--print/psify/patches/patch-aa19
3 files changed, 23 insertions, 2 deletions
diff --git a/print/psify/Makefile b/print/psify/Makefile
index d129964a6c0..1a26c5360f0 100644
--- a/print/psify/Makefile
+++ b/print/psify/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.6 2004/06/27 13:32:16 grant Exp $
+# $NetBSD: Makefile,v 1.7 2004/07/10 13:55:09 salo Exp $
#
DISTNAME= psify-19980216
@@ -16,6 +16,7 @@ EXTRACT_ONLY= #empty
NO_CONFIGURE= yes
USE_BUILDLINK3= yes
+USE_GNU_TOOLS+= lex
INSTALL_TARGET= install prefix=${PREFIX}
diff --git a/print/psify/distinfo b/print/psify/distinfo
index 979ef243b23..24b0933c1ee 100644
--- a/print/psify/distinfo
+++ b/print/psify/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.2 2001/04/20 12:41:53 agc Exp $
+$NetBSD: distinfo,v 1.3 2004/07/10 13:55:09 salo Exp $
SHA1 (psify/Makefile) = fbceb5e2add289e07a42fceb0978a95e57b316c3
Size (psify/Makefile) = 498 bytes
@@ -8,3 +8,4 @@ SHA1 (psify/psify.lex) = ed5af37231547e5ac8788d47ca461181f9b7c512
Size (psify/psify.lex) = 18541 bytes
SHA1 (psify/psify.man) = f517bc97ba3d3ff20fa19f86f4a6c26d20e1afbc
Size (psify/psify.man) = 4023 bytes
+SHA1 (patch-aa) = da19420bf10a2c22afc86a9140943c4857641fe9
diff --git a/print/psify/patches/patch-aa b/print/psify/patches/patch-aa
new file mode 100644
index 00000000000..68dcdab744b
--- /dev/null
+++ b/print/psify/patches/patch-aa
@@ -0,0 +1,19 @@
+$NetBSD: patch-aa,v 1.1 2004/07/10 13:55:09 salo Exp $
+
+--- Makefile.orig Sat Jul 10 15:43:55 2004
++++ Makefile Sat Jul 10 15:44:27 2004
+@@ -2,10 +2,10 @@
+
+ PROG = psify
+ OBJS = psify.o lex.yy.o
+-CC = gcc
+-LEX = flex
+-CFLAGS = -O
+-LDFLAGS =
++#CC = gcc
++#LEX = flex
++#CFLAGS = -O
++#LDFLAGS =
+ #GREP = grep
+ #LIBS = `$(GREP) -q FLEX_SCANNER lex.yy.c || echo -ll`
+