Subject: | Installed Prima/Config.pm hard-codes DESTDIR |
When installing Prima-1.37 into a non-root DESTDIR to create a distribution package, the installed Prima/Config.pm file stores the DESTDIR directory there which is undesired behavior:
$ make pure_install DESTDIR=/tmp/Prima-1.37-dest
[...]
$ grep Prima-1.37-dest /tmp/Prima-1.37-dest/usr/local/lib64/perl5/Prima/Config.pm
incpaths => [ '/tmp/Prima-1.37-dest/usr/local/lib64/perl5/Prima/CORE','/tmp/Prima-1.37-dest/usr/local/lib64/perl5/Prima/CORE/generic','/usr/local/include','/usr/include/freetype2','/usr/include/gtk-2.0','/usr/lib64/gtk-2.0/include','/usr/include/atk-1.0','/usr/include/cairo','/usr/include/gdk-pixbuf-2.0','/usr/include/pango-1.0','/usr/include/glib-2.0','/usr/lib64/glib-2.0/include','/usr/include/pixman-1','/usr/include/libpng15','/usr/include/libdrm','/usr/include/harfbuzz' ],
gencls => '/tmp/Prima-1.37-dest/usr/local/bin/gencls',
tmlink => '/tmp/Prima-1.37-dest/usr/local/bin/tmlink',
libname => '/tmp/Prima-1.37-dest/usr/local/lib64/perl5/auto/Prima/Prima.a',
dlname => '/tmp/Prima-1.37-dest/usr/local/lib64/perl5/auto/Prima/Prima.so',
inc => '-I/tmp/Prima-1.37-dest/usr/local/lib64/perl5/Prima/CORE -I/tmp/Prima-1.37-dest/usr/local/lib64/perl5/Prima/CORE/generic -I/usr/local/include -I/usr/include/freetype2 -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/libpng15 -I/usr/include/libdrm -I/usr/include/harfbuzz',