The reason devel/boehm-gc doesn't build on sparc64 after the update
is quite silly: sparc_mach_dep.S was moved into a subdirectory and
now make lacks a rule to associate ./sparc_mach_dep.lo and
./src/sparc_mach_dep.S.  I don't know how to properly fix this at
the automake level, but adding a symlink fixes the port build for
us.

Builds and successfully runs the regression tests on sparc64.
This may also fix the build on sparc.

While here, don't run autoconf.  I don't see anything in the port
requiring this.

ok?

Index: Makefile
===================================================================
RCS file: /cvs/ports/devel/boehm-gc/Makefile,v
retrieving revision 1.56
diff -u -p -r1.56 Makefile
--- Makefile    9 Jul 2014 14:31:10 -0000       1.56
+++ Makefile    25 Jul 2014 12:00:46 -0000
@@ -39,9 +39,7 @@ MAKE_ENV=     CP="cp" \
                INSTALL_DATA="${INSTALL_DATA}" \
                INSTALL_MAN="${INSTALL_MAN}"
 
-
-AUTOCONF_VERSION= 2.68
-CONFIGURE_STYLE= autoconf no-autoheader
+CONFIGURE_STYLE= gnu
 
 CONFIGURE_ARGS= ${CONFIGURE_SHARED} \
                --with-libatomic-ops=no \
@@ -52,8 +50,10 @@ pre-configure:
        @perl -pi -e "s,/usr/local,${PREFIX},g" ${WRKSRC}/doc/gc.man
        @mv ${WRKDIR}/libatomic_ops-${LIBAO_VERSION} ${WRKBUILD}/libatomic_ops
 
-# clean distributed objects and libs and rebuild
 pre-build:
+# no rule to get .lo from .S in subdirectory
+       @ln -s src/sparc_mach_dep.S ${WRKSRC}
+# clean distributed objects and libs and rebuild
        @cd ${WRKBUILD}/libatomic_ops && ${SETENV} ${MAKE_ENV} \
                ${MAKE_PROGRAM} ${MAKE_FLAGS} clean all
 
-- 
Christian "naddy" Weisgerber                          na...@mips.inka.de

Reply via email to