diff options
author | mat <mat@FreeBSD.org> | 2016-03-08 15:55:19 +0000 |
---|---|---|
committer | mat <mat@FreeBSD.org> | 2016-03-08 15:55:19 +0000 |
commit | 8b42acd59255bc05209c5d62d35823af05fc8c1e (patch) | |
tree | d621aa33d1171430aecd24c67727e632208b09f1 /x11-toolkits/xmhtml/files/patch-book_Makefile | |
parent | 4e12317d359af400592f8cb760a945ede0d459d7 (diff) | |
download | FreeBSD-ports-8b42acd59255bc05209c5d62d35823af05fc8c1e.zip FreeBSD-ports-8b42acd59255bc05209c5d62d35823af05fc8c1e.tar.gz |
Update to 1.1.10.
PR: 204201
Submitted by: tkato432 yahoo com
Sponsored by: Absolight
Diffstat (limited to 'x11-toolkits/xmhtml/files/patch-book_Makefile')
-rw-r--r-- | x11-toolkits/xmhtml/files/patch-book_Makefile | 52 |
1 files changed, 52 insertions, 0 deletions
diff --git a/x11-toolkits/xmhtml/files/patch-book_Makefile b/x11-toolkits/xmhtml/files/patch-book_Makefile new file mode 100644 index 0000000..058f098 --- /dev/null +++ b/x11-toolkits/xmhtml/files/patch-book_Makefile @@ -0,0 +1,52 @@ +--- book/Makefile.orig 2015-10-26 10:22:55 UTC ++++ book/Makefile +@@ -12,13 +12,13 @@ EXAMPLES=simple_html simple_html2 autosi + + # The library + XMHTMLINC= -I../lib +-XMHTMLLIB= -L../lib -lXmHTML ++XMHTMLLIB= ../lib/libXmHTML.la + LINKLIBS = $(XMHTMLLIB) $(LOADLIBES) $(DMALLOCLIB) + + # rule to create .o files from .c files + .c.o: + $(RM) $@ +- $(CC) $(CFLAGS) $(CPPFLAGS) $(XMHTMLINC) $(INCLUDES) -c $< ++ $(LIBTOOL) --mode=compile $(CC) $(CFLAGS) $(CPPFLAGS) $(XMHTMLINC) $(INCLUDES) -c $< + + all: $(EXAMPLES) + +@@ -26,27 +26,27 @@ all: $(EXAMPLES) + + simple_html:: ../src/libXmHTML.a simple_html.o + $(RM) $@ \ +- $(CC) -o $@ $(LDFLAGS) simple_html.o $(LINKLIBS) ++ $(LIBTOOL) --mode=link $(CC) -o $@ $(LDFLAGS) simple_html.o $(LINKLIBS) + + simple_html2:: ../src/libXmHTML.a simple_html2.o + $(RM) $@ \ +- $(CC) -o $@ $(LDFLAGS) simple_html2.o $(LINKLIBS) ++ $(LIBTOOL) --mode=link $(CC) -o $@ $(LDFLAGS) simple_html2.o $(LINKLIBS) + + autosize_html:: ../src/libXmHTML.a autosize_html.o + $(RM) $@ \ +- $(CC) -o $@ $(LDFLAGS) autosize_html.o $(LINKLIBS) ++ $(LIBTOOL) --mode=link $(CC) -o $@ $(LDFLAGS) autosize_html.o $(LINKLIBS) + + forced_html:: ../src/libXmHTML.a forced_html.o + $(RM) $@ \ +- $(CC) -o $@ $(LDFLAGS) forced_html.o $(LINKLIBS) ++ $(LIBTOOL) --mode=link $(CC) -o $@ $(LDFLAGS) forced_html.o $(LINKLIBS) + + html:: ../src/libXmHTML.a html.o + $(RM) $@ \ +- $(CC) -o $@ $(LDFLAGS) html.o $(LINKLIBS) ++ $(LIBTOOL) --mode=link $(CC) -o $@ $(LDFLAGS) html.o $(LINKLIBS) + + html_browser:: ../src/libXmHTML.a html_browser.o + $(RM) $@ \ +- $(CC) -o $@ $(LDFLAGS) html_browser.o $(LINKLIBS) ++ $(LIBTOOL) --mode=link $(CC) -o $@ $(LDFLAGS) html_browser.o $(LINKLIBS) + + .PHONY: ../src/libXmHTML.a + |