Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F111385867
D11934.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
578 B
Referenced Files
None
Subscribers
None
D11934.diff
View Options
Index: head/Mk/bsd.port.mk
===================================================================
--- head/Mk/bsd.port.mk
+++ head/Mk/bsd.port.mk
@@ -1061,6 +1061,11 @@
_PORTS_DIRECTORIES+= ${PKG_DBDIR} ${PREFIX} ${WRKDIR} ${EXTRACT_WRKDIR} \
${STAGEDIR}${PREFIX} ${WRKDIR}/pkg
+# Ensure .CURDIR contains an absolute path without a trailing slash. Failed
+# builds can occur when PORTSDIR is a symbolic link, or with something like
+# make -C /usr/ports/category/port/.
+.CURDIR:= ${.CURDIR:tA}
+
# make sure bmake treats -V as expected
.MAKE.EXPAND_VARIABLES= yes
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Tue, Mar 4, 3:20 AM (13 h, 7 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
16960364
Default Alt Text
D11934.diff (578 B)
Attached To
Mode
D11934: Ensure .CURDIR contains the absolute pathname without a trailing slash, otherwise a port may fail to build
Attached
Detach File
Event Timeline
Log In to Comment