Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 14 Feb 2006 23:43:06 -0600
From:      Paul Schmehl <pauls@utdallas.edu>
To:        eol1@yahoo.com, ports@freebsd.org
Subject:   Re: Oddity with SUB_FILES= and pkg-message.in
Message-ID:  <0B7B9B99B91EC6F8DF11AE39@Paul-Schmehls-Computer.local>
In-Reply-To: <20060215053236.52921.qmail@web51908.mail.yahoo.com>
References:  <20060215053236.52921.qmail@web51908.mail.yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
--On February 14, 2006 9:32:36 PM -0800 Peter Thoenen <eol1@yahoo.com> 
wrote:

> 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.
>
All my ports use SUB_FILES and pkg-message.in in $FILESDIR, and they work 
fine.  Look at security/sancp, security/barnyard or x11-toolkits/iwidgets, 
for example.

Paul Schmehl (pauls@utdallas.edu)
Adjunct Information Security Officer
University of Texas at Dallas
AVIEN Founding Member
http://www.utdallas.edu/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?0B7B9B99B91EC6F8DF11AE39>