DESTDIR duplication in version 1.6.1
Sergey Poznyakoff
gray at gnu.org.ua
Wed Jun 19 20:53:45 BST 2024
Hello,
When installing into a separate destination directory, adns 1.6.1
duplicates the destination prefix set by DESTDIR. E.g. after
make install DESTDIR=/tmp/a
the following directory hierarchy is created:
/tmp/a/tmp/a
/tmp/a/tmp/a/usr
/tmp/a/tmp/a/usr/lib
...
That's because the lines 53-58 in common.make.in prefix each path
variable with the value of $DESTDIR, and then the actual installation
goals at src/Makefile.in:28-34 and dynamic/Makefile.in:28-32 prepend
the same value another time. Attached are two possible fixes.
Another minor problem is that the rule in common.make.in:70 causes
creation of a directory named 755 in src/ and dynamic/ during make
install. These patches address this as well.
Best regards,
Sergey
-------------- next part --------------
A non-text attachment was scrubbed...
Name: adns-1.6.1.DESTDIR.patch
Type: text/x-diff
Size: 988 bytes
Desc:
URL: <http://www.chiark.greenend.org.uk/pipermail/adns-discuss/attachments/20240619/17a4993f/attachment.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: adns-1.6.1.DESTDIR-1.patch
Type: text/x-diff
Size: 2571 bytes
Desc:
URL: <http://www.chiark.greenend.org.uk/pipermail/adns-discuss/attachments/20240619/17a4993f/attachment-0001.patch>
More information about the adns-discuss
mailing list