Move a hack from the Makefile to hacks.mk

This commit is contained in:
sbd 2012-11-02 08:26:59 +00:00
parent 701ac5adde
commit fb5effd02b
2 changed files with 13 additions and 13 deletions

View file

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.186 2012/11/02 08:18:50 sbd Exp $
# $NetBSD: Makefile,v 1.187 2012/11/02 08:26:59 sbd Exp $
.include "license.mk"
.include "Makefile.common"
@ -164,17 +164,6 @@ PERL5_BUILD_THREADS_SUPPORT= yes
PERL5_BUILD_THREADS_SUPPORT= ${DLOPEN_REQUIRE_PTHREADS}
.endif
### [Sat Dec 18 17:29:44 EST 2004 : jlam]
### Native threading on VAX isn't ready for primetime in NetBSD>=2.0.
### Build Perl without threads-support until VAX native threads are
### known to work.
###
.if !empty(MACHINE_PLATFORM:MNetBSD-*-vax) && \
!empty(USE_BUILTIN.pthread:M[yY][eE][sS])
PKG_HACKS+= broken-vax-pthreads
PERL5_BUILD_THREADS_SUPPORT= no
.endif
.if !empty(MACHINE_PLATFORM:MMirBSD*)
SUBST_CLASSES+= mirbsd-paths
SUBST_STAGE.mirbsd-paths= pre-configure

View file

@ -1,4 +1,4 @@
# $NetBSD: hacks.mk,v 1.6 2012/10/03 19:59:47 adam Exp $
# $NetBSD: hacks.mk,v 1.7 2012/11/02 08:26:59 sbd Exp $
.if !defined(PERL5_HACKS_MK)
PERL5_HACKS_MK= defined
@ -38,6 +38,17 @@ PKG_HACKS+= powerpc-codegen
BUILDLINK_TRANSFORM+= rm:-O[0-9]*
.endif
### [Sat Dec 18 17:29:44 EST 2004 : jlam]
### Native threading on VAX isn't ready for primetime in NetBSD>=2.0.
### Build Perl without threads-support until VAX native threads are
### known to work.
###
.if !empty(MACHINE_PLATFORM:MNetBSD-*-vax) && \
!empty(USE_BUILTIN.pthread:M[yY][eE][sS])
PKG_HACKS+= broken-vax-pthreads
PERL5_BUILD_THREADS_SUPPORT= no
.endif
### [Mon May 9 15:35:44 UTC 2005 : jlam]
### On NetBSD/arm, skipping one part of the optimization pass empirically
### "fixes" the build of perl using gcc-3.x.