diff options
author | bapt <bapt@FreeBSD.org> | 2012-06-15 20:04:52 +0800 |
---|---|---|
committer | bapt <bapt@FreeBSD.org> | 2012-06-15 20:04:52 +0800 |
commit | f6e9fd54ec0556f71b36689e6e7bf7a5a3badc3b (patch) | |
tree | f18bbe7d5e040fd37f8e93e55c9d686cc882252e /Mk | |
parent | e0ee804c819224e9f56d5ffa59edea558255c803 (diff) | |
download | freebsd-ports-gnome-f6e9fd54ec0556f71b36689e6e7bf7a5a3badc3b.tar.gz freebsd-ports-gnome-f6e9fd54ec0556f71b36689e6e7bf7a5a3badc3b.tar.zst freebsd-ports-gnome-f6e9fd54ec0556f71b36689e6e7bf7a5a3badc3b.zip |
Fix sanity-config error when using WRKDIRPREFIX [1]
While apply the same fix to fetch-urlall-list and fetch-url-list [2]
PR: ports/169039 [1]
Reported by: avg@ [1], Jan Beich <jbeich@tormail.org> [2]
exp-run: pointyhat-west (bapt)
Diffstat (limited to 'Mk')
-rw-r--r-- | Mk/bsd.port.mk | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Mk/bsd.port.mk b/Mk/bsd.port.mk index 470a2121b2d3..a974d9999074 100644 --- a/Mk/bsd.port.mk +++ b/Mk/bsd.port.mk @@ -4728,12 +4728,12 @@ fetch-url-list-int: .if !target(fetch-urlall-list) fetch-urlall-list: - @LISTALL=yes ${MAKE} fetch-url-list-int + @cd ${.CURDIR} && LISTALL=yes ${MAKE} fetch-url-list-int .endif .if !target(fetch-url-list) fetch-url-list: - @${MAKE} fetch-url-list-int + @cd ${.CURDIR} && ${MAKE} fetch-url-list-int .endif # Generates patches. @@ -6010,7 +6010,7 @@ sanity-config: _check-config [Nn]|[Nn][Oo]) \ exit 0; \ esac; \ - ${MAKE} config + cd ${.CURDIR} && ${MAKE} config .endif .endif # sanity-config @@ -6101,7 +6101,7 @@ config: pre-config ${CAT} $${TMPOPTIONSFILE} > ${OPTIONSFILE}; \ fi; \ ${RM} -f $${TMPOPTIONSFILE} - @${MAKE} sanity-config + @cd ${.CURDIR} && ${MAKE} sanity-config .endif .endif # config |