summaryrefslogtreecommitdiff
path: root/emulators/hugo/files/patch-Makefile.in
diff options
context:
space:
mode:
Diffstat (limited to 'emulators/hugo/files/patch-Makefile.in')
-rw-r--r--emulators/hugo/files/patch-Makefile.in27
1 files changed, 27 insertions, 0 deletions
diff --git a/emulators/hugo/files/patch-Makefile.in b/emulators/hugo/files/patch-Makefile.in
new file mode 100644
index 000000000000..2ed851e6677b
--- /dev/null
+++ b/emulators/hugo/files/patch-Makefile.in
@@ -0,0 +1,27 @@
+--- Makefile.in.orig Tue Apr 5 15:23:11 2005
++++ Makefile.in Fri May 19 02:40:30 2006
+@@ -444,7 +444,7 @@
+ -test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS)
+ hugo$(EXEEXT): $(hugo_OBJECTS) $(hugo_DEPENDENCIES)
+ @rm -f hugo$(EXEEXT)
+- $(LINK) $(hugo_LDFLAGS) $(hugo_OBJECTS) $(hugo_LDADD) $(LIBS)
++ $(LINK) $(hugo_LDFLAGS) $(hugo_OBJECTS) $(hugo_LDADD) $(LIBS) -largp
+ hugod$(EXEEXT): $(hugod_OBJECTS) $(hugod_DEPENDENCIES)
+ @rm -f hugod$(EXEEXT)
+ $(LINK) $(hugod_LDFLAGS) $(hugod_OBJECTS) $(hugod_LDADD) $(LIBS)
+@@ -813,11 +813,11 @@
+ fi \
+ done \
+ fi && \
+- if test -d $(srcdir)/doc; then \
+- $(mkinstalldirs) $(DESTDIR)$(pkgdatadir)/doc; \
+- for doc in $(srcdir)/doc/*.{html,txt,css}; do \
++ if test -d $(srcdir)/doc && ${PORTDOCS}; then \
++ $(mkinstalldirs) ${DOCSDIR}; \
++ for doc in $(srcdir)/doc/*.html $(srcdir)/doc/*.txt $(srcdir)/doc/*.css; do \
+ if test -f $$doc; then \
+- $(INSTALL_DATA) $$doc $(DESTDIR)$(pkgdatadir)/doc; \
++ $(INSTALL_DATA) $$doc ${DOCSDIR}; \
+ fi \
+ done \
+ fi