pkgsrc/devel/pccts/patches/patch-ac
2004-01-29 11:49:50 +00:00

19 lines
528 B
Text

$NetBSD: patch-ac,v 1.2 2004/01/29 11:49:50 grant Exp $
--- sorcerer/makefile.orig 2000-02-16 03:07:11.000000000 +1100
+++ sorcerer/makefile
@@ -16,12 +16,12 @@ GRM = sor.g
SRC = sor.c scan.c err.c main.c globals.c gen.c $(SET)/set.c hash.c look.c cpp.c
OBJ = sor.o scan.o err.o main.o globals.o gen.o set.o hash.o look.o cpp.o
GENHFILES = tokens.h mode.h stdpccts.h
-CC=cc
+#CC=cc
SHELL=/bin/sh
all:
$(MAKE) sor
- (cd lib; $(MAKE))
+ (cd lib; $(MAKE) "CC=${CC}")
sor: $(OBJ) $(SRC)
$(CC) -o sor $(CFLAGS) $(OBJ)