summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorafresh1 <afresh1@openbsd.org>2016-06-28 04:28:18 +0000
committerafresh1 <afresh1@openbsd.org>2016-06-28 04:28:18 +0000
commit8147d95bfcb05fc5e79b985a82f070fa1bf68de1 (patch)
tree83e1129b66f4431e9f53ad82126a40c1393873e8
parentin pledgereq (the array for doing correspondance between textual promise as in pledge(2) and internal PLEDGE_* flag), the flags member should be a uint64_t and not a int. (diff)
downloadwireguard-openbsd-8147d95bfcb05fc5e79b985a82f070fa1bf68de1.tar.xz
wireguard-openbsd-8147d95bfcb05fc5e79b985a82f070fa1bf68de1.zip
Stop linking perl to libutil, never necessary
from guenther@ ok sthen@
-rw-r--r--gnu/usr.bin/perl/Makefile.bsd-wrapper4
-rw-r--r--gnu/usr.bin/perl/hints/openbsd.sh2
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