From 9c59fabe5628c04ec98520aed0e7e6790abb4403 Mon Sep 17 00:00:00 2001 From: salo Date: Sat, 10 Jul 2004 13:55:09 +0000 Subject: Require flex, don't hardcode CC, LEX, CFLAGS, LDFLAGS. Fixes build on Solaris. --- print/psify/Makefile | 3 ++- print/psify/distinfo | 3 ++- print/psify/patches/patch-aa | 19 +++++++++++++++++++ 3 files changed, 23 insertions(+), 2 deletions(-) create mode 100644 print/psify/patches/patch-aa (limited to 'print/psify') 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` + -- cgit v1.2.3