summaryrefslogtreecommitdiff
path: root/gnu/usr.bin/perl/Makefile.bsd-wrapper
diff options
context:
space:
mode:
authorPhilip Guenther <guenther@cvs.openbsd.org>2015-04-07 05:37:04 +0000
committerPhilip Guenther <guenther@cvs.openbsd.org>2015-04-07 05:37:04 +0000
commit355a55d5001561dd28f1a3e0ffda7e7ed0ab9752 (patch)
tree7c6810a8e1c7c5297c642ee3b935b4e0fbaa2cb2 /gnu/usr.bin/perl/Makefile.bsd-wrapper
parent1eac8c522154dca8022a55662f81ed5f77315cf8 (diff)
Revert: breaks h2ph handling of symlinks like endian.h --> sys/endian.h
Simply adding -type l mean the problem it was trying to solve is *not* solved, so just go back to the original set. Sorry, but random files types in /usr/include are your problem, not the build system's...
Diffstat (limited to 'gnu/usr.bin/perl/Makefile.bsd-wrapper')
-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 30c3443465e..45794ae5cba 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.100 2015/04/06 04:26:55 guenther Exp $
+# $OpenBSD: Makefile.bsd-wrapper,v 1.101 2015/04/07 05:37:03 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' -type f -print`; \
+ `find . -name '*.h'`; \
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