pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/print/psify Require flex, don't hardcode CC, LEX, CFLA...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/05cd16f7f492
branches:  trunk
changeset: 477847:05cd16f7f492
user:      salo <salo%pkgsrc.org@localhost>
date:      Sat Jul 10 13:55:09 2004 +0000

description:
Require flex, don't hardcode CC, LEX, CFLAGS, LDFLAGS.
Fixes build on Solaris.

diffstat:

 print/psify/Makefile         |   3 ++-
 print/psify/distinfo         |   3 ++-
 print/psify/patches/patch-aa |  19 +++++++++++++++++++
 3 files changed, 23 insertions(+), 2 deletions(-)

diffs (54 lines):

diff -r fffb11f5bbf2 -r 05cd16f7f492 print/psify/Makefile
--- a/print/psify/Makefile      Sat Jul 10 13:29:34 2004 +0000
+++ b/print/psify/Makefile      Sat Jul 10 13:55:09 2004 +0000
@@ -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 @@
 
 NO_CONFIGURE=  yes
 USE_BUILDLINK3=        yes
+USE_GNU_TOOLS+=        lex
 
 INSTALL_TARGET=        install prefix=${PREFIX}
 
diff -r fffb11f5bbf2 -r 05cd16f7f492 print/psify/distinfo
--- a/print/psify/distinfo      Sat Jul 10 13:29:34 2004 +0000
+++ b/print/psify/distinfo      Sat Jul 10 13:55:09 2004 +0000
@@ -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 @@
 Size (psify/psify.lex) = 18541 bytes
 SHA1 (psify/psify.man) = f517bc97ba3d3ff20fa19f86f4a6c26d20e1afbc
 Size (psify/psify.man) = 4023 bytes
+SHA1 (patch-aa) = da19420bf10a2c22afc86a9140943c4857641fe9
diff -r fffb11f5bbf2 -r 05cd16f7f492 print/psify/patches/patch-aa
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/print/psify/patches/patch-aa      Sat Jul 10 13:55:09 2004 +0000
@@ -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`
+ 



Home | Main Index | Thread Index | Old Index