summaryrefslogtreecommitdiff
path: root/textproc/p5-SGMLS
diff options
context:
space:
mode:
authorsbd <sbd>2010-05-06 09:36:28 +0000
committersbd <sbd>2010-05-06 09:36:28 +0000
commitd109689d335000c743c82f75037cf6826ccb9411 (patch)
tree31afa73fbbc9d90f06522a29dc29a6f6d8dee423 /textproc/p5-SGMLS
parentc63b390196a68bfc8adce60749c94646f94d2820 (diff)
downloadpkgsrc-d109689d335000c743c82f75037cf6826ccb9411.tar.gz
Work around the inconsistent behavior "cp -r" when coping symbolic link.
Closes PR 41142.
Diffstat (limited to 'textproc/p5-SGMLS')
-rw-r--r--textproc/p5-SGMLS/distinfo4
-rw-r--r--textproc/p5-SGMLS/patches/patch-aa10
2 files changed, 9 insertions, 5 deletions
diff --git a/textproc/p5-SGMLS/distinfo b/textproc/p5-SGMLS/distinfo
index c9cc8f68880..ee563816522 100644
--- a/textproc/p5-SGMLS/distinfo
+++ b/textproc/p5-SGMLS/distinfo
@@ -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
diff --git a/textproc/p5-SGMLS/patches/patch-aa b/textproc/p5-SGMLS/patches/patch-aa
index 05d0f92e6b1..a17c08eeb75 100644
--- a/textproc/p5-SGMLS/patches/patch-aa
+++ b/textproc/p5-SGMLS/patches/patch-aa
@@ -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/*