ports/169039: [bsd.port.mk] Fix sanity-config error when using WRKDIRPREFIX
Bryan Drewery
bryan at shatow.net
Wed Jun 13 15:50:12 UTC 2012
The following reply was made to PR ports/169039; it has been noted by GNATS.
From: Bryan Drewery <bryan at shatow.net>
To: bug-followup at FreeBSD.org
Cc: Baptiste Daroussin <bapt at FreeBSD.org>
Subject: Re: ports/169039: [bsd.port.mk] Fix sanity-config error when using
WRKDIRPREFIX
Date: Wed, 13 Jun 2012 10:46:23 -0500
This is a multi-part message in MIME format.
--------------000308080004090702070809
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Attached is proper patch.
--------------000308080004090702070809
Content-Type: text/plain; charset=windows-1252;
name="patch-sanity-config.txt"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
filename="patch-sanity-config.txt"
--- bsd.port.mk.orig 2012-06-13 10:26:44.000000000 -0500
+++ bsd.port.mk 2012-06-13 10:37:21.000000000 -0500
@@ -6010,7 +6010,7 @@
[Nn]|[Nn][Oo]) \
exit 0; \
esac; \
- ${MAKE} config
+ cd ${.CURDIR} && ${MAKE} config;
.endif
.endif # sanity-config
@@ -6101,7 +6101,7 @@
${CAT} $${TMPOPTIONSFILE} > ${OPTIONSFILE}; \
fi; \
${RM} -f $${TMPOPTIONSFILE}
- @${MAKE} sanity-config
+ @cd ${.CURDIR} && ${MAKE} sanity-config;
.endif
.endif # config
--------------000308080004090702070809--
More information about the freebsd-ports-bugs
mailing list