kill useless CFLAGS additions, define __STRICT_ANSI__ so that log gets
a modern prototype, define log=mylog to remove conflict with built-in.
This commit is contained in:
parent
30078324e4
commit
69f7ead5ca
@ -1,4 +1,4 @@
|
||||
# $OpenBSD: Makefile,v 1.13 2002/10/28 22:43:46 naddy Exp $
|
||||
# $OpenBSD: Makefile,v 1.14 2004/01/04 18:42:42 espie Exp $
|
||||
|
||||
COMMENT= "text search engine"
|
||||
|
||||
@ -20,6 +20,7 @@ CONFIGURE_STYLE= gnu dest old
|
||||
pre-configure:
|
||||
chmod ugo+x ${WRKSRC}/configure
|
||||
|
||||
CFLAGS+=-D__STRICT_ANSI__ -Dlog=mylog
|
||||
VMEM_WARNING= Yes
|
||||
NO_REGRESS= Yes
|
||||
|
||||
|
12
textproc/glimpse/patches/patch-Makefile_in
Normal file
12
textproc/glimpse/patches/patch-Makefile_in
Normal file
@ -0,0 +1,12 @@
|
||||
$OpenBSD: patch-Makefile_in,v 1.1 2004/01/04 18:42:42 espie Exp $
|
||||
--- Makefile.in.orig 2004-01-04 19:38:04.000000000 +0100
|
||||
+++ Makefile.in 2004-01-04 19:38:10.000000000 +0100
|
||||
@@ -32,7 +32,7 @@ TEMPLATESRC = $(srcdir)/$(TEMPLATEDI
|
||||
COMPRESSDIR = compress
|
||||
COMPRESSSRC = $(srcdir)/$(COMPRESSDIR)
|
||||
|
||||
-CFLAGS = @CFLAGS@ -O -DSTRUCTURED_QUERIES=1
|
||||
+CFLAGS = @CFLAGS@ -DSTRUCTURED_QUERIES=1
|
||||
ALL_CFLAGS = $(CFLAGS) $(DEFS) -I$(INDEXSRC) -I$(AGREPSRC) -I$(TEMPLATESRC)/include
|
||||
LINKFLAGS = @LDFLAGS@ -I$(INDEXSRC) -I$(AGREPSRC) -I$(TEMPLATESRC)/include
|
||||
|
@ -0,0 +1,11 @@
|
||||
$OpenBSD: patch-libtemplate_template_Makefile_in,v 1.1 2004/01/04 18:42:42 espie Exp $
|
||||
--- libtemplate/template/Makefile.in.orig 2004-01-04 19:37:15.000000000 +0100
|
||||
+++ libtemplate/template/Makefile.in 2004-01-04 19:37:19.000000000 +0100
|
||||
@@ -24,7 +24,6 @@ LN_S = @LN_S@
|
||||
DEBUG = $(DEBUG_TOP) #-O #-g #-DDEBUG
|
||||
DEBUG_LIBS =
|
||||
|
||||
-CFLAGS = -O
|
||||
INCLUDE = -I$(srcdir)/../include
|
||||
ALL_CFLAGS = $(CFLAGS) $(DEBUG) $(INCLUDE)
|
||||
|
11
textproc/glimpse/patches/patch-libtemplate_util_Makefile_in
Normal file
11
textproc/glimpse/patches/patch-libtemplate_util_Makefile_in
Normal file
@ -0,0 +1,11 @@
|
||||
$OpenBSD: patch-libtemplate_util_Makefile_in,v 1.1 2004/01/04 18:42:42 espie Exp $
|
||||
--- libtemplate/util/Makefile.in.orig 2004-01-04 19:34:53.000000000 +0100
|
||||
+++ libtemplate/util/Makefile.in 2004-01-04 19:35:05.000000000 +0100
|
||||
@@ -19,7 +19,6 @@ INSTALL_FILE = @INSTALL_DATA@
|
||||
RANLIB = @RANLIB@
|
||||
|
||||
INCLUDE = -I$(srcdir)/../include
|
||||
-CFLAGS = -O
|
||||
ALL_CFLAGS = $(CFLAGS) $(DEBUG) $(INCLUDE)
|
||||
|
||||
.c.o:
|
Loading…
Reference in New Issue
Block a user