Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F149593176
D37500.1790554854.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
968 B
Referenced Files
None
Subscribers
None
D37500.1790554854.diff
View Options
Index: Mk/bsd.port.mk
===================================================================
--- Mk/bsd.port.mk
+++ Mk/bsd.port.mk
@@ -1053,6 +1053,11 @@
# make -C /usr/ports/category/port/.
.CURDIR:= ${.CURDIR:tA}
+# Ensure .CURDIR doesn't contain a colon, which breaks makefile targets
+.if ${.CURDIR:S/:/\:/g} != ${.CURDIR}
+.error The current directory path contains ':', that are not supported
+.endif
+
# make sure bmake treats -V as expected
.MAKE.EXPAND_VARIABLES= yes
Index: Mk/bsd.port.subdir.mk
===================================================================
--- Mk/bsd.port.subdir.mk
+++ Mk/bsd.port.subdir.mk
@@ -51,6 +51,11 @@
# make -C /usr/ports/category/port/.
.CURDIR:= ${.CURDIR:tA}
+# Ensure .CURDIR doesn't contain a colon, which breaks makefile targets
+.if ${.CURDIR:S/:/\:/g} != ${.CURDIR}
+.error The current directory path contains ':', that are not supported
+.endif
+
.include "${PORTSDIR}/Mk/bsd.commands.mk"
.MAIN: all
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Mon, Sep 28, 12:20 AM (1 h, 20 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
29946307
Default Alt Text
D37500.1790554854.diff (968 B)
Attached To
Mode
D37500: Add check to detect colon in .CURDIR
Attached
Detach File
Event Timeline
Log In to Comment