diff options
author | Todd C. Miller <millert@cvs.openbsd.org> | 2001-02-04 19:23:23 +0000 |
---|---|---|
committer | Todd C. Miller <millert@cvs.openbsd.org> | 2001-02-04 19:23:23 +0000 |
commit | c394965a9b021a0566bb9c5564d5603572d77536 (patch) | |
tree | d388f2d7fedf396d55fca13f278df172961a00ad /gnu | |
parent | 7d0d50535b77148f9c8376db11ff668a3dd216f8 (diff) |
Copy symlinks in addition to running h2ph so machine/foo.ph works
Closes PR #1665
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/usr.bin/perl/Makefile.bsd-wrapper | 6 |
1 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 20113886490..bd8b6719e0e 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.39 2000/11/10 09:58:59 deraadt Exp $ +# $OpenBSD: Makefile.bsd-wrapper,v 1.40 2001/02/04 19:23:22 millert Exp $ # # Build wrapper for Perl 5.6.0 # @@ -1461,7 +1461,9 @@ 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'`; \ + 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 install.perl: |