From 8147d95bfcb05fc5e79b985a82f070fa1bf68de1 Mon Sep 17 00:00:00 2001 From: afresh1 Date: Tue, 28 Jun 2016 04:28:18 +0000 Subject: [PATCH] Stop linking perl to libutil, never necessary from guenther@ ok sthen@ --- gnu/usr.bin/perl/Makefile.bsd-wrapper | 4 ++-- gnu/usr.bin/perl/hints/openbsd.sh | 2 ++ 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/gnu/usr.bin/perl/Makefile.bsd-wrapper b/gnu/usr.bin/perl/Makefile.bsd-wrapper index 45794ae5cba..d070d06bbfa 100644 --- a/gnu/usr.bin/perl/Makefile.bsd-wrapper +++ b/gnu/usr.bin/perl/Makefile.bsd-wrapper @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile.bsd-wrapper,v 1.101 2015/04/07 05:37:03 guenther Exp $ +# $OpenBSD: Makefile.bsd-wrapper,v 1.102 2016/06/28 04:28:18 afresh1 Exp $ # # Build wrapper for Perl 5.20.1-RC2 # @@ -158,7 +158,7 @@ CFLAGS+= -fno-tree-ter # The DynaLoader extension is now compiled statically into libperl miniperl: ${GENERATED} ${SRCS1:S/.c/.o/g} opmini.o perlmini.o miniperlmain.o - ${CC} ${CPPFLAGS} ${CFLAGS} -o $@ ${SRCS1:S/.c/.o/g} opmini.o perlmini.o miniperlmain.o ${LDFLAGS} -lm -lutil + ${CC} ${CPPFLAGS} ${CFLAGS} -o $@ ${SRCS1:S/.c/.o/g} opmini.o perlmini.o miniperlmain.o ${LDFLAGS} -lm opmini.c: op.c rm -f opmini.c diff --git a/gnu/usr.bin/perl/hints/openbsd.sh b/gnu/usr.bin/perl/hints/openbsd.sh index a3addd9fc0f..f24e7883b13 100644 --- a/gnu/usr.bin/perl/hints/openbsd.sh +++ b/gnu/usr.bin/perl/hints/openbsd.sh @@ -84,6 +84,8 @@ esac # around for old NetBSD binaries. libswanted=`echo $libswanted | sed 's/ crypt / /'` +libswanted=`echo $libswanted | sed 's/ util / /'` + # Configure can't figure this out non-interactively d_suidsafe=$define -- 2.20.1