summaryrefslogtreecommitdiff
path: root/devel/boehm-gc/patches/patch-af
blob: 1b7db3ff6c4b13ff374f94049756ae6000546e18 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
$NetBSD: patch-af,v 1.10 2006/07/17 17:08:16 wiz Exp $

--- Makefile.in.orig	2006-02-19 00:50:57.000000000 +0000
+++ Makefile.in
@@ -323,6 +323,10 @@ include_HEADERS = include/gc.h include/g
 include/gc_pthread_redirects.h include/gc_config_macros.h \
 include/leak_detector.h include/gc_typed.h @addincludes@
 
+include_PRIVATE_HEADERS = include/private/gc_hdrs.h \
+include/private/gc_locks.h include/private/gc_priv.h \
+include/private/gcconfig.h
+
 EXTRA_HEADERS = include/gc_cpp.h include/gc_allocator.h
 @POWERPC_DARWIN_FALSE@asm_libgc_sources = 
 @POWERPC_DARWIN_TRUE@asm_libgc_sources = powerpc_darwin_mach_dep.s
@@ -591,6 +595,13 @@ install-includeHEADERS: $(include_HEADER
 	  echo " $(includeHEADERS_INSTALL) '$$d$$p' '$(DESTDIR)$(includedir)/$$f'"; \
 	  $(includeHEADERS_INSTALL) "$$d$$p" "$(DESTDIR)$(includedir)/$$f"; \
 	done
+	$(mkinstalldirs) $(DESTDIR)$(pkgincludedir)/private
+	@list='$(include_PRIVATE_HEADERS)'; for p in $$list; do \
+	  if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
+	  f="`echo $$p | sed -e 's|^.*/||'`"; \
+	  echo " $(includeHEADERS_INSTALL) $$d$$p $(DESTDIR)$(pkgincludedir)/private/$$f"; \
+	  $(includeHEADERS_INSTALL) $$d$$p $(DESTDIR)$(pkgincludedir)/private/$$f; \
+	done
 
 uninstall-includeHEADERS:
 	@$(NORMAL_UNINSTALL)