Oddity with SUB_FILES= and pkg-message.in

Peter Thoenen eol1 at yahoo.com
Tue Feb 14 21:32:37 PST 2006


Any reason SUB_FILES= pkg-message doesn't work? (where pkg-message.in
is in ${FILESDIR})

Kicks an error "unterminated newline".  Thought it was just me but
noticed not a single port with pkg-message.in mods it via SUB_FILES=
... they all do the following hack:

post-patch:
@${SED} -e "s|%%PREFIX%%|${PREFIX}|g" \
            ${FILESDIR}/pkg-message.in > ${PKGMESSAGE}

Seems a undeeded hack as SUB_FILES should handle.


More information about the freebsd-ports mailing list