However if the install program for $(INSTALL_PROGRAM) is set to strip binaries (which is the case for pkgsrc), this fails because it isn't a binary it can recognize (because it's a script).
Pkgsrc forbids the use of env as an interpreter (protential security issues, I guess), but combined with an absolute path its path-searching facility goes unused, and the whole thing can simply be replaced by a plain
Hi! I was packaging your latest version 4.3ga4 for pkgsrc, and I ran into a small issue when installing the script
prtodir
.The Makefile installs this with
However if the install program for
$(INSTALL_PROGRAM)
is set to strip binaries (which is the case for pkgsrc), this fails because it isn't a binary it can recognize (because it's a script).The patch is simple:
Looking at the script itself: it starts with
Pkgsrc forbids the use of
env
as an interpreter (protential security issues, I guess), but combined with an absolute path its path-searching facility goes unused, and the whole thing can simply be replaced by a plain