summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorguenther <guenther@openbsd.org>2015-04-06 04:26:55 +0000
committerguenther <guenther@openbsd.org>2015-04-06 04:26:55 +0000
commit5316330afdd073f5593b04056f869de1d68cb444 (patch)
tree34e07d3e9a93d96b42094dae44b3d535852b2ddd
parentreaddir() is thread-safe when DIR handles aren't shared, so delete the lock. (diff)
downloadwireguard-openbsd-5316330afdd073f5593b04056f869de1d68cb444.tar.xz
wireguard-openbsd-5316330afdd073f5593b04056f869de1d68cb444.zip
h2ph only handles actual _files_, so request just them from 'find'. Crazy, eh?
Based on diff from Gregory Edigarov (edigarov (at) qarea.com) ok afresh1@
-rw-r--r--gnu/usr.bin/perl/Makefile.bsd-wrapper4
1 files changed, 2 insertions, 2 deletions
diff --git a/gnu/usr.bin/perl/Makefile.bsd-wrapper b/gnu/usr.bin/perl/Makefile.bsd-wrapper
index baccdc7664e..30c3443465e 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.99 2014/11/26 18:27:21 afresh1 Exp $
+# $OpenBSD: Makefile.bsd-wrapper,v 1.100 2015/04/06 04:26:55 guenther Exp $
#
# Build wrapper for Perl 5.20.1-RC2
#
@@ -107,7 +107,7 @@ install: install.lib install.perl maninstall
-mkdir -p ${DESTDIR}/usr/libdata/perl5/site_perl/${MACHINE_ARCH}-openbsd
(cd ${DESTDIR}/usr/include; ${H2PH} \
-d ${DESTDIR}/usr/libdata/perl5/site_perl/${MACHINE_ARCH}-openbsd \
- `find . -name '*.h'`; \
+ `find . -name '*.h' -type f -print`; \
pax -rw `find . -type l \! -name '*.h' | sed 's/^..//'` \
${DESTDIR}/usr/libdata/perl5/site_perl/${MACHINE_ARCH}-openbsd)
-chmod -R a+rX ${DESTDIR}/usr/libdata/perl5