openbsd-ports/converters/html2text/patches/patch-Makefile_in
jasper 058f305d9b import html2text 1.3.2a
html2text is a command line utility, written in C++, that converts HTML
documents into plain text.

feedback and ok merdely@
2007-09-17 19:21:21 +00:00

26 lines
833 B
Plaintext

$OpenBSD: patch-Makefile_in,v 1.1.1.1 2007/09/17 19:21:21 jasper Exp $
--- Makefile.in.orig Wed Jan 14 14:47:02 2004
+++ Makefile.in Thu Sep 13 21:36:17 2007
@@ -29,9 +29,9 @@ BISONXX = bison++
YFLAGS =
INSTALLER = install
-BINDIR = /usr/local/bin
-MANDIR = /usr/local/man
-DOCDIR = /usr/share/doc/html2text
+BINDIR = $(PREFIX)/bin
+MANDIR = $(PREFIX)/man
+DOCDIR = $(PREFIX)/share/doc/html2text
CXX = @CXX@
BOOL_DEFINITION = @BOOL_DEFINITION@
@@ -48,7 +48,7 @@ DEBUG=-O2 -g
INCLUDES = $(LIBSTDCXX_INCLUDES)
DEFINES = -DVERSION=$(VERSION) $(SYS_POLL_MISSING) $(BOOL_DEFINITION) $(EXPLICIT) $(AUTO_PTR_BROKEN)
CPPFLAGS = $(INCLUDES) $(DEFINES)
-CXXFLAGS = $(CPPFLAGS) $(DEBUG)
+CXXFLAGS = $(CPPFLAGS)
LDFLAGS = $(DEBUG)
LOADLIBES = $(LIBSTDCXX_LIBS) $(SOCKET_LIBRARIES)