openbsd-ports/devel/pcre++/patches/patch-examples_Makefile_in
alek c16b4beb0a Import pcre++ 0.9.5
PCRE++ is a C++ wrapper-class for the PCRE library (Perl Compatible
Regular Expressions).

From Tomasz Bak <openbsdpl@wp.pl>

ok sturm@
2004-12-05 14:16:40 +00:00

22 lines
804 B
Plaintext

$OpenBSD: patch-examples_Makefile_in,v 1.1.1.1 2004/12/05 14:16:40 alek Exp $
--- examples/Makefile.in.orig Wed Aug 25 01:38:04 2004
+++ examples/Makefile.in Thu Dec 2 20:59:11 2004
@@ -89,7 +89,7 @@ replace_demo_LDADD = $(pcre_linklib)
search_demo_SOURCES = search_demo.cc
search_demo_LDADD = $(pcre_linklib)
-CXXFLAGS = -Wall -Wstrict-prototypes -O -g
+CXXFLAGS = -Wall -Wstrict-prototypes @CXXFLAGS@
mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
CONFIG_HEADER = ../libpcre++/config.h
CONFIG_CLEAN_FILES =
@@ -101,7 +101,7 @@ PROGRAMS = $(noinst_PROGRAMS)
DEFS = @DEFS@ -I. -I$(srcdir) -I../libpcre++
CPPFLAGS = @CPPFLAGS@
LDFLAGS = @LDFLAGS@
-LIBS = @LIBS@
+LIBS = @LIBS@ -lpcre
demo_OBJECTS = demo.$(OBJEXT)
demo_DEPENDENCIES = ../libpcre++/.libs/libpcre++.a
demo_LDFLAGS =