summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjs <js@pkgsrc.org>2020-08-30 13:36:01 +0000
committerjs <js@pkgsrc.org>2020-08-30 13:36:01 +0000
commit990e8cbb6190ca4ffdea51675442d5f3e9e878d0 (patch)
treece9c86057ebb1952b8a837773469558a75738f04
parent30e01cb257f7f2d10ca0f609832c2f573397e366 (diff)
downloadpkgsrc-990e8cbb6190ca4ffdea51675442d5f3e9e878d0.tar.gz
Partially fix lang/perl5 on QNX
This makes it at least link miniperl, but it still fails during the build with: panic: MUTEX_UNLOCK (1) [util.c:2616] at make_ext.pl line 613. panic: MUTEX_LOCK (22) [op.c:864]. panic: MUTEX_UNLOCK (1) [util.c:2616] at make_ext.pl line 513. panic: MUTEX_LOCK (22) [op.c:864].
-rw-r--r--lang/perl5/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/lang/perl5/Makefile b/lang/perl5/Makefile
index d87743b3f8e..d6f79bd82ab 100644
--- a/lang/perl5/Makefile
+++ b/lang/perl5/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.261 2020/03/17 03:45:55 rillig Exp $
+# $NetBSD: Makefile,v 1.262 2020/08/30 13:36:01 js Exp $
.include "license.mk"
.include "Makefile.common"
@@ -120,6 +120,7 @@ CONFIGURE_SCRIPT= ./Configure
CONFIGURE_ARGS+= -sde
CONFIGURE_ARGS+= -Dldflags=${LDFLAGS:Q}
MAKE_ENV+= LC_ALL="C"
+LDFLAGS.QNX+= -lm
.if ${OPSYS} == "SunOS"
USE_TOOLS+= bash