aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBruce Momjian <bruce@momjian.us>2000-02-23 22:24:46 +0000
committerBruce Momjian <bruce@momjian.us>2000-02-23 22:24:46 +0000
commitf40c50627f8df66b3a15a69cbe493ecbde78b8f2 (patch)
tree5602b378a78123b0c1cce9532b96dc48b5656dc7 /src
parent9f74608f4756aa9735ebceee2f29b6ddc830cccc (diff)
downloadpostgresql-f40c50627f8df66b3a15a69cbe493ecbde78b8f2.tar.gz
postgresql-f40c50627f8df66b3a15a69cbe493ecbde78b8f2.zip
Fix plpsql for bsdi.
Diffstat (limited to 'src')
-rw-r--r--src/pl/plpgsql/src/Makefile.in6
-rwxr-xr-xsrc/tools/copyright5
2 files changed, 10 insertions, 1 deletions
diff --git a/src/pl/plpgsql/src/Makefile.in b/src/pl/plpgsql/src/Makefile.in
index 57c5d72b14f..781c4833015 100644
--- a/src/pl/plpgsql/src/Makefile.in
+++ b/src/pl/plpgsql/src/Makefile.in
@@ -4,7 +4,7 @@
# Makefile for the plpgsql shared object
#
# IDENTIFICATION
-# $Header: /cvsroot/pgsql/src/pl/plpgsql/src/Attic/Makefile.in,v 1.19 2000/01/16 20:04:59 petere Exp $
+# $Header: /cvsroot/pgsql/src/pl/plpgsql/src/Attic/Makefile.in,v 1.20 2000/02/23 22:24:45 momjian Exp $
#
#-------------------------------------------------------------------------
@@ -24,6 +24,10 @@ CFLAGS+= -I$(SRCDIR)/backend
ifneq (,$(findstring flex,$(LEX)))
LFLAGS+= -i -l
endif
+# bsdi calls flex lex
+ifeq ($(PORTNAME), bsdi)
+LFLAGS+= -i -l
+endif
OBJS= pl_parse.o pl_handler.o pl_comp.o pl_exec.o pl_funcs.o
diff --git a/src/tools/copyright b/src/tools/copyright
new file mode 100755
index 00000000000..cc64e4d8ee7
--- /dev/null
+++ b/src/tools/copyright
@@ -0,0 +1,5 @@
+rgrepc -l 'Copyright.*Regents' | while read FILE
+do
+ pipe sed 's/^\(.*\)\(Copyright.*Regents.*\)$/ * Portions Copyright (c) 1996-1999, PostgreSQL, Inc\
+\1Portions \2/g' $FILE
+done