Date: Thu, 28 Aug 2003 13:36:51 +0100 From: Mike Bristow <mike@urgle.com> To: freebsd-ports@freebsd.org Subject: [PATCH] bug in bsd.port.mk Message-ID: <1062074210.8256.7.camel@singsing.eng.demon.net>
next in thread | raw e-mail | index | archive | help
--=-gjarfslebgS9kPH3EFQ5 Content-Type: text/plain Content-Transfer-Encoding: 7bit There is a small bug in bsd.port.mk, that only affects you if you have WRKDIRPREFIX set. Basically, when installing the port, PKG_ARGS seems to be used when the current working directory is ${WRKDIRPREFIX}/${.CURDIR}, which means that "make package-depends" is run from that directory. Given that there's no Makefile there, this isn't ideal :) The attached patch to bsd.port.mk cures the problem for me - can anyone spot a problem with it before I send-pr? Cheers, Mike --=-gjarfslebgS9kPH3EFQ5 Content-Disposition: attachment; filename=bsd.port.mk.patch.txt Content-Type: text/plain; name=bsd.port.mk.patch.txt; charset=ISO-8859-15 Content-Transfer-Encoding: base64 LS0tIGJzZC5wb3J0Lm1rLm9yaWcJVGh1IEF1ZyAyOCAxMzoyMTo0MiAyMDAzDQorKysgYnNkLnBv cnQubWsJVGh1IEF1ZyAyOCAxMzoxODozOSAyMDAzDQpAQCAtMTcyMiw3ICsxNzIyLDcgQEANCiBE SVNBQkxFX0NPTkZMSUNUUz0gICAgIFlFUw0KIC5lbmRpZg0KIC5pZiAhZGVmaW5lZChQS0dfQVJH UykNCi1QS0dfQVJHUz0JCS12IC1jIC0ke0NPTU1FTlQ6UX0gLWQgJHtERVNDUn0gLWYgJHtUTVBQ TElTVH0gLXAgJHtQUkVGSVh9IC1QICJgJHtNQUtFfSBwYWNrYWdlLWRlcGVuZHMgfCAke0dSRVB9 IC12IC1FICR7UEtHX0lHTk9SRV9ERVBFTkRTfSB8IHNvcnQgLXVgIiAke0VYVFJBX1BLR19BUkdT fQ0KK1BLR19BUkdTPQkJLXYgLWMgLSR7Q09NTUVOVDpRfSAtZCAke0RFU0NSfSAtZiAke1RNUFBM SVNUfSAtcCAke1BSRUZJWH0gLVAgImAke01BS0V9IC1DICR7LkNVUkRJUn0gcGFja2FnZS1kZXBl bmRzIHwgJHtHUkVQfSAtdiAtRSAke1BLR19JR05PUkVfREVQRU5EU30gfCBzb3J0IC11YCIgJHtF WFRSQV9QS0dfQVJHU30NCiAuaWYgZXhpc3RzKCR7UEtHSU5TVEFMTH0pDQogUEtHX0FSR1MrPQkJ LWkgJHtQS0dJTlNUQUxMfQ0KIC5lbmRpZg0K --=-gjarfslebgS9kPH3EFQ5--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1062074210.8256.7.camel>