Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 30 Oct 2013 22:20:01 GMT
From:      Kevin Rauwolf <sweetpea-freebsd@tentacle.net>
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   Re: ports/183500: Some ports fail to install with error work/.metadir/+INSTALL: No such file or directory
Message-ID:  <201310302220.r9UMK1Tb022429@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR ports/183500; it has been noted by GNATS.

From: Kevin Rauwolf <sweetpea-freebsd@tentacle.net>
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/183500: Some ports fail to install with error
 work/.metadir/+INSTALL: No such file or directory
Date: Wed, 30 Oct 2013 14:33:18 -0700

 Ah, I see what’s going on… the cp commands in bsd.pkgng.mk have been changed to cat, but there’s no redirect to create +INSTALL.
 
 I’m not sure whether +INSTALL should be overwritten or appended to, but I’ve included the following patch assuming overwrite:
 
 --- bsd.pkgng.mk.old	2013-10-30 14:28:30.065727917 -0700
 +++ bsd.pkgng.mk	2013-10-30 14:29:22.441694094 -0700
 @@ -81,7 +81,7 @@
  .endfor
  .undef opt
  	@${ECHO_CMD} "}" >> ${MANIFESTF}
 -	@[ -f ${PKGINSTALL} ] && ${CAT} ${PKGINSTALL} ${METADIR}/+INSTALL; \
 +	@[ -f ${PKGINSTALL} ] && ${CAT} ${PKGINSTALL} > ${METADIR}/+INSTALL; \
  	${RM} -f ${METADIR}/+PRE_INSTALL ; \
  	for a in ${PKGPREINSTALL}; do \
  		[ -f $$a ] && ${CAT} $$a >> ${METADIR}/+PRE_INSTALL ; \



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