[Bug 231277] dns/ddclient: perl SHEBANG wrong

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Tue Sep 11 03:01:28 UTC 2018


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=231277

--- Comment #7 from Nathan <ndowens at yahoo.com> ---
Actually looking at it, wouldn't need shebang fix. 
Get rid of:
  @${GREP} -lR '/usr' ${WRKSRC} | ${XARGS} ${REINPLACE_CMD} -e \
                        's|/usr|${PREFIX}|g'

do 
${REINPLACE_CMD} -e '1d ; s,/usr/bin,${PREFIX}/bin,g' ${WRKSRC}/ddclient

This will delete first #! leaving the correct path we need in FreeBSD, 2nd part
fixes rest of /usr/bin in file

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-ports-bugs mailing list