Work around the inconsistent behavior "cp -r" when coping symbolic link.
Closes PR 41142.
This commit is contained in:
parent
611e355be8
commit
ed23d65120
2 changed files with 9 additions and 5 deletions
|
@ -1,6 +1,6 @@
|
|||
$NetBSD: distinfo,v 1.3 2008/01/13 18:11:27 heinz Exp $
|
||||
$NetBSD: distinfo,v 1.4 2010/05/06 09:36:28 sbd Exp $
|
||||
|
||||
SHA1 (SGMLSpm-1.03ii.tar.gz) = 1ff07104fd70a1d1bf05f3523b94413049c1fc95
|
||||
RMD160 (SGMLSpm-1.03ii.tar.gz) = 919963150640d4c1a2a52439cd0d985c52c71bb3
|
||||
Size (SGMLSpm-1.03ii.tar.gz) = 93250 bytes
|
||||
SHA1 (patch-aa) = 158d93134acb86bf1c5f97eae8db95677ce6b63f
|
||||
SHA1 (patch-aa) = 1a7dedb1e66f528cab6f47a9ebfb7a42515091d0
|
||||
|
|
|
@ -1,9 +1,11 @@
|
|||
$NetBSD: patch-aa,v 1.3 2008/01/13 18:11:28 heinz Exp $
|
||||
$NetBSD: patch-aa,v 1.4 2010/05/06 09:36:28 sbd Exp $
|
||||
|
||||
- make package build with pkgsrc.
|
||||
- DESTDIR fixes
|
||||
- work around for "cp -r" behavior inconsistencies.
|
||||
|
||||
--- Makefile.orig 1995-12-05 13:26:11.000000000 +0100
|
||||
|
||||
--- Makefile.orig 1995-12-05 12:26:11.000000000 +0000
|
||||
+++ Makefile
|
||||
@@ -13,13 +13,13 @@ DIST = SGMLSpm-1.03ii.tar.gz
|
||||
#
|
||||
|
@ -22,7 +24,7 @@ $NetBSD: patch-aa,v 1.3 2008/01/13 18:11:28 heinz Exp $
|
|||
MODULEDIR = ${PERL5DIR}/SGMLS
|
||||
|
||||
# Where do you want to put sgmlspl specifications?
|
||||
@@ -29,61 +29,66 @@ SPECDIR = ${PERL5DIR}
|
||||
@@ -29,61 +29,68 @@ SPECDIR = ${PERL5DIR}
|
||||
# do you intend to put it? 'make html' will create two
|
||||
# subdirectories, ${HTMLDIR}/SGMLSpm and ${HTMLDIR}/sgmlspl, and place
|
||||
# its files there.
|
||||
|
@ -120,6 +122,8 @@ $NetBSD: patch-aa,v 1.3 2008/01/13 18:11:28 heinz Exp $
|
|||
+ fi
|
||||
+ rm -rf ${DESTDIR}${HTMLDIR}/SGMLSpm ${DESTDIR}${HTMLDIR}/sgmlspl
|
||||
+ cp -r ${HTML_SOURCES} ${DESTDIR}${HTMLDIR}
|
||||
+ rm -f ${DESTDIR}${HTMLDIR}/SGMLSpm/sample.pl
|
||||
+ cp DOC/sample.pl ${DESTDIR}${HTMLDIR}/SGMLSpm
|
||||
+ chmod a+x,a+r ${DESTDIR}${HTMLDIR}/SGMLSpm ${DESTDIR}${HTMLDIR}/sgmlspl
|
||||
+ chmod a+r ${DESTDIR}${HTMLDIR}/SGMLSpm/* ${DESTDIR}${HTMLDIR}/sgmlspl/*
|
||||
|
||||
|
|
Loading…
Reference in a new issue