Date: Sun, 23 Aug 1998 00:43:33 -0700 (PDT) From: asami@FreeBSD.org (Satoshi Asami) To: ac199@hwcn.org Cc: vanilla@FreeBSD.org, cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: ports/devel/p5-Term-Query p5-Term-Query-2.0.tgz Message-ID: <199808230743.AAA20430@silvia.hip.berkeley.edu> In-Reply-To: <Pine.BSF.3.96.980822214243.2402A-100000@localhost> (message from Tim Vanderhoek on Sat, 22 Aug 1998 21:45:08 -0400 (EDT))
next in thread | previous in thread | raw e-mail | index | archive | help
* Well, at least it was small... :)
And amazing nobody noticed it for 3 months. ;)
* Also, a general warning: If you are importing a port that
* defines NO_WKRDIR, you must now also remember to delete the file
* PLIST.mktmp before importing.
Are you sure? :)
===
.if !target(clean)
clean: pre-clean
.if !defined(NOCLEANDEPENDS)
@${MAKE} clean-depends
.endif
@${ECHO_MSG} "===> Cleaning for ${PKGNAME}"
.if !defined(NO_WRKDIR)
@if [ -d ${WRKDIR} ]; then \
if [ -w ${WRKDIR} ]; then \
${RM} -rf ${WRKDIR}; \
else \
${ECHO_MSG} "===> ${WRKDIR} not writable, skipping"; \
fi; \
fi
.else
@${RM} -f ${WRKDIR}/.*_done ${TMPPLIST}
.endif
.endif
===
Speaking of NO_WRKDIR, I'm thinking about removing it. I just don't
feel good writing to the current directory.
What do you guys think about changing bsd.port.mk to always create
${WRKDIR} (${.CURDIR}/work) in extract? Even if it's only for
cookies, I think that's much cleaner.
Satoshi
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199808230743.AAA20430>
