Index: Makefile =================================================================== RCS file: /home/ncvs/ports/devel/boehm-gc/Makefile,v --- Makefile 10 Oct 2005 13:06:07 -0000 1.45 +++ Makefile 15 Oct 2005 13:55:43 -0000 @@ -7,6 +7,7 @@ PORTNAME= boehm-gc PORTVERSION= 6.6 +PORTREVISION= 1 CATEGORIES= devel MASTER_SITES= http://www.hpl.hp.com/personal/Hans_Boehm/gc/gc_source/ DISTNAME= gc${PORTVERSION:S/.a/alpha/} @@ -17,7 +18,8 @@ USE_INC_LIBTOOL_VER= 13 USE_GNOME= lthack USE_REINPLACE= yes -HAS_CONFIGURE= yes +GNU_CONFIGURE= yes +CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL} INSTALLS_SHLIB= yes CONFIGURE_ARGS= --prefix=${PREFIX} --enable-cplusplus OPTIONS= REDIRECT "Define malloc(3)-family replacements" off \ @@ -65,4 +67,7 @@ post-install: ${INSTALL_MAN} ${WRKSRC}/doc/gc.man ${PREFIX}/man/man3/gc.3 +check: build + @(cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE} ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} check) + .include Index: files/patch-include-private-gcconfig.h =================================================================== RCS file: /home/ncvs/ports/devel/boehm-gc/files/patch-include-private-gcconfig.h,v --- files/patch-include-private-gcconfig.h 29 Jun 2005 16:29:45 -0000 1.6 +++ files/patch-include-private-gcconfig.h 15 Oct 2005 13:55:43 -0000 @@ -1,5 +1,5 @@ ---- include/private/gcconfig.h.orig Sat May 21 05:48:29 2005 -+++ include/private/gcconfig.h Thu Jun 30 01:10:10 2005 +--- include/private/gcconfig.h.rorig Sat Oct 15 16:40:25 2005 ++++ include/private/gcconfig.h Sat Oct 15 16:42:43 2005 @@ -62,7 +62,7 @@ /* Determine the machine type: */ # if defined(__arm__) || defined(__thumb__) @@ -9,7 +9,7 @@ # define NOSYS # define mach_type_known # endif -@@ -330,10 +330,22 @@ +@@ -334,10 +334,22 @@ # define X86_64 # define mach_type_known # endif @@ -33,7 +33,7 @@ # if defined(bsdi) && (defined(i386) || defined(__i386__)) # define I386 # define BSDI -@@ -822,6 +834,16 @@ +@@ -845,6 +857,16 @@ # define DATASTART GC_data_start # define DYNAMIC_LOADING # endif @@ -50,7 +50,7 @@ # ifdef NOSYS # define ALIGNMENT 4 # define OS_TYPE "NOSYS" -@@ -1782,6 +1804,17 @@ +@@ -1807,6 +1829,17 @@ # endif # define USE_GENERIC_PUSH_REGS # endif @@ -67,8 +67,8 @@ + # ifdef LINUX # define OS_TYPE "LINUX" - # define HEURISTIC1 -@@ -1932,6 +1965,15 @@ + # define LINUX_STACKBOTTOM +@@ -1957,6 +1990,17 @@ # ifdef __ELF__ # define DYNAMIC_LOADING # endif @@ -78,6 +78,8 @@ +# endif +# ifdef FREEBSD +# define OS_TYPE "FREEBSD" ++# define SIG_SUSPEND SIGUSR1 ++# define SIG_THR_RESTART SIGUSR2 +# ifdef __ELF__ +# define DYNAMIC_LOADING +# endif