Opened 21 years ago
Last modified 9 years ago
#1568 closed defect
linuxdoc installation fails during destroot phase — at Initial Version
Reported by: | idar@… | Owned by: | darwinports-bugs@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 1.0 |
Keywords: | Cc: | ||
Port: | linuxdoc |
Description
dports/textproc/linuxdoc fails in the destroot phase with the following message:
---> Staging linuxdoc into destroot Error: Target com.apple.destroot returned: shell command "install -o root -m 644 work/catalog /opt/local/darwinports/dports/textproc/linuxdoc/work/destroot/opt/local/share/sgml/linuxdoc" returned error 71 Command output: install: work/catalog: No such file or directory
This is because the Portfile uses ${workdir} instead of ${workpath}. I suppose ${workdir} at one point had the value now hold by ${workpath}.
Here's a patch for the Portfile that fixed the problem (dports/textproc/linuxport/Portfile):
--- Portfile.orig Tue Aug 5 11:29:38 2003 +++ Portfile Sat Feb 28 18:26:31 2004 @@ -25,9 +25,9 @@
destroot { system "install -o root -m 755 -d \
${destroot}${prefix}/${instdir}"
- system "install -o root -m 644 ${workdir}/catalog \
+ system "install -o root -m 644 ${workpath}/catalog \
${destroot}${prefix}/${instdir}"
- system "install -o root -m 644 ${workdir}/*.* \
+ system "install -o root -m 644 ${workpath}/*.* \
${destroot}${prefix}/${instdir}" }
destroot.args prefix=${destroot}${prefix}