Empty @cwd in some ports

2013-03-20 Thread Daniel O'Connor
I noticed I have a lot of ports which have an empty @cwd line in the +CONTENTS 
file (even after reinstalling).

For example a2ps..
@comment PKG_FORMAT_REVISION:1.1
@name a2ps-a4-4.13b_4
@comment ORIGIN:print/a2ps-a4
@cwd /usr/local
@pkgdep xineramaproto-1.2.1
@comment DEPORIGIN:x11/xineramaproto
snip
@exec /sbin/ldconfig -m /usr/local/lib
@unexec /sbin/ldconfig -R
@comment OPTIONS:+NLS -I18N +EMACS
@cwd 
@dirrm share/licenses/a2ps-a4-4.13b_4

And curl..
@comment PKG_FORMAT_REVISION:1.1
@name curl-7.24.0_2
@comment ORIGIN:ftp/curl
@cwd /usr/local
@pkgdep ca_root_nss-3.14.3
@comment DEPORIGIN:security/ca_root_nss
snip
@comment OPTIONS:-CARES -CURL_DEBUG -GNUTLS +IPV6 -KERBEROS4 -LDAP -LDAPS 
-LIBIDN -LIBSSH2 -NTLM +OPENSSL +CA_BUNDLE +PROXY -RTMP
@comment OPTIONS:-TRACKMEMORY
@cwd 
@dirrm share/licenses/curl-7.24.0_2
@unexec rmdir %D/share/licenses 2/dev/null || true

This seems pretty broken but I am not sure what causes it :(
[midget 21:09] /var/db/pkg egrep -l '@cwd $' */+CONTENTS| wc -l
 300

--
Daniel O'Connor software and network engineer
for Genesis Software - http://www.gsoft.com.au
The nice thing about standards is that there
are so many of them to choose from.
  -- Andrew Tanenbaum
GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C






___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to freebsd-stable-unsubscr...@freebsd.org


Re: Empty @cwd in some ports

2013-03-20 Thread Baptiste Daroussin
On Wed, Mar 20, 2013 at 09:13:08PM +1030, Daniel O'Connor wrote:
 I noticed I have a lot of ports which have an empty @cwd line in the 
 +CONTENTS file (even after reinstalling).
 
 For example a2ps..
 @comment PKG_FORMAT_REVISION:1.1
 @name a2ps-a4-4.13b_4
 @comment ORIGIN:print/a2ps-a4
 @cwd /usr/local
 @pkgdep xineramaproto-1.2.1
 @comment DEPORIGIN:x11/xineramaproto
 snip
 @exec /sbin/ldconfig -m /usr/local/lib
 @unexec /sbin/ldconfig -R
 @comment OPTIONS:+NLS -I18N +EMACS
 @cwd 
 @dirrm share/licenses/a2ps-a4-4.13b_4
 
 And curl..
 @comment PKG_FORMAT_REVISION:1.1
 @name curl-7.24.0_2
 @comment ORIGIN:ftp/curl
 @cwd /usr/local
 @pkgdep ca_root_nss-3.14.3
 @comment DEPORIGIN:security/ca_root_nss
 snip
 @comment OPTIONS:-CARES -CURL_DEBUG -GNUTLS +IPV6 -KERBEROS4 -LDAP -LDAPS 
 -LIBIDN -LIBSSH2 -NTLM +OPENSSL +CA_BUNDLE +PROXY -RTMP
 @comment OPTIONS:-TRACKMEMORY
 @cwd 
 @dirrm share/licenses/curl-7.24.0_2
 @unexec rmdir %D/share/licenses 2/dev/null || true
 
 This seems pretty broken but I am not sure what causes it :(
 [midget 21:09] /var/db/pkg egrep -l '@cwd $' */+CONTENTS| wc -l
  300
 
 --
 Daniel O'Connor software and network engineer
 for Genesis Software - http://www.gsoft.com.au
 The nice thing about standards is that there
 are so many of them to choose from.
   -- Andrew Tanenbaum
 GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C
 
 
 
 
 
 
 ___
 freebsd-stable@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-stable
 To unsubscribe, send any mail to freebsd-stable-unsubscr...@freebsd.org

Empty cwd is normal, it is equivalent to @cwd %%PREFIX%%

regards,
Bapt


pgpBq5HRWAoxm.pgp
Description: PGP signature


Re: Empty @cwd in some ports

2013-03-20 Thread Daniel O'Connor

On 20/03/2013, at 22:06, Baptiste Daroussin b...@freebsd.org wrote:
 Empty cwd is normal, it is equivalent to @cwd %%PREFIX%%


OK thanks.

--
Daniel O'Connor software and network engineer
for Genesis Software - http://www.gsoft.com.au
The nice thing about standards is that there
are so many of them to choose from.
  -- Andrew Tanenbaum
GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C






___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to freebsd-stable-unsubscr...@freebsd.org