summaryrefslogtreecommitdiff
path: root/lang/perl5
diff options
context:
space:
mode:
authorsbd <sbd>2012-11-02 08:26:59 +0000
committersbd <sbd>2012-11-02 08:26:59 +0000
commit91b59922ca166c248ab941ef7a2b8369bb1326d1 (patch)
tree1126e948b6121503fc4f64019842baf777d5d42d /lang/perl5
parent2048451d2e55d7b967b87afecf47fce97c1ec711 (diff)
downloadpkgsrc-91b59922ca166c248ab941ef7a2b8369bb1326d1.tar.gz
Move a hack from the Makefile to hacks.mk
Diffstat (limited to 'lang/perl5')
-rw-r--r--lang/perl5/Makefile13
-rw-r--r--lang/perl5/hacks.mk13
2 files changed, 13 insertions, 13 deletions
diff --git a/lang/perl5/Makefile b/lang/perl5/Makefile
index a4167923c46..073a2702eca 100644
--- a/lang/perl5/Makefile
+++ b/lang/perl5/Makefile
@@ -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
diff --git a/lang/perl5/hacks.mk b/lang/perl5/hacks.mk
index b0558bcfbdd..b6cab98c5bf 100644
--- a/lang/perl5/hacks.mk
+++ b/lang/perl5/hacks.mk
@@ -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.