ports/net/tclcurl/patches/patch-Makefile_in

38 lines
1.2 KiB
Text

Use absolute build dir path to make tests work.
Don't compress man pages.
The generated pkgIndex.tcl file is found in the build dir.
Index: Makefile.in
--- Makefile.in.orig
+++ Makefile.in
@@ -86,7 +86,7 @@ pkgdatadir = $(datadir)/$(PKG_DIR)
pkglibdir = $(libdir)/$(PKG_DIR)
pkgincludedir = $(includedir)/$(PKG_DIR)
-top_builddir = .
+top_builddir = @abs_top_builddir@
INSTALL = @INSTALL@
INSTALL_PROGRAM = @INSTALL_PROGRAM@
@@ -232,10 +232,7 @@ install-doc: doc
@echo "Installing documentation in $(DESTDIR)$(mandir)"
@list='$(srcdir)/doc/*.n'; for i in $$list; do \
echo "Installing $$i"; \
- rm -f $(DESTDIR)$(mandir)/mann/`basename $$i`; \
- gzip $$i; \
- $(INSTALL_DATA) $$i.gz $(DESTDIR)$(mandir)/mann ; \
- gunzip $$i.gz; \
+ $(INSTALL_DATA) $$i $(DESTDIR)$(mandir)/mann ; \
done
test: binaries libraries
@@ -395,7 +392,7 @@ install-lib-binaries: binaries
done
@if test "x$(SHARED_BUILD)" = "x1"; then \
echo " Install pkgIndex.tcl $(DESTDIR)$(pkglibdir)"; \
- $(INSTALL_DATA) $(srcdir)/pkgIndex.tcl $(DESTDIR)$(pkglibdir); \
+ $(INSTALL_DATA) pkgIndex.tcl $(DESTDIR)$(pkglibdir); \
fi
#========================================================================