diff options
author | jmmv <jmmv> | 2004-09-10 08:40:51 +0000 |
---|---|---|
committer | jmmv <jmmv> | 2004-09-10 08:40:51 +0000 |
commit | e18557fbf77e8331cbde87ccf8b0cfc06780383f (patch) | |
tree | 1921c77b262dc9457853c9168757f2e83a6e4627 /textproc/xml2doc/patches | |
parent | a6d163536123e5182b2248338726191ca24188f4 (diff) | |
download | pkgsrc-e18557fbf77e8331cbde87ccf8b0cfc06780383f.tar.gz |
Avoid hardcoded /usr/pkg paths in the package, to let this build where
LOCALBASE != /usr/pkg. While here, remove multiple gcc specific flags.
Closes PR pkg/26898.
Diffstat (limited to 'textproc/xml2doc/patches')
-rw-r--r-- | textproc/xml2doc/patches/patch-ab | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/textproc/xml2doc/patches/patch-ab b/textproc/xml2doc/patches/patch-ab new file mode 100644 index 00000000000..3e0f3871fdb --- /dev/null +++ b/textproc/xml2doc/patches/patch-ab @@ -0,0 +1,21 @@ +$NetBSD: patch-ab,v 1.1 2004/09/10 08:40:51 jmmv Exp $ + +--- src/Makefile.in.orig 2003-05-03 03:37:38.000000000 +0200 ++++ src/Makefile.in +@@ -11,13 +11,9 @@ PREFIX=@PREFIX@ + + CC=gcc + OBJ=main.o defs.o parse.o parse_include.o parse_info.o parse_img.o parse_t.o parse_page.o parse_default.o parse_bookmark.o parse_add.o parse_list.o parse_sep.o output_t.o output_doc.o output_img.o output_info.o output_page.o output_sep.o output_list.o parm.o +-IPATH=-I/usr/pkg/include/libxml2 -I/usr/include/libxml2 -I. -I/usr/pkg/include -I/usr/local/include +-LPATH=-L/usr/pkg/lib -L/usr/local/lib +-CFLAGS+=-Wall -c $(IPATH) $(I_PDF)\ +- -DVERSION=\"$(VERSION)\" $(DEBUG)\ +- -fno-asm -funroll-all-loops -fstrength-reduce -frerun-loop-opt \ +- -x c -fshort-enums +-LFLAGS=-lxml2 $(L_PDF) $(LPATH) ++CFLAGS+=-c -I. $(I_PDF)\ ++ -DVERSION=\"$(VERSION)\" $(DEBUG) ++LFLAGS=$(LDFLAGS) -lxml2 $(L_PDF) $(LPATH) + BIN=xml2doc + + all: |