openbsd-ports/lang/egcs/dejagnu/patches/patch-Makefile_in

31 lines
1.0 KiB
Plaintext

$OpenBSD: patch-Makefile_in,v 1.1 2001/10/10 15:09:09 espie Exp $
--- Makefile.in.orig Mon Oct 8 21:19:35 2001
+++ Makefile.in Mon Oct 8 21:20:45 2001
@@ -511,7 +511,7 @@ dist-hook: rpmspec overview.html overvie
-cp -fr doc/overview.pdf $(distdir)/doc/
install-data-local:
- $(mkinstalldirs) $(lib_dest) $(includedir)
+ $(mkinstalldirs) $(lib_dest) $(DESTDIR)$(includedir)
for f in $(lib_files); do \
test ! -f "$$f" || $(INSTALL_DATA) $$f $(lib_dest); \
done
@@ -521,7 +521,7 @@ install-data-local:
test ! -f "$$f" || $(INSTALL_DATA) $$f $(baseboards_dest); \
done
#
- $(INSTALL_DATA) $(srcdir)/dejagnu.h $(includedir); \
+ $(INSTALL_DATA) $(srcdir)/dejagnu.h $(DESTDIR)$(includedir); \
#
$(mkinstalldirs) $(config_dest)
for f in $(config_files); do \
@@ -542,7 +542,7 @@ uninstall-local:
for f in $(baseboards_files); do \
test ! -f "$$f" || rm -f $(baseboards_dest)/`basename "$$f"`; \
done
- rm -f $(includedir)/dejagnu.h;
+ rm -f $(DESTDIR)$(includedir)/dejagnu.h;
site.exp: Makefile
@echo 'Making a new site.exp file...'