View | Details | Raw Unified | Return to bug 87484
Collapse All | Expand All

(-)Makefile (-1 / +6 lines)
Lines 7-12 Link Here
7
7
8
PORTNAME=	boehm-gc
8
PORTNAME=	boehm-gc
9
PORTVERSION=	6.6
9
PORTVERSION=	6.6
10
PORTREVISION=	1
10
CATEGORIES=	devel
11
CATEGORIES=	devel
11
MASTER_SITES=	http://www.hpl.hp.com/personal/Hans_Boehm/gc/gc_source/
12
MASTER_SITES=	http://www.hpl.hp.com/personal/Hans_Boehm/gc/gc_source/
12
DISTNAME=	gc${PORTVERSION:S/.a/alpha/}
13
DISTNAME=	gc${PORTVERSION:S/.a/alpha/}
Lines 17-23 Link Here
17
USE_INC_LIBTOOL_VER=	13
18
USE_INC_LIBTOOL_VER=	13
18
USE_GNOME=	lthack
19
USE_GNOME=	lthack
19
USE_REINPLACE=	yes
20
USE_REINPLACE=	yes
20
HAS_CONFIGURE=	yes
21
GNU_CONFIGURE=	yes
22
CONFIGURE_TARGET=	--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
21
INSTALLS_SHLIB=	yes
23
INSTALLS_SHLIB=	yes
22
CONFIGURE_ARGS=	--prefix=${PREFIX} --enable-cplusplus
24
CONFIGURE_ARGS=	--prefix=${PREFIX} --enable-cplusplus
23
OPTIONS=	REDIRECT "Define malloc(3)-family replacements" off \
25
OPTIONS=	REDIRECT "Define malloc(3)-family replacements" off \
Lines 65-68 Link Here
65
post-install:
67
post-install:
66
	${INSTALL_MAN} ${WRKSRC}/doc/gc.man ${PREFIX}/man/man3/gc.3
68
	${INSTALL_MAN} ${WRKSRC}/doc/gc.man ${PREFIX}/man/man3/gc.3
67
69
70
check: build
71
	@(cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE} ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} check)
72
68
.include <bsd.port.post.mk>
73
.include <bsd.port.post.mk>
(-)files/patch-include-private-gcconfig.h (-7 / +9 lines)
Lines 1-5 Link Here
1
--- include/private/gcconfig.h.orig	Sat May 21 05:48:29 2005
1
--- include/private/gcconfig.h.rorig	Sat Oct 15 16:40:25 2005
2
+++ include/private/gcconfig.h	Thu Jun 30 01:10:10 2005
2
+++ include/private/gcconfig.h	Sat Oct 15 16:42:43 2005
3
@@ -62,7 +62,7 @@
3
@@ -62,7 +62,7 @@
4
 /* Determine the machine type: */
4
 /* Determine the machine type: */
5
 # if defined(__arm__) || defined(__thumb__)
5
 # if defined(__arm__) || defined(__thumb__)
Lines 9-15 Link Here
9
 #      define NOSYS
9
 #      define NOSYS
10
 #      define mach_type_known
10
 #      define mach_type_known
11
 #    endif
11
 #    endif
12
@@ -330,10 +330,22 @@
12
@@ -334,10 +334,22 @@
13
 #    define X86_64
13
 #    define X86_64
14
 #    define mach_type_known
14
 #    define mach_type_known
15
 # endif
15
 # endif
Lines 33-39 Link Here
33
 # if defined(bsdi) && (defined(i386) || defined(__i386__))
33
 # if defined(bsdi) && (defined(i386) || defined(__i386__))
34
 #    define I386
34
 #    define I386
35
 #    define BSDI
35
 #    define BSDI
36
@@ -822,6 +834,16 @@
36
@@ -845,6 +857,16 @@
37
 #     define DATASTART GC_data_start
37
 #     define DATASTART GC_data_start
38
 #     define DYNAMIC_LOADING
38
 #     define DYNAMIC_LOADING
39
 #   endif
39
 #   endif
Lines 50-56 Link Here
50
 #   ifdef NOSYS
50
 #   ifdef NOSYS
51
 #     define ALIGNMENT 4
51
 #     define ALIGNMENT 4
52
 #     define OS_TYPE "NOSYS"
52
 #     define OS_TYPE "NOSYS"
53
@@ -1782,6 +1804,17 @@
53
@@ -1807,6 +1829,17 @@
54
 #	endif
54
 #	endif
55
 #       define USE_GENERIC_PUSH_REGS
55
 #       define USE_GENERIC_PUSH_REGS
56
 #   endif
56
 #   endif
Lines 67-74 Link Here
67
+		   
67
+		   
68
 #   ifdef LINUX
68
 #   ifdef LINUX
69
 #       define OS_TYPE "LINUX"
69
 #       define OS_TYPE "LINUX"
70
 #       define HEURISTIC1
70
 #       define LINUX_STACKBOTTOM
71
@@ -1932,6 +1965,15 @@
71
@@ -1957,6 +1990,17 @@
72
 #	ifdef __ELF__
72
 #	ifdef __ELF__
73
 #	    define DYNAMIC_LOADING
73
 #	    define DYNAMIC_LOADING
74
 #	endif
74
 #	endif
Lines 78-83 Link Here
78
+#   endif
78
+#   endif
79
+#   ifdef FREEBSD
79
+#   ifdef FREEBSD
80
+#       define OS_TYPE "FREEBSD"
80
+#       define OS_TYPE "FREEBSD"
81
+#       define SIG_SUSPEND SIGUSR1
82
+#       define SIG_THR_RESTART SIGUSR2
81
+#       ifdef __ELF__
83
+#       ifdef __ELF__
82
+#           define DYNAMIC_LOADING
84
+#           define DYNAMIC_LOADING
83
+#       endif
85
+#       endif

Return to bug 87484