openbsd-ports/lang/chicken/patches/patch-Makefile_in
2010-06-11 21:09:49 +00:00

70 lines
2.9 KiB
Plaintext

$OpenBSD: patch-Makefile_in,v 1.7 2010/06/11 21:09:49 landry Exp $
--- Makefile.in.orig Thu Mar 1 05:49:50 2007
+++ Makefile.in Sat May 29 22:57:51 2010
@@ -25,9 +25,9 @@ SOURCES = $(libchicken_la_SOURCES) $(libuchicken_la_SO
srcdir = @srcdir@
top_srcdir = @top_srcdir@
VPATH = @srcdir@
-pkgdatadir = $(datadir)/@PACKAGE@
-pkglibdir = $(libdir)/@PACKAGE@
-pkgincludedir = $(includedir)/@PACKAGE@
+pkgdatadir = $(datadir)
+pkglibdir = $(libdir)
+pkgincludedir = $(includedir)
top_builddir = .
am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
INSTALL = @INSTALL@
@@ -380,7 +380,7 @@ C_INSTALL_CXX = \"$(CXX)\"
C_INSTALL_CFLAGS = \"-DHAVE_CHICKEN_CONFIG_H $(CFLAGS)\"
C_INSTALL_SHARE_HOME = \"$(pkgdatadir)\"
C_INSTALL_BIN_HOME = \"$(bindir)\"
-C_INSTALL_EGG_HOME = \"$(pkglibdir)/$(BINARY_VERSION)\"
+C_INSTALL_EGG_HOME = \"$(pkgdatadir)/@PACKAGE@/$(BINARY_VERSION)\"
C_INSTALL_LIB_HOME = \"$(libdir)\"
C_INSTALL_STATIC_LIB_HOME = \"$(libdir)\"
C_INSTALL_INCLUDE_HOME = \"$(includedir)\"
@@ -535,7 +535,6 @@ $(top_builddir)/config.status: $(top_srcdir)/configure
$(SHELL) ./config.status --recheck
$(top_srcdir)/configure: $(am__configure_deps)
- cd $(srcdir) && $(AUTOCONF)
$(ACLOCAL_M4): $(am__aclocal_m4_deps)
cd $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
@@ -549,7 +548,6 @@ stamp-h1: $(srcdir)/chicken-config.h.in $(top_builddir
@rm -f stamp-h1
cd $(top_builddir) && $(SHELL) ./config.status chicken-config.h
$(srcdir)/chicken-config.h.in: $(am__configure_deps)
- cd $(top_srcdir) && $(AUTOHEADER)
rm -f stamp-h1
touch $@
@@ -1415,8 +1413,8 @@ install-pkgdataDATA: $(pkgdata_DATA)
@list='$(pkgdata_DATA)'; for p in $$list; do \
if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
f="`echo $$p | sed -e 's|^.*/||'`"; \
- echo " $(pkgdataDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(pkgdatadir)/$$f'"; \
- $(pkgdataDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(pkgdatadir)/$$f"; \
+ echo " $(pkgdataDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(pkgdatadir)/@PACKAGE@/$$f'"; \
+ $(pkgdataDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(pkgdatadir)/@PACKAGE@/$$f"; \
done
uninstall-pkgdataDATA:
@@ -1841,11 +1839,11 @@ chicken-defaults.h: chicken-defaults.h.in Makefile
# Install docs and sources.
install-data-local:
- $(mkinstalldirs) $(DESTDIR)$(pkgdatadir)/doc
- $(mkinstalldirs) $(DESTDIR)$(pkgdatadir)/doc/html
- -for file in $(DOCFILES); do cp $(srcdir)/$$file $(DESTDIR)$(pkgdatadir)/doc; done
- -cp $(srcdir)/html/* $(DESTDIR)$(pkgdatadir)/doc/html
- $(mkinstalldirs) $(DESTDIR)$(pkglibdir)/$(BINARY_VERSION)
+ $(mkinstalldirs) $(DESTDIR)$(pkgdatadir)/doc/@PACKAGE@
+ $(mkinstalldirs) $(DESTDIR)$(pkgdatadir)/doc/@PACKAGE@/html
+ -for file in $(DOCFILES); do cp $(srcdir)/$$file $(DESTDIR)$(pkgdatadir)/doc/@PACKAGE@; done
+ -cp $(srcdir)/html/* $(DESTDIR)$(pkgdatadir)/doc/@PACKAGE@/html
+ $(mkinstalldirs) $(DESTDIR)$(pkgdatadir)/@PACKAGE@/$(BINARY_VERSION)
clean-local:
-rm -rf stage2 stage3 stage2-stamp stage3-stamp