summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorPhilip Guenther <guenther@cvs.openbsd.org>2015-04-06 04:26:56 +0000
committerPhilip Guenther <guenther@cvs.openbsd.org>2015-04-06 04:26:56 +0000
commit14181f676e4ea5e40df8604febf5fbf29a4e0a67 (patch)
treef8c4e1b50282b262feb04794b483d77bc061c2f3 /gnu
parent1cfca191dbc7f0f936093fc8bd938dc2ebce4e5e (diff)
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@
Diffstat (limited to 'gnu')
-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