Page MenuHomeFreeBSD

D47850.id147323.diff
No OneTemporary

D47850.id147323.diff

diff --git a/Mk/bsd.port.mk b/Mk/bsd.port.mk
--- a/Mk/bsd.port.mk
+++ b/Mk/bsd.port.mk
@@ -1615,9 +1615,12 @@
PKG_NOTE_flavor= ${FLAVOR}
. endif
+# GIT_CEILING_DIRECTORIES prevents ports that try to find their version
+# using git from finding the ports tree's git repository.
WRK_ENV+= HOME=${WRKDIR} \
MACHINE_ARCH=${MACHINE_ARCH} \
PWD="$${PWD}" \
+ GIT_CEILING_DIRECTORIES=${WRKDIR:H} \
__MAKE_CONF=${NONEXISTENT}
. for e in OSVERSION PATH TERM TMPDIR \
UNAME_b UNAME_i UNAME_K UNAME_m UNAME_n \

File Metadata

Mime Type
text/plain
Expires
Wed, Dec 4, 6:08 AM (3 h, 50 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
14985032
Default Alt Text
D47850.id147323.diff (537 B)

Event Timeline